mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-23 06:35:13 +01:00
* Fix missing hot wallet option on seed import Thanks @kukks for spotting! * Tests: Wait for button to be ready for interaction * Camelcase test selectors * Tests: Remove general ImplicitWait * Tests: Add WaitForAndClick helper * Tests: Refactor SetCheckbox * Tests: Add WaitForElement helper * Tests: Refactor and use wait.UntilJsIsReady helper * Fix missing helper in ethereum tests * Tests: Some more refactorings
52 lines
2 KiB
Text
52 lines
2 KiB
Text
@model WalletSetupViewModel
|
|
@{
|
|
Layout = "_LayoutWalletSetup";
|
|
ViewData["Title"] = $"Setup {Model.CryptoCode} Wallet";
|
|
}
|
|
|
|
@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>
|