From 9ec2052428a3e322bae92c48da8e6bd449a7039c Mon Sep 17 00:00:00 2001 From: dstrukt Date: Tue, 5 Jul 2022 20:43:22 -0700 Subject: [PATCH] ui+stores: updates switches ui to be consistent with other switches (#3929) --- .../Views/UIStores/LightningSettings.cshtml | 49 ++++++++++++------- .../Views/UIStores/ModifyWebhook.cshtml | 14 +++--- BTCPayServer/Views/UIStores/Rates.cshtml | 20 ++++---- 3 files changed, 49 insertions(+), 34 deletions(-) diff --git a/BTCPayServer/Views/UIStores/LightningSettings.cshtml b/BTCPayServer/Views/UIStores/LightningSettings.cshtml index 1eb525da4..48f2a2f08 100644 --- a/BTCPayServer/Views/UIStores/LightningSettings.cshtml +++ b/BTCPayServer/Views/UIStores/LightningSettings.cshtml @@ -79,36 +79,47 @@

LNURL

-
+
+
-
- - - -
-

For wallet compatibility: Bech32 encoded (classic) vs. cleartext URL (upcoming)

+
+
-
- - -
-

Required for Lightning Address, the pay button and apps.

+
+
-
- - -
-

Performance: Turn it off if users should pay only via LNURL.

+
-
+ +
- +
diff --git a/BTCPayServer/Views/UIStores/ModifyWebhook.cshtml b/BTCPayServer/Views/UIStores/ModifyWebhook.cshtml index 43600b16a..46bbb0277 100644 --- a/BTCPayServer/Views/UIStores/ModifyWebhook.cshtml +++ b/BTCPayServer/Views/UIStores/ModifyWebhook.cshtml @@ -32,20 +32,22 @@

The endpoint receiving the payload must validate the payload by checking that the HTTP header BTCPAY-SIG of the callback matches the HMAC256 of the secret on the payload's body bytes.

-
-

Events

+

Events