btcpayserver/BTCPayServer/Views/Wallets/WalletSend.cshtml

104 lines
5.1 KiB
Plaintext
Raw Normal View History

@model WalletSendModel
2018-02-12 19:27:36 +01:00
@{
Layout = "../Shared/_NavLayout.cshtml";
ViewData["Title"] = "Manage wallet";
2018-07-26 15:32:24 +02:00
ViewData.SetActivePageAndTitle(WalletsNavPages.Send);
2018-02-12 19:27:36 +01:00
}
<h4>@ViewData["Title"]</h4>
2018-02-12 19:27:36 +01:00
<div class="row">
<div class="col-md-10">
<p>
Send funds to a destination address.
2018-02-12 19:27:36 +01:00
</p>
</div>
</div>
2018-03-23 08:24:57 +01:00
<div class="row">
<div class="col-md-6">
<form method="post">
<input type="hidden" asp-for="Divisibility" />
<input type="hidden" asp-for="Fiat" />
<input type="hidden" asp-for="Rate" />
<input type="hidden" asp-for="CurrentBalance" />
<input type="hidden" asp-for="RecommendedSatoshiPerByte" />
<input type="hidden" asp-for="CryptoCode" />
2018-03-23 08:24:57 +01:00
<div class="form-group">
<label asp-for="Destination"></label>
<input asp-for="Destination" class="form-control" />
<span asp-validation-for="Destination" class="text-danger"></span>
2018-03-23 08:24:57 +01:00
</div>
<div class="form-group">
<label asp-for="Amount"></label>
2018-07-26 16:23:28 +02:00
<div class="input-group">
2019-01-17 15:37:08 +01:00
<input asp-for="Amount" asp-format="{0}" class="form-control" onkeyup='updateFiatValue();' />
2018-07-26 16:23:28 +02:00
<div class="input-group-prepend">
<span class="input-group-text text-muted" style="display:none;" id="fiatValue"></span>
</div>
</div>
<span asp-validation-for="Amount" class="text-danger"></span>
<p class="form-text text-muted crypto-info">
Your current balance is <a id="crypto-balance-link" href="#"><span>@Model.CurrentBalance</span></a> <span>@Model.CryptoCode</span>.
2018-03-23 08:24:57 +01:00
</p>
</div>
<div class="form-group">
<label asp-for="FeeSatoshiPerByte"></label>
<input asp-for="FeeSatoshiPerByte" class="form-control" />
2018-03-23 08:24:57 +01:00
<span id="FeeRate-Error" class="text-danger"></span>
<p class="form-text text-muted crypto-info">
The recommended value is <a id="crypto-fee-link" href="#"><span>@Model.RecommendedSatoshiPerByte</span></a> satoshi per byte.
2018-03-23 08:24:57 +01:00
</p>
</div>
<div class="form-group">
<label asp-for="SubstractFees"></label>
<input asp-for="SubstractFees" class="form-check" />
2018-03-23 08:24:57 +01:00
</div>
<div class="card">
<div class="card-header" id="accordian-dev-info-notification-header">
<h2 class="mb-0">
<button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#accordian-advanced" aria-expanded="false" aria-controls="accordian-advanced">
Advanced settings
</button>
</h2>
</div>
<div id="accordian-advanced" class="collapse" aria-labelledby="accordian-advanced-header" data-parent="#accordian-advanced">
<div class="card-body">
<div class="form-group">
<label asp-for="NoChange"></label>
<a href="https://docs.btcpayserver.org/features/wallet#make-sure-no-change-utxo-is-created-expert-mode" target="_blank"><span class="fa fa-question-circle-o" title="More information..."></span></a>
<input asp-for="NoChange" class="form-check" />
</div>
@if (Model.SupportRBF)
{
<div class="form-group">
<label asp-for="DisableRBF"></label>
<a href="https://bitcoin.org/en/glossary/rbf" target="_blank"><span class="fa fa-question-circle-o" title="More information..."></span></a>
<input asp-for="DisableRBF" class="form-check" />
</div>
}
</div>
</div>
</div>
<div class="form-group">
2019-05-08 07:39:37 +02:00
<div class="dropdown" style="margin-top:16px;">
<button class="btn btn-primary dropdown-toggle" type="button" id="SendMenu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Sign with...
</button>
<div class="dropdown-menu" aria-labelledby="SendMenu">
<button name="command" type="submit" class="dropdown-item" value="ledger">... your Ledger Wallet device</button>
<button name="command" type="submit" class="dropdown-item" value="save-psbt">... a wallet supporting PSBT</button>
2019-05-10 17:29:29 +02:00
<button name="command" type="submit" class="dropdown-item" value="analyze-psbt">... analyze the PSBT</button>
2019-05-08 07:39:37 +02:00
</div>
</div>
</div>
2018-03-23 08:24:57 +01:00
</form>
</div>
2018-02-12 19:27:36 +01:00
</div>
2018-07-26 16:23:28 +02:00
@section Scripts
{
<script src="~/js/WalletSend.js" type="text/javascript" defer="defer"></script>
2018-07-26 16:23:28 +02:00
}