btcpayserver/BTCPayServer/Views/Wallets/WalletSend.cshtml

82 lines
3.4 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>
@if (Model.AdvancedMode)
{
<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>
}
<button name="command" type="submit" class="btn btn-primary">Confirm</button>
@if (Model.AdvancedMode)
{
<button name="command" type="submit" value="noob" class="btn btn-secondary">Use noob mode</button>
}
else
{
<button name="command" type="submit" value="expert" class="btn btn-secondary">Use expert mode</button>
}
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
}