2021-11-11 13:03:08 +01:00
|
|
|
@model BTCPayServer.Services.Altcoins.Monero.UI.UIMoneroLikeStoreController.MoneroLikePaymentMethodListViewModel
|
2019-09-30 10:32:43 +02:00
|
|
|
|
|
|
|
@{
|
2023-10-11 14:12:33 +02:00
|
|
|
ViewData.SetActivePage("Monero Settings", "Monero Settings", "Monero Settings");
|
2019-09-30 10:32:43 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-8">
|
2024-06-19 15:23:10 +02:00
|
|
|
@if (!ViewContext.ModelState.IsValid)
|
|
|
|
{
|
|
|
|
<div asp-validation-summary="All"></div>
|
|
|
|
}
|
|
|
|
<div class="table-responsive-md">
|
|
|
|
<table class="table table-hover">
|
2020-01-14 12:46:07 +01:00
|
|
|
<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)
|
|
|
|
{
|
2024-05-20 01:57:46 +02:00
|
|
|
<vc:icon symbol="checkmark" css-class="text-success" />
|
2020-01-14 12:46:07 +01:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2024-05-20 01:57:46 +02:00
|
|
|
<vc:icon symbol="cross" css-class="text-danger" />
|
2020-01-14 12:46:07 +01:00
|
|
|
}
|
|
|
|
</td>
|
|
|
|
<td class="text-right">
|
|
|
|
<a id="Modify" asp-action="GetStoreMoneroLikePaymentMethod"
|
2021-04-08 15:32:42 +02:00
|
|
|
asp-route-storeId="@Context.GetRouteValue("storeId")"
|
2020-01-14 12:46:07 +01:00
|
|
|
asp-route-cryptoCode="@item.CryptoCode">
|
|
|
|
Modify
|
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2019-09-30 10:32:43 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2021-05-19 04:39:27 +02:00
|
|
|
@section PageFootContent {
|
2019-09-30 10:32:43 +02:00
|
|
|
@await Html.PartialAsync("_ValidationScriptsPartial")
|
|
|
|
}
|