From c62018f9849a9499ef4dbbb1ca8e98c7099dd559 Mon Sep 17 00:00:00 2001 From: dstrukt Date: Mon, 24 Jan 2022 18:07:52 -0800 Subject: [PATCH] 1.4.0 Final Polish (#3335) * adds pay button icon adds more update icons * reduces update app titles * capitalize PP * more icons notification icon update adds more * Truncate long titles in nav * Adjust "off" color state for the wallet/lightning * Theme switch alignment * Update store selector * adds more space in store selector span * Prevent form zoom on mobile Safari * updates lightning + settings view * updates store icon * adjusts notification icon * removes notifications setting button icon * Update status colors * Fix Lightning nav markup * Prevent icons from shrinking * Move main menu styles to css * Remove max-width container for content area * Update headlines * Use fixed header on mobile * Extract custom pills component * Form field update Co-authored-by: Dennis Reimann --- .../Components/MainNav/Default.cshtml | 20 ++- .../Components/StoreSelector/Default.cshtml | 6 +- .../Components/ThemeSwitch/Default.cshtml | 2 +- BTCPayServer/Views/LNURLAuth/Create.cshtml | 4 +- BTCPayServer/Views/Shared/_Layout.cshtml | 6 +- .../Views/UIAccount/LoginWithLNURLAuth.cshtml | 4 +- BTCPayServer/Views/UIApps/CreateApp.cshtml | 2 +- .../Views/UIApps/UpdateCrowdfund.cshtml | 4 +- .../Views/UIApps/UpdatePointOfSale.cshtml | 4 +- .../Views/UIInvoice/CreateInvoice.cshtml | 2 +- BTCPayServer/Views/UILightning/_Nav.cshtml | 10 +- .../ConfirmLightningPayout.cshtml | 2 +- .../LightningPayoutResult.cshtml | 2 +- BTCPayServer/Views/UIManage/_Nav.cshtml | 1 + .../Views/UINotifications/Index.cshtml | 1 - .../EditPaymentRequest.cshtml | 5 +- .../ShowLightningNodeInfo.cshtml | 9 +- .../UIServer/CLightningRestServices.cshtml | 2 +- BTCPayServer/Views/UIServer/_Nav.cshtml | 6 +- .../UIStorePullPayments/NewPullPayment.cshtml | 4 +- .../Views/UIStorePullPayments/Payouts.cshtml | 4 +- .../UIStorePullPayments/PullPayments.cshtml | 2 +- BTCPayServer/Views/UIStores/Dashboard.cshtml | 2 +- BTCPayServer/Views/UIStores/Lightning.cshtml | 10 +- .../Views/UIStores/LightningSettings.cshtml | 16 +-- BTCPayServer/Views/UIStores/Payment.cshtml | 2 +- .../Views/UIStores/SetupLightningNode.cshtml | 30 +---- BTCPayServer/Views/UIStores/_Nav.cshtml | 1 + .../Views/UIUserStores/CreateStore.cshtml | 2 +- .../Views/UIWallets/WalletPSBTDecoded.cshtml | 8 +- .../Views/UIWallets/WalletReceive.cshtml | 6 +- BTCPayServer/wwwroot/img/icon-sprite.svg | 21 +-- .../wwwroot/main/bootstrap/bootstrap.css | 60 ++++++++- BTCPayServer/wwwroot/main/layout.css | 124 ++++++++++++++---- BTCPayServer/wwwroot/main/site.css | 10 +- 35 files changed, 254 insertions(+), 140 deletions(-) diff --git a/BTCPayServer/Components/MainNav/Default.cshtml b/BTCPayServer/Components/MainNav/Default.cshtml index c834fc4c7..5bbd7118f 100644 --- a/BTCPayServer/Components/MainNav/Default.cshtml +++ b/BTCPayServer/Components/MainNav/Default.cshtml @@ -59,14 +59,14 @@ @if (isSetUp && scheme.WalletSupported) { - + @(Model.AltcoinsBuild ? $"{scheme.Crypto} " : "")Wallet } else { - + @(Model.AltcoinsBuild ? $"{scheme.Crypto} " : "")Wallet } @@ -79,14 +79,14 @@ @if (isSetUp) { - + @(Model.AltcoinsBuild ? $"{scheme.CryptoCode} " : "")Lightning } else { - + @(Model.AltcoinsBuild ? $"{scheme.CryptoCode} " : "")Lightning } @@ -114,25 +114,25 @@ @@ -252,13 +252,11 @@ }
  • - - Manage Account + Manage Account
  • - Logout
  • diff --git a/BTCPayServer/Components/StoreSelector/Default.cshtml b/BTCPayServer/Components/StoreSelector/Default.cshtml index 70edf874f..12d2ee1ba 100644 --- a/BTCPayServer/Components/StoreSelector/Default.cshtml +++ b/BTCPayServer/Components/StoreSelector/Default.cshtml @@ -38,7 +38,11 @@ else @if (Model.Options.Count > 0) {