mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 10:40:29 +01:00
ad2430496d
* UI: Consistent spacing on maintenance view * UI: Empty states for apps, stores and wallets * UI: Empty state for file storage * UI: Toggle invoice selection in list on row click * Update ChromeDriver * Fix selector in payjoin test
70 lines
2.6 KiB
Plaintext
70 lines
2.6 KiB
Plaintext
@model BTCPayServer.Models.WalletViewModels.ListWalletsViewModel
|
|
@{
|
|
ViewData["Title"] = "Wallets";
|
|
}
|
|
|
|
<section>
|
|
<div class="container">
|
|
@if (TempData.HasStatusMessage())
|
|
{
|
|
<div class="row">
|
|
<div class="col-lg-12 text-center">
|
|
<partial name="_StatusMessage" />
|
|
</div>
|
|
</div>
|
|
}
|
|
|
|
<div class="row">
|
|
<div class="col-lg-12 section-heading">
|
|
<h2>@ViewData["Title"]</h2>
|
|
<hr class="primary">
|
|
<p>Connect and manage wallets. <a href="https://docs.btcpayserver.org/Wallet/" target="_blank"><span class="fa fa-question-circle-o" title="More information..."></span></a></p>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
@if (Model.Wallets.Any())
|
|
{
|
|
<table class="table table-sm table-responsive-md">
|
|
<thead>
|
|
<tr>
|
|
<th>Store Name</th>
|
|
<th>Crypto Code</th>
|
|
<th>Balance</th>
|
|
<th class="text-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 class="text-right">
|
|
<a asp-action="WalletTransactions" asp-route-walletId="@wallet.Id">Manage</a>
|
|
</td>
|
|
</tr>
|
|
}
|
|
</tbody>
|
|
</table>
|
|
}
|
|
else
|
|
{
|
|
<p class="text-secondary mt-3">
|
|
There are no wallets yet. You can add wallets in the store setup.
|
|
</p>
|
|
}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|