From 5032bbafb1d958c4b21b3dda2f94e477fd2c6059 Mon Sep 17 00:00:00 2001 From: dstrukt Date: Mon, 19 Sep 2022 12:56:16 -0700 Subject: [PATCH] Consistent switch UI on Create Wallet views (#4135) * ui+wallet: consistent switch ui update * Cleanups * Improve CTA wording Co-authored-by: Dennis Reimann --- .../Views/UIStores/_GenerateWalletForm.cshtml | 84 +++++++++++-------- 1 file changed, 48 insertions(+), 36 deletions(-) diff --git a/BTCPayServer/Views/UIStores/_GenerateWalletForm.cshtml b/BTCPayServer/Views/UIStores/_GenerateWalletForm.cshtml index 1205f34c3..fe1096784 100644 --- a/BTCPayServer/Views/UIStores/_GenerateWalletForm.cshtml +++ b/BTCPayServer/Views/UIStores/_GenerateWalletForm.cshtml @@ -54,14 +54,18 @@ @if (isImport && canUseHotWallet) { -
- - - -

- If checked, each private key associated with an address generated will be stored as metadata - and would be accessible to anyone with admin access to your server. Enable at your own risk! -

+
+
} else @@ -70,30 +74,34 @@ @if (Model.CanUsePayJoin) { -
- - - -

- PayJoin enhances the privacy for you and your customers. - Enabling it gives your customers the option to use PayJoin during checkout. - - - -

+
+
} } - +
-
+
@if (isImport) // hide account option when creating a wallet { -
+
@@ -101,35 +109,39 @@ }
- +
- +
@if (canUseRpcImport) { -
- - - -

- Each address generated will be imported into the node wallet and you can view your balance through the node. - @if (isImport || isHotWallet) - { - When this is enabled for a hot wallet, you are also able to use the node wallet to spend. - } -

+
+
}
- +