mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-28 08:54:13 +01:00
27 lines
919 B
Text
27 lines
919 B
Text
|
@model WalletSetupViewModel
|
||
|
@addTagHelper *, BundlerMinifier.TagHelpers
|
||
|
@{
|
||
|
var isHotWallet = Model.Method == WalletSetupMethod.HotWallet;
|
||
|
var type = isHotWallet ? "Hot" : "Watch-Only";
|
||
|
Layout = "_LayoutWalletSetup";
|
||
|
ViewData["Title"] = $"Create {Model.CryptoCode} {type} Wallet";
|
||
|
ViewData.Add(nameof(Model.CanUseHotWallet), Model.CanUseHotWallet);
|
||
|
ViewData.Add(nameof(Model.CanUseRPCImport), Model.CanUseRPCImport);
|
||
|
ViewData.Add(nameof(Model.Method), Model.Method);
|
||
|
}
|
||
|
|
||
|
@section Navbar {
|
||
|
<a asp-controller="Stores" asp-action="GenerateWallet" asp-route-storeId="@Model.StoreId" asp-route-cryptoCode="@Model.CryptoCode" asp-route-method="">
|
||
|
<vc:icon symbol="back" />
|
||
|
</a>
|
||
|
}
|
||
|
|
||
|
<h1 class="text-center">@ViewData["Title"]</h1>
|
||
|
<br>
|
||
|
|
||
|
@await Html.PartialAsync("_GenerateWalletForm", Model.SetupRequest)
|
||
|
|
||
|
@section Scripts {
|
||
|
@await Html.PartialAsync("_ValidationScriptsPartial")
|
||
|
}
|