btcpayserver/BTCPayServer/Views/Stores/RequestPairing.cshtml
d11n 64a7abe53a
Bootstrap migration fixups (#2534)
* Remove xxl breakpoint

* Remove code bg

* Form updates

* Update PoS accordion

* Update forms

* Fix webhook password toggle

* Update highlight js styles

* Page updates

* Style unformatted checkboxes

* Fix typo

* Update accordions

* Update policies domain mapping

* Update toggles and checkboxes

* Update storage pages

* Fix specter logo filename casing

* Update checkout experience view

* Update webhook view

* Re-add used negative margins

* Update bootstrap

* POS layout fixes

* Decrease size of info icon in main headline

* Update BTCPayServer/Views/Stores/ModifyWebhook.cshtml

Co-authored-by: britttttk <39231115+britttttk@users.noreply.github.com>

Co-authored-by: britttttk <39231115+britttttk@users.noreply.github.com>
2021-06-06 20:44:54 +09:00

37 lines
1.3 KiB
Plaintext

@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-sm 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>