From 9e3127045994cd2c7082057d244ba430660e2af6 Mon Sep 17 00:00:00 2001 From: d11n Date: Tue, 20 Sep 2022 09:50:59 +0200 Subject: [PATCH] Improve "Advanced Settings" button (#4140) * Improve "Advanced Settings" button Closes #4132. * Use collapse toggle for multi-sig examples --- BTCPayServer/Views/Shared/EmailsBody.cshtml | 5 ++-- .../Views/UILNURL/EditLightningAddress.cshtml | 5 +++- .../Views/UIStores/ImportWallet/Xpub.cshtml | 30 ++++++++----------- .../Views/UIStores/_GenerateWalletForm.cshtml | 11 +++---- .../Views/UIWallets/WalletSend.cshtml | 5 ++-- BTCPayServer/wwwroot/main/site.css | 16 ++++++++++ 6 files changed, 44 insertions(+), 28 deletions(-) diff --git a/BTCPayServer/Views/Shared/EmailsBody.cshtml b/BTCPayServer/Views/Shared/EmailsBody.cshtml index 0ecc7c9b1..2b93672ac 100644 --- a/BTCPayServer/Views/Shared/EmailsBody.cshtml +++ b/BTCPayServer/Views/Shared/EmailsBody.cshtml @@ -71,8 +71,9 @@
-
diff --git a/BTCPayServer/Views/UILNURL/EditLightningAddress.cshtml b/BTCPayServer/Views/UILNURL/EditLightningAddress.cshtml index a09507a89..9ca321eed 100644 --- a/BTCPayServer/Views/UILNURL/EditLightningAddress.cshtml +++ b/BTCPayServer/Views/UILNURL/EditLightningAddress.cshtml @@ -60,7 +60,10 @@
- Advanced settings +
diff --git a/BTCPayServer/Views/UIStores/ImportWallet/Xpub.cshtml b/BTCPayServer/Views/UIStores/ImportWallet/Xpub.cshtml index 482ecd912..ec11c7f76 100644 --- a/BTCPayServer/Views/UIStores/ImportWallet/Xpub.cshtml +++ b/BTCPayServer/Views/UIStores/ImportWallet/Xpub.cshtml @@ -92,39 +92,33 @@ xpub…-[taproot] } - + + + Multi-sig P2WSH 2-of-xpub1…-xpub2… - + wsh(multi(2,
[…/48'/0'/0'/2']xpub…/0/*,
[…/48'/0'/0'/2']xpub…/0/*)) - + Multi-sig P2SH-P2WSH 2-of-xpub1…-xpub2…-[p2sh] - + sh(wsh(multi(2,
[…/48'/0'/0'/1']xpub…/0/*,
[…/48'/0'/0'/1']xpub…/0/*))) - + Multi-sig P2SH 2-of-xpub1…-xpub2…-[legacy] - + sh(multi(2,
[…/45'/0]xpub…/0/*,
[…/45'/0]xpub…/0/*)) -Show multi-sig examples - -@section PageFootContent { - - - -} + diff --git a/BTCPayServer/Views/UIStores/_GenerateWalletForm.cshtml b/BTCPayServer/Views/UIStores/_GenerateWalletForm.cshtml index fe1096784..db37c7173 100644 --- a/BTCPayServer/Views/UIStores/_GenerateWalletForm.cshtml +++ b/BTCPayServer/Views/UIStores/_GenerateWalletForm.cshtml @@ -94,8 +94,9 @@ }
-
@@ -109,12 +110,12 @@ }
- +
- +
@@ -122,7 +123,7 @@ {