mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-19 05:33:31 +01:00
0f8da123b8
* UI: Move section navigation to sidebar * Scroll active nav link into view * Move CTAs to top right * Server Settings: Make Policies first page * Responsive table fixes * Spacing fixes * Add breadcrumb samples * store settings fixes * payment request fixes * updates pull payment title * adds invoice detail fix * updates server settings breadcrumbs + copy fix * Don't open Server Settings on Plugins page * Add breadcrumbs to pull payment views * adds breadcrumbs to account * server and store breadcrumb fixes * fixes access tokens * Fix payment processor breadcrumbs * fixes webhook 404 * Final touches * Fix test * Add breadcrumb for email rules page * Design system updates --------- Co-authored-by: dstrukt <gfxdsign@gmail.com>
64 lines
2.4 KiB
Plaintext
64 lines
2.4 KiB
Plaintext
@model WalletSetupViewModel
|
|
@{
|
|
Layout = "_LayoutWalletSetup";
|
|
ViewData.SetActivePage(StoreNavPages.OnchainSettings, $"Generate {Model.CryptoCode} Wallet", $"{Context.GetStoreData().Id}-{Model.CryptoCode}");
|
|
}
|
|
|
|
@section Navbar {
|
|
<a asp-controller="UIStores" asp-action="SetupWallet" asp-route-storeId="@Model.StoreId" asp-route-cryptoCode="@Model.CryptoCode">
|
|
<vc:icon symbol="back" />
|
|
</a>
|
|
}
|
|
|
|
<h1 class="text-center">Choose your wallet option</h1>
|
|
|
|
<div class="list-group mt-5">
|
|
@if (Model.CanUseHotWallet)
|
|
{
|
|
<a asp-controller="UIStores" asp-action="GenerateWallet" asp-route-storeId="@Model.StoreId" asp-route-cryptoCode="@Model.CryptoCode" asp-route-method="hotwallet" id="GenerateHotwalletLink" class="list-group-item list-group-item-action">
|
|
<div class="image">
|
|
<vc:icon symbol="wallet-hot"/>
|
|
</div>
|
|
<div class="content">
|
|
<h4>Hot wallet</h4>
|
|
<p class="mb-0 text-secondary">
|
|
Wallet's private key is stored on the server.
|
|
Spending the funds you received is convenient.
|
|
To minimize the risk of theft, regularly withdraw funds to a different wallet.
|
|
</p>
|
|
</div>
|
|
<vc:icon symbol="caret-right"/>
|
|
</a>
|
|
}
|
|
else
|
|
{
|
|
<div class="list-group-item text-muted">
|
|
<div class="image">
|
|
<vc:icon symbol="wallet-hot"/>
|
|
</div>
|
|
<div class="content">
|
|
<h4>Hot wallet</h4>
|
|
<p class="mb-0">Please note that creating a hot wallet is not supported by this instance for non administrators.</p>
|
|
</div>
|
|
</div>
|
|
}
|
|
</div>
|
|
|
|
<div class="list-group mt-4">
|
|
<a asp-controller="UIStores" asp-action="GenerateWallet" asp-route-storeId="@Model.StoreId" asp-route-cryptoCode="@Model.CryptoCode" asp-route-method="watchonly" id="GenerateWatchonlyLink" class="list-group-item list-group-item-action">
|
|
<div class="image">
|
|
<vc:icon symbol="wallet-watchonly"/>
|
|
</div>
|
|
<div class="content">
|
|
<h4>Watch-only wallet</h4>
|
|
<p class="mb-0 text-secondary">
|
|
Wallet's private key is erased from the server. Higher security.
|
|
To spend, you have to manually input the private key or import it into an external wallet.
|
|
</p>
|
|
</div>
|
|
<vc:icon symbol="caret-right" />
|
|
</a>
|
|
</div>
|
|
|
|
|