2019-09-30 10:32:43 +02:00
|
|
|
@using BTCPayServer.Views.Stores
|
2021-07-27 20:00:33 +02:00
|
|
|
@using BTCPayServer.Abstractions.Extensions
|
2019-10-02 22:41:53 -05:00
|
|
|
@model BTCPayServer.Services.Altcoins.Monero.UI.MoneroLikeStoreController.MoneroLikePaymentMethodListViewModel
|
2019-09-30 10:32:43 +02:00
|
|
|
|
|
|
|
@{
|
|
|
|
Layout = "../Shared/_NavLayout.cshtml";
|
2021-12-31 08:36:38 +01:00
|
|
|
ViewData.SetActivePage(StoreNavPages.OnchainSettings, "Monero Settings");
|
2019-09-30 10:32:43 +02:00
|
|
|
ViewData["NavPartialName"] = "../Stores/_Nav";
|
|
|
|
}
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-8">
|
2021-04-08 15:32:42 +02:00
|
|
|
<div asp-validation-summary="All" class="text-danger"></div>
|
2020-01-14 12:46:07 +01:00
|
|
|
<div class="form-group">
|
2021-08-20 14:59:31 +02:00
|
|
|
<table class="table table-hover table-responsive-md">
|
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)
|
|
|
|
{
|
2020-06-12 15:22:39 +02:00
|
|
|
<span class="text-success fa fa-check"></span>
|
2020-01-14 12:46:07 +01:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2020-06-12 15:22:39 +02:00
|
|
|
<span class="text-danger fa fa-times"></span>
|
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")
|
|
|
|
}
|