From e3d6b6befa810ae4ab6d088a47f5abe812aea8a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?dni=20=E2=9A=A1?= Date: Thu, 28 Nov 2024 10:43:31 +0100 Subject: [PATCH] fix: some ui bugs (#2782) remove splitter constrain Co-authored-by: Tiago Vasconcelos --- .../core/templates/admin/_tab_extensions.html | 2 +- .../core/templates/admin/_tab_security.html | 34 +++++++++--------- lnbits/core/templates/admin/_tab_users.html | 6 ++-- lnbits/core/templates/admin/index.html | 35 ++++++++++++++----- lnbits/static/js/admin.js | 1 - 5 files changed, 49 insertions(+), 29 deletions(-) diff --git a/lnbits/core/templates/admin/_tab_extensions.html b/lnbits/core/templates/admin/_tab_extensions.html index 2e67eb8fc..ab125e60e 100644 --- a/lnbits/core/templates/admin/_tab_extensions.html +++ b/lnbits/core/templates/admin/_tab_extensions.html @@ -23,7 +23,7 @@ @remove="removeExtensionsManifest(manifestUrl)" color="primary" text-color="white" - > diff --git a/lnbits/core/templates/admin/_tab_security.html b/lnbits/core/templates/admin/_tab_security.html index ff72edaf9..7c3d90e63 100644 --- a/lnbits/core/templates/admin/_tab_security.html +++ b/lnbits/core/templates/admin/_tab_security.html @@ -13,8 +13,8 @@
Authentication
-
-
+
+
-
+
Nostr Auth
-
+
-
-
- -
+
+
@@ -220,6 +220,7 @@ color="primary" text-color="white" :label="blocked_ip" + class="ellipsis" >

@@ -249,6 +250,7 @@ color="primary" text-color="white" :label="allowed_ip" + class="ellipsis" >

diff --git a/lnbits/core/templates/admin/_tab_users.html b/lnbits/core/templates/admin/_tab_users.html index c14833304..76c6b6024 100644 --- a/lnbits/core/templates/admin/_tab_users.html +++ b/lnbits/core/templates/admin/_tab_users.html @@ -3,7 +3,7 @@
User Management
-
+

Admin Users


-
+

Allowed Users

diff --git a/lnbits/core/templates/admin/index.html b/lnbits/core/templates/admin/index.html index 054ab8196..e77e09369 100644 --- a/lnbits/core/templates/admin/index.html +++ b/lnbits/core/templates/admin/index.html @@ -61,57 +61,74 @@
- + diff --git a/lnbits/static/js/admin.js b/lnbits/static/js/admin.js index a67a93aa0..8cff5a7dd 100644 --- a/lnbits/static/js/admin.js +++ b/lnbits/static/js/admin.js @@ -61,7 +61,6 @@ window.app = Vue.createApp({ 'orange' ], tab: 'funding', - tabsPercent: 15, needsRestart: false } },