2018-07-26 15:32:24 +02:00
|
|
|
@inject SignInManager<ApplicationUser> SignInManager
|
2019-12-29 17:08:30 +01:00
|
|
|
@inject BTCPayNetworkProvider BtcPayNetworkProvider
|
|
|
|
@{
|
|
|
|
var wallet = WalletId.Parse( this.Context.GetRouteValue("walletId").ToString());
|
|
|
|
var network = BtcPayNetworkProvider.GetNetwork<BTCPayNetwork>(wallet.CryptoCode);
|
|
|
|
}
|
2018-07-26 15:32:24 +02:00
|
|
|
<div class="nav flex-column nav-pills">
|
2019-10-21 10:54:12 +02:00
|
|
|
<a class="nav-link @ViewData.IsActivePage(WalletsNavPages.Transactions)" asp-action="WalletTransactions" asp-route-walletId="@this.Context.GetRouteValue("walletId")" id="WalletTransactions">Transactions</a>
|
2019-12-29 17:08:30 +01:00
|
|
|
@if (!network.ReadonlyWallet)
|
|
|
|
{
|
|
|
|
<a class="nav-link @ViewData.IsActivePage(WalletsNavPages.Send)" asp-action="WalletSend" asp-route-walletId="@this.Context.GetRouteValue("walletId")" id="WalletSend">Send</a>
|
|
|
|
}
|
2019-10-21 10:54:12 +02:00
|
|
|
<a class="nav-link @ViewData.IsActivePage(WalletsNavPages.Rescan)" asp-action="WalletRescan" asp-route-walletId="@this.Context.GetRouteValue("walletId")" id="WalletRescan">Rescan</a>
|
2019-12-29 17:08:30 +01:00
|
|
|
@if (!network.ReadonlyWallet)
|
|
|
|
{
|
|
|
|
<a class="nav-link @ViewData.IsActivePage(WalletsNavPages.PSBT)" asp-action="WalletPSBT" asp-route-walletId="@this.Context.GetRouteValue("walletId")">PSBT</a>
|
|
|
|
<a class="nav-link @ViewData.IsActivePage(WalletsNavPages.Settings)" asp-action="WalletSettings" asp-route-walletId="@this.Context.GetRouteValue("walletId")" id="WalletSettings">Settings</a>
|
|
|
|
}
|
2018-07-26 15:32:24 +02:00
|
|
|
</div>
|