btcpayserver/BTCPayServer/Views/Stores/RequestPairing.cshtml

48 lines
1.8 KiB
Plaintext
Raw Normal View History

2017-09-13 16:50:36 +02:00
@model PairingModel
@{
ViewData["Title"] = "Pairing permission";
2017-09-13 16:50:36 +02:00
}
<section>
<div class="container">
<div class="row">
<div class="col-lg-12 text-center">
<h2 class="section-heading">@ViewData["Title"]</h2>
<hr class="primary">
<p>Create and manage store settings.</p>
</div>
</div>
<div class="row">
2018-03-23 08:24:57 +01:00
<div class="col-md-4"></div>
<div class="col-md-4">
<table class="table table-sm table-responsive-md">
2018-03-23 08:24:57 +01:00
<tr>
<th>Label</th>
<td style="text-align:right;">@Model.Label</td>
</tr>
<tr>
<th>SIN</th>
<td style="text-align:right;">@Model.SIN</td>
</tr>
</table>
</div>
<div class="col-md-4"></div>
</div>
<div class="row">
2018-03-23 08:24:57 +01:00
<div class="col-md-4"></div>
<div class="col-md-4">
<form asp-action="Pair" method="post">
<div class="form-group">
<label asp-for="SelectedStore"></label>
<select asp-for="SelectedStore" asp-items="@(new SelectList(Model.Stores,"Id","Name"))" class="form-control"></select>
<span asp-validation-for="SelectedStore" class="text-danger"></span>
</div>
<input type="hidden" name="pairingCode" value="@Model.Id" />
2018-04-08 07:25:00 +02:00
<button type="submit" class="btn btn-secondary" title="Approve this pairing demand">Approve</button>
2018-03-23 08:24:57 +01:00
</form>
</div>
<div class="col-md-4"></div>
</div>
</div>
</section>