mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-24 06:47:50 +01:00
* UI: Move section navigation to sidebar * Scroll active nav link into view * Move CTAs to top right * Server Settings: Make Policies first page * Responsive table fixes * Spacing fixes * Add breadcrumb samples * store settings fixes * payment request fixes * updates pull payment title * adds invoice detail fix * updates server settings breadcrumbs + copy fix * Don't open Server Settings on Plugins page * Add breadcrumbs to pull payment views * adds breadcrumbs to account * server and store breadcrumb fixes * fixes access tokens * Fix payment processor breadcrumbs * fixes webhook 404 * Final touches * Fix test * Add breadcrumb for email rules page * Design system updates --------- Co-authored-by: dstrukt <gfxdsign@gmail.com>
57 lines
2 KiB
Text
57 lines
2 KiB
Text
@using BTCPayServer.Views.Stores
|
|
@model BTCPayServer.Services.Altcoins.Zcash.UI.UIZcashLikeStoreController.ZcashLikePaymentMethodListViewModel
|
|
|
|
@{
|
|
ViewData.SetActivePage(StoreNavPages.OnchainSettings, "Zcash Settings", $"{Context.GetStoreData().Id}-ZEC");
|
|
}
|
|
|
|
<div class="row">
|
|
<div class="col-md-8">
|
|
@if (!ViewContext.ModelState.IsValid)
|
|
{
|
|
<div asp-validation-summary="All" class="text-danger"></div>
|
|
}
|
|
<div class="table-responsive-md">
|
|
<table class="table table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th>Crypto</th>
|
|
<th>Account Index</th>
|
|
<th class="text-center">Enabled</th>
|
|
<th class="text-right">Actions</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach (var item in Model.Items)
|
|
{
|
|
<tr>
|
|
<td>@item.CryptoCode</td>
|
|
<td>@item.AccountIndex</td>
|
|
<td class="text-center">
|
|
@if (item.Enabled)
|
|
{
|
|
<vc:icon symbol="checkmark" css-class="text-success" />
|
|
}
|
|
else
|
|
{
|
|
<vc:icon symbol="cross" css-class="text-danger" />
|
|
}
|
|
</td>
|
|
<td class="text-right">
|
|
<a id="Modify" asp-action="GetStoreZcashLikePaymentMethod"
|
|
asp-route-storeId="@Context.GetRouteValue("storeId")"
|
|
asp-route-cryptoCode="@item.CryptoCode">
|
|
Modify
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
@section PageFootContent {
|
|
@await Html.PartialAsync("_ValidationScriptsPartial")
|
|
}
|