2019-05-14 16:03:48 +00:00
|
|
|
@model SignWithSeedViewModel
|
|
|
|
@{
|
|
|
|
Layout = "../Shared/_NavLayout.cshtml";
|
2021-04-08 15:32:42 +02:00
|
|
|
ViewData.SetActivePageAndTitle(WalletsNavPages.Send, "Sign PSBT with an HD private key or mnemonic seed", Context.GetStoreData().StoreName);
|
2019-05-14 16:03:48 +00:00
|
|
|
}
|
|
|
|
|
2019-05-17 14:42:28 +09:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-10">
|
2021-04-08 15:32:42 +02:00
|
|
|
<h4 class="mb-3">@ViewData["PageTitle"]</h4>
|
|
|
|
|
|
|
|
<div class="alert alert-warning alert-dismissible my-4" role="alert">
|
2021-05-19 04:39:27 +02:00
|
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close">
|
|
|
|
<vc:icon symbol="close" />
|
|
|
|
</button>
|
2021-04-08 15:32:42 +02:00
|
|
|
<p>Before you proceed, please understand the following:</p>
|
2019-05-17 14:42:28 +09:00
|
|
|
<ol>
|
|
|
|
<li>Make sure this BTCPay Server instance <b>belongs to you</b>.</li>
|
2021-04-08 15:32:42 +02:00
|
|
|
<li>Use <b>Incognito mode or the Tor Browser</b> to ensure no malicious browser plugins are running that could steal your key.</li>
|
2019-05-17 14:42:28 +09:00
|
|
|
</ol>
|
2021-04-08 15:32:42 +02:00
|
|
|
<p class="mb-0">Otherwise you are exposing yourself to malicious site owners, or to malicious plugins installed in your browser.</p>
|
2019-05-17 14:42:28 +09:00
|
|
|
</div>
|
2021-04-08 15:32:42 +02:00
|
|
|
|
2019-05-14 16:03:48 +00:00
|
|
|
<div asp-validation-summary="All" class="text-danger"></div>
|
2021-04-08 15:32:42 +02:00
|
|
|
<form method="post" asp-action="SignWithSeed" asp-route-walletId="@Context.GetRouteValue("walletId")">
|
|
|
|
<partial name="SigningContext" for="SigningContext"/>
|
2019-05-14 16:03:48 +00:00
|
|
|
<div class="form-group">
|
2021-05-19 04:39:27 +02:00
|
|
|
<label asp-for="SeedOrKey" class="form-label"></label>
|
2021-03-16 16:05:16 +02:00
|
|
|
<input asp-for="SeedOrKey" class="form-control" autocomplete="off" autocorrect="off" autocapitalize="off"/>
|
2019-05-14 16:03:48 +00:00
|
|
|
<span asp-validation-for="SeedOrKey" class="text-danger"></span>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2021-05-19 04:39:27 +02:00
|
|
|
<label asp-for="Passphrase" class="form-label"></label>
|
2021-04-08 15:32:42 +02:00
|
|
|
<input asp-for="Passphrase" class="form-control"/>
|
2019-05-14 16:03:48 +00:00
|
|
|
<span asp-validation-for="Passphrase" class="text-danger"></span>
|
|
|
|
</div>
|
|
|
|
<button type="submit" class="btn btn-primary">Sign</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|