Files
btcpayserver/BTCPayServer/Views/Stores/SetupWallet.cshtml
d11n b12c4c5fa0 Improve and unify page headers (#2412)
* Improve and unify page headers

* Altcoin test fixes

* Update BTCPayServer/Views/Apps/UpdateCrowdfund.cshtml

Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>

* Update BTCPayServer/Views/Apps/UpdateCrowdfund.cshtml

Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>

* Fix missing store name in pairing view

* Fix CanUsePairing test

* Bump header navigation font size

* Use partial tag instead of Html.PartialAsync in views

As suggested by @nicolasdorier. These are equivalent, see details [here](https://docs.microsoft.com/en-us/aspnet/core/mvc/views/partial?view=aspnetcore-3.1#partial-tag-helper).

* Fix docs link

As in #2432.

* Update BTCPayServer/Views/Wallets/SignWithSeed.cshtml

Co-authored-by: britttttk <39231115+britttttk@users.noreply.github.com>

* Update BTCPayServer/Views/Wallets/WalletSendVault.cshtml

Co-authored-by: britttttk <39231115+britttttk@users.noreply.github.com>

* Update BTCPayServer/Views/Wallets/WalletTransactions.cshtml

Co-authored-by: britttttk <39231115+britttttk@users.noreply.github.com>

Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>
Co-authored-by: britttttk <39231115+britttttk@users.noreply.github.com>
2021-04-08 22:32:42 +09:00

53 lines
2.0 KiB
Plaintext

@model WalletSetupViewModel
@{
Layout = "_LayoutWalletSetup";
ViewData.SetActivePageAndTitle(StoreNavPages.Wallet, $"Setup {Model.CryptoCode} Wallet", Context.GetStoreData().StoreName);
}
@section Navbar {
@if (string.IsNullOrWhiteSpace(Model.DerivationScheme)) {
<a asp-controller="Stores" asp-action="UpdateStore" asp-route-storeId="@Model.StoreId">
<vc:icon symbol="back"/>
</a>
} else {
<a asp-controller="Stores" asp-action="ModifyWallet" asp-route-storeId="@Model.StoreId" asp-route-cryptoCode="@Model.CryptoCode">
<vc:icon symbol="back"/>
</a>
}
}
<h1 class="text-center">Let's get started</h1>
<br>
<div class="mt-5">
<h3 class="my-4">I have a wallet</h3>
<div class="list-group">
<a asp-controller="Stores" asp-action="ImportWallet" asp-route-storeId="@Model.StoreId" asp-route-cryptoCode="@Model.CryptoCode" id="ImportWalletOptionsLink" class="list-group-item list-group-item-action list-group-item-wallet-setup">
<div class="image">
<vc:icon symbol="existing-wallet"/>
</div>
<div class="content">
<h4>Connect an existing wallet</h4>
<p class="mb-0 text-secondary">Import an existing hardware or software wallet</p>
</div>
<vc:icon symbol="caret-right" />
</a>
</div>
</div>
<br>
<div class="mt-5">
<h3 class="my-4">I don't have a wallet</h3>
<div class="list-group">
<a asp-controller="Stores" asp-action="GenerateWallet" asp-route-storeId="@Model.StoreId" asp-route-cryptoCode="@Model.CryptoCode" id="GenerateWalletLink" class="list-group-item list-group-item-action list-group-item-wallet-setup">
<div class="image">
<vc:icon symbol="new-wallet"/>
</div>
<div class="content">
<h4>Create a new wallet</h4>
<p class="mb-0 text-secondary">Generate a brand-new wallet to use</p>
</div>
<vc:icon symbol="caret-right"/>
</a>
</div>
</div>