2023-04-26 18:24:46 +09:00
|
|
|
@using BTCPayServer.Abstractions.Extensions
|
2022-09-20 10:05:55 +02:00
|
|
|
@using BTCPayServer.Views.Stores
|
2022-04-24 05:19:34 +02:00
|
|
|
@model BTCPayServer.PayoutProcessors.OnChain.UIOnChainAutomatedPayoutProcessorsController.OnChainTransferViewModel
|
|
|
|
@{
|
|
|
|
ViewData["NavPartialName"] = "../UIStores/_Nav";
|
|
|
|
Layout = "../Shared/_NavLayout.cshtml";
|
2022-09-20 10:05:55 +02:00
|
|
|
ViewData.SetActivePage(StoreNavPages.PayoutProcessors, "On-Chain Payout Processor", Context.GetStoreData().Id);
|
2022-04-24 05:19:34 +02:00
|
|
|
}
|
|
|
|
<div class="row">
|
2022-05-02 15:07:48 +02:00
|
|
|
<div class="col-xl-8 col-xxl-constrain">
|
|
|
|
<div class="d-flex align-items-center justify-content-between mb-3">
|
|
|
|
<h3 class="mb-0">@ViewData["Title"]</h3>
|
|
|
|
</div>
|
|
|
|
<p>Set a schedule for automated On-Chain Bitcoin Payouts. </p>
|
|
|
|
@if (!ViewContext.ModelState.IsValid)
|
2022-04-24 05:19:34 +02:00
|
|
|
{
|
|
|
|
<div asp-validation-summary="All" class="text-danger"></div>
|
|
|
|
}
|
|
|
|
<form method="post">
|
|
|
|
<div class="form-group">
|
2022-05-02 15:07:48 +02:00
|
|
|
<label asp-for="IntervalMinutes" class="form-label" data-required>Interval</label>
|
|
|
|
<div class="input-group">
|
|
|
|
<input asp-for="IntervalMinutes" class="form-control" inputmode="numeric" style="max-width:10ch;">
|
|
|
|
<span class="input-group-text">minutes</span>
|
2023-04-26 18:24:46 +09:00
|
|
|
<span asp-validation-for="IntervalMinutes" class="text-danger"></span>
|
2022-05-02 15:07:48 +02:00
|
|
|
</div>
|
2022-08-23 12:35:20 +02:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label asp-for="FeeTargetBlock" class="form-label" data-required>Fee block target</label>
|
|
|
|
<div class="input-group">
|
|
|
|
<input asp-for="FeeTargetBlock" class="form-control" min="1" inputmode="numeric" style="max-width:10ch;">
|
|
|
|
<span class="input-group-text">blocks</span>
|
2023-04-26 18:24:46 +09:00
|
|
|
<span asp-validation-for="FeeTargetBlock" class="text-danger"></span>
|
2022-08-23 12:35:20 +02:00
|
|
|
</div>
|
2022-04-24 05:19:34 +02:00
|
|
|
</div>
|
|
|
|
<button name="command" type="submit" class="btn btn-primary mt-2" value="Save" id="Save">Save</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
@section PageFootContent {
|
|
|
|
<partial name="_ValidationScriptsPartial" />
|
|
|
|
}
|