2018-07-26 22:32:24 +09:00
|
|
|
@model BTCPayServer.Models.WalletViewModels.ListWalletsViewModel
|
|
|
|
@{
|
|
|
|
ViewData["Title"] = "Wallets";
|
|
|
|
}
|
|
|
|
|
|
|
|
<section>
|
|
|
|
<div class="container">
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-12 text-center">
|
|
|
|
<partial name="_StatusMessage" for="@TempData["TempDataProperty-StatusMessage"]" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-12 text-center">
|
|
|
|
<h2 class="section-heading">@ViewData["Title"]</h2>
|
|
|
|
<hr class="primary">
|
|
|
|
<p>Create and manage wallets.</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<table class="table table-sm table-responsive-md">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Store Name</th>
|
|
|
|
<th>Crypto Code</th>
|
|
|
|
<th>Balance</th>
|
|
|
|
<th style="text-align:right">Actions</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
@foreach(var wallet in Model.Wallets)
|
|
|
|
{
|
|
|
|
<tr>
|
|
|
|
@if(wallet.IsOwner)
|
|
|
|
{
|
|
|
|
<td><a asp-action="UpdateStore" asp-controller="Stores" asp-route-storeId="@wallet.StoreId">@wallet.StoreName</a></td>
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
<td>@wallet.StoreName</td>
|
|
|
|
}
|
|
|
|
<td>@wallet.CryptoCode</td>
|
|
|
|
<td>@wallet.Balance</td>
|
|
|
|
<td style="text-align:right">
|
2018-07-27 00:08:07 +09:00
|
|
|
<a asp-action="WalletTransactions" asp-route-walletId="@wallet.Id">Manage</a>
|
2018-07-26 22:32:24 +09:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|