btcpayserver/BTCPayServer/Views/Stores/RequestPairing.cshtml
2021-09-02 12:36:02 +02:00

36 lines
1.3 KiB
Text

@model PairingModel
@{
Layout = "../Shared/_NavLayout.cshtml";
ViewData.SetActivePageAndTitle(StoreNavPages.Tokens, "Pairing permission", Context.GetStoreData()?.StoreName);
}
<h2 class="mb-4">@ViewData["PageTitle"]</h2>
<p class="mb-0">Create and manage store settings.</p>
<div class="row">
<div class="col-md-4">
<table class="table table-hover removetopborder">
<tr>
<th>Label</th>
<td class="text-end">@Model.Label</td>
</tr>
<tr>
<th>SIN</th>
<td class="text-end">@Model.SIN</td>
</tr>
</table>
</div>
</div>
<div class="row">
<div class="col-md-4">
<form asp-action="Pair" method="post">
<div class="form-group">
<label asp-for="StoreId" class="form-label"></label>
<select asp-for="StoreId" asp-items="@(new SelectList(Model.Stores,"Id","Name"))" class="form-select"></select>
<span asp-validation-for="StoreId" class="text-danger"></span>
</div>
<input type="hidden" name="pairingCode" value="@Model.Id" />
<button id="ApprovePairing" type="submit" class="btn btn-primary" title="Approve this pairing demand">Approve</button>
</form>
</div>
</div>