2018-10-31 16:19:25 +01:00
|
|
|
@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-10-31 16:19:25 +01:00
|
|
|
|
2018-02-12 19:27:36 +01:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-10">
|
|
|
|
<p>
|
2018-10-31 16:19:25 +01:00
|
|
|
Send funds to a destination address.
|
2018-02-12 19:27:36 +01:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-10-31 16:19:25 +01:00
|
|
|
|
2018-03-23 08:24:57 +01:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-6">
|
2018-10-31 16:19:25 +01:00
|
|
|
<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">
|
2018-10-31 16:19:25 +01:00
|
|
|
<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">
|
2018-10-31 16:19:25 +01:00
|
|
|
<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>
|
2018-10-31 16:19:25 +01:00
|
|
|
<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">
|
2018-10-31 16:19:25 +01:00
|
|
|
<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>
|
2018-10-31 16:19:25 +01:00
|
|
|
<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">
|
2018-10-31 16:19:25 +01:00
|
|
|
<label asp-for="SubstractFees"></label>
|
|
|
|
<input asp-for="SubstractFees" class="form-check" />
|
2018-03-23 08:24:57 +01:00
|
|
|
</div>
|
2019-05-08 05:34:33 +02:00
|
|
|
|
|
|
|
<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>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-01-15 15:50:45 +01:00
|
|
|
<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>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-01-15 15:50:45 +01:00
|
|
|
</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
|
2018-10-31 16:19:25 +01:00
|
|
|
{
|
|
|
|
<script src="~/js/WalletSend.js" type="text/javascript" defer="defer"></script>
|
2018-07-26 16:23:28 +02:00
|
|
|
}
|