From e584004b23e784452401d62710abc7d0d05a790d Mon Sep 17 00:00:00 2001 From: Umar Bolatov Date: Sun, 13 Oct 2019 20:07:41 -0700 Subject: [PATCH] Make UI checkboxes inline with their labels address #1089 --- .../Views/Apps/UpdateCrowdfund.cshtml | 74 ++++++++++--------- .../Views/Apps/UpdatePointOfSale.cshtml | 38 +++++----- BTCPayServer/Views/Server/Policies.cshtml | 38 +++++----- BTCPayServer/Views/Server/User.cshtml | 6 +- BTCPayServer/Views/Shared/EmailsBody.cshtml | 6 +- .../Views/Stores/AddDerivationScheme.cshtml | 6 +- .../Views/Stores/CheckoutExperience.cshtml | 25 ++++--- BTCPayServer/Views/Stores/UpdateStore.cshtml | 8 +- BTCPayServer/Views/Wallets/WalletSend.cshtml | 28 ++++--- 9 files changed, 127 insertions(+), 102 deletions(-) diff --git a/BTCPayServer/Views/Apps/UpdateCrowdfund.cshtml b/BTCPayServer/Views/Apps/UpdateCrowdfund.cshtml index 31b9efc11..21d1f12aa 100644 --- a/BTCPayServer/Views/Apps/UpdateCrowdfund.cshtml +++ b/BTCPayServer/Views/Apps/UpdateCrowdfund.cshtml @@ -153,34 +153,36 @@
- - - -
-
- - - -
-
- - - -
-
- - - -
-
- - - -
-
- - - +
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
@@ -188,9 +190,11 @@
- - - +
+ + + +
@@ -198,9 +202,11 @@
- - - +
+ + + +
diff --git a/BTCPayServer/Views/Apps/UpdatePointOfSale.cshtml b/BTCPayServer/Views/Apps/UpdatePointOfSale.cshtml index 615feec5e..03d92ecab 100644 --- a/BTCPayServer/Views/Apps/UpdatePointOfSale.cshtml +++ b/BTCPayServer/Views/Apps/UpdatePointOfSale.cshtml @@ -54,24 +54,26 @@
- - - -
-
- - - -
-
- - - -
-
- - - +
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
* diff --git a/BTCPayServer/Views/Server/Policies.cshtml b/BTCPayServer/Views/Server/Policies.cshtml index bcbf55add..2750d4975 100644 --- a/BTCPayServer/Views/Server/Policies.cshtml +++ b/BTCPayServer/Views/Server/Policies.cshtml @@ -12,24 +12,26 @@
- - - -
-
- - - -
-
- - - -
-
- - - +
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
diff --git a/BTCPayServer/Views/Server/User.cshtml b/BTCPayServer/Views/Server/User.cshtml index 93039fe77..341d93170 100644 --- a/BTCPayServer/Views/Server/User.cshtml +++ b/BTCPayServer/Views/Server/User.cshtml @@ -12,8 +12,10 @@
- - +
+ + +
diff --git a/BTCPayServer/Views/Shared/EmailsBody.cshtml b/BTCPayServer/Views/Shared/EmailsBody.cshtml index 27bff08ef..25d538474 100644 --- a/BTCPayServer/Views/Shared/EmailsBody.cshtml +++ b/BTCPayServer/Views/Shared/EmailsBody.cshtml @@ -96,8 +96,10 @@ $(document).ready(function(){
- - +
+ + +
diff --git a/BTCPayServer/Views/Stores/AddDerivationScheme.cshtml b/BTCPayServer/Views/Stores/AddDerivationScheme.cshtml index eb60c9129..75a6698a4 100644 --- a/BTCPayServer/Views/Stores/AddDerivationScheme.cshtml +++ b/BTCPayServer/Views/Stores/AddDerivationScheme.cshtml @@ -109,8 +109,10 @@
- - +
+ + +
} diff --git a/BTCPayServer/Views/Stores/CheckoutExperience.cshtml b/BTCPayServer/Views/Stores/CheckoutExperience.cshtml index dabba8df8..1710cc172 100644 --- a/BTCPayServer/Views/Stores/CheckoutExperience.cshtml +++ b/BTCPayServer/Views/Stores/CheckoutExperience.cshtml @@ -40,8 +40,10 @@
- - +
+ + +
@@ -56,16 +58,17 @@

Example: 5.50 USD

- - - +
+ + + +
+
+ + + +
-
- - - -
-
diff --git a/BTCPayServer/Views/Stores/UpdateStore.cshtml b/BTCPayServer/Views/Stores/UpdateStore.cshtml index a3a31343c..8080e4b5f 100644 --- a/BTCPayServer/Views/Stores/UpdateStore.cshtml +++ b/BTCPayServer/Views/Stores/UpdateStore.cshtml @@ -38,9 +38,11 @@
- - - +
+ + + +
diff --git a/BTCPayServer/Views/Wallets/WalletSend.cshtml b/BTCPayServer/Views/Wallets/WalletSend.cshtml index 7472cb15e..71172d4be 100644 --- a/BTCPayServer/Views/Wallets/WalletSend.cshtml +++ b/BTCPayServer/Views/Wallets/WalletSend.cshtml @@ -78,9 +78,11 @@
- - - +
+ + + +
@@ -108,9 +110,11 @@ @if (Model.Outputs.Count == 1) {
- - - +
+ + + +
}
@@ -123,21 +127,21 @@
-
- +
+ + -
@if (Model.SupportRBF) { -
- +
+ + -
}