2022-07-04 06:20:08 +02:00
|
|
|
@using BTCPayServer.Controllers
|
2022-02-17 17:58:56 +09:00
|
|
|
@model WalletPSBTCombineViewModel
|
2019-05-12 13:13:52 +09:00
|
|
|
@{
|
2021-12-31 08:36:38 +01:00
|
|
|
var walletId = Context.GetRouteValue("walletId").ToString();
|
2025-02-07 16:13:44 +09:00
|
|
|
Model.ReturnUrl ??= Url.WalletTransactions(walletId);
|
2021-07-27 17:01:00 +02:00
|
|
|
Layout = "_LayoutWizard";
|
2024-10-25 15:48:53 +02:00
|
|
|
ViewData.SetActivePage(WalletsNavPages.PSBT, StringLocalizer["Combine PSBT"], walletId);
|
2019-05-12 13:13:52 +09:00
|
|
|
}
|
|
|
|
|
2021-07-27 17:01:00 +02:00
|
|
|
@section Navbar {
|
2025-02-07 16:13:44 +09:00
|
|
|
<partial name="_BackAndReturn" model="Model" />
|
2021-07-27 17:01:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
<header class="text-center">
|
2024-10-17 15:51:40 +02:00
|
|
|
<h1 text-translate="true">@ViewData["Title"]</h1>
|
2021-07-27 17:01:00 +02:00
|
|
|
</header>
|
2021-04-08 15:32:42 +02:00
|
|
|
|
2022-02-17 17:58:56 +09:00
|
|
|
<form class="form-group" method="post" asp-action="WalletPSBTCombine" asp-route-walletId="@Context.GetRouteValue("walletId")" enctype="multipart/form-data">
|
2021-07-27 17:01:00 +02:00
|
|
|
<input type="hidden" asp-for="OtherPSBT"/>
|
2022-07-04 06:20:08 +02:00
|
|
|
<input type="hidden" asp-for="ReturnUrl" />
|
|
|
|
<input type="hidden" asp-for="BackUrl" />
|
2021-07-27 17:01:00 +02:00
|
|
|
<div class="form-group">
|
|
|
|
<label asp-for="PSBT" class="form-label"></label>
|
|
|
|
<textarea class="form-control" rows="5" asp-for="PSBT"></textarea>
|
|
|
|
<span asp-validation-for="PSBT" class="text-danger"></span>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label asp-for="UploadedPSBTFile" class="form-label"></label>
|
|
|
|
<input type="file" class="form-control" asp-for="UploadedPSBTFile">
|
2019-05-12 13:13:52 +09:00
|
|
|
</div>
|
2024-10-17 15:51:40 +02:00
|
|
|
<button id="Submit" type="submit" class="btn btn-primary" text-translate="true">Combine</button>
|
2021-07-27 17:01:00 +02:00
|
|
|
</form>
|