mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-27 16:44:53 +01:00
* Improve and unify page headers * Altcoin test fixes * Update BTCPayServer/Views/Apps/UpdateCrowdfund.cshtml Co-authored-by: Andrew Camilleri <evilkukka@gmail.com> * Update BTCPayServer/Views/Apps/UpdateCrowdfund.cshtml Co-authored-by: Andrew Camilleri <evilkukka@gmail.com> * Fix missing store name in pairing view * Fix CanUsePairing test * Bump header navigation font size * Use partial tag instead of Html.PartialAsync in views As suggested by @nicolasdorier. These are equivalent, see details [here](https://docs.microsoft.com/en-us/aspnet/core/mvc/views/partial?view=aspnetcore-3.1#partial-tag-helper). * Fix docs link As in #2432. * Update BTCPayServer/Views/Wallets/SignWithSeed.cshtml Co-authored-by: britttttk <39231115+britttttk@users.noreply.github.com> * Update BTCPayServer/Views/Wallets/WalletSendVault.cshtml Co-authored-by: britttttk <39231115+britttttk@users.noreply.github.com> * Update BTCPayServer/Views/Wallets/WalletTransactions.cshtml Co-authored-by: britttttk <39231115+britttttk@users.noreply.github.com> Co-authored-by: Andrew Camilleri <evilkukka@gmail.com> Co-authored-by: britttttk <39231115+britttttk@users.noreply.github.com>
37 lines
1.9 KiB
Text
37 lines
1.9 KiB
Text
@model SignWithSeedViewModel
|
|
@{
|
|
Layout = "../Shared/_NavLayout.cshtml";
|
|
ViewData.SetActivePageAndTitle(WalletsNavPages.Send, "Sign PSBT with an HD private key or mnemonic seed", Context.GetStoreData().StoreName);
|
|
}
|
|
|
|
<div class="row">
|
|
<div class="col-md-10">
|
|
<h4 class="mb-3">@ViewData["PageTitle"]</h4>
|
|
|
|
<div class="alert alert-warning alert-dismissible my-4" role="alert">
|
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
|
|
<p>Before you proceed, please understand the following:</p>
|
|
<ol>
|
|
<li>Make sure this BTCPay Server instance <b>belongs to you</b>.</li>
|
|
<li>Use <b>Incognito mode or the Tor Browser</b> to ensure no malicious browser plugins are running that could steal your key.</li>
|
|
</ol>
|
|
<p class="mb-0">Otherwise you are exposing yourself to malicious site owners, or to malicious plugins installed in your browser.</p>
|
|
</div>
|
|
|
|
<div asp-validation-summary="All" class="text-danger"></div>
|
|
<form method="post" asp-action="SignWithSeed" asp-route-walletId="@Context.GetRouteValue("walletId")">
|
|
<partial name="SigningContext" for="SigningContext"/>
|
|
<div class="form-group">
|
|
<label asp-for="SeedOrKey"></label>
|
|
<input asp-for="SeedOrKey" class="form-control" autocomplete="off" autocorrect="off" autocapitalize="off"/>
|
|
<span asp-validation-for="SeedOrKey" class="text-danger"></span>
|
|
</div>
|
|
<div class="form-group">
|
|
<label asp-for="Passphrase"></label>
|
|
<input asp-for="Passphrase" class="form-control"/>
|
|
<span asp-validation-for="Passphrase" class="text-danger"></span>
|
|
</div>
|
|
<button type="submit" class="btn btn-primary">Sign</button>
|
|
</form>
|
|
</div>
|
|
</div>
|