From 728233998b63960af8bfaeab3d6480b20044c4d8 Mon Sep 17 00:00:00 2001 From: Roby Date: Wed, 22 Apr 2026 19:32:52 +0200 Subject: [PATCH] Change dashboard theme --- templates/index.html | 196 ++--- templates/index.html.vecchio-stile | 1173 ++++++++++++++++++++++++++++ 2 files changed, 1242 insertions(+), 127 deletions(-) create mode 100644 templates/index.html.vecchio-stile diff --git a/templates/index.html b/templates/index.html index c3ce33e..b05ef40 100644 --- a/templates/index.html +++ b/templates/index.html @@ -12,147 +12,101 @@ - @@ -162,7 +116,6 @@
FLEET CONTROL CONSOLE
-
@@ -460,12 +413,6 @@ let currentResetHatId = null; let confirmActionCallback = null; - function toggleTheme() { - const isDark = document.body.classList.toggle('dark-mode'); - localStorage.setItem('theme', isDark ? 'dark' : 'light'); - document.getElementById('theme-btn').innerText = isDark ? t('themeLight') : t('themeDark'); - } - // --- NEW GLOBAL GLASSMORPHISM POPUPS --- function customAlert(title, desc, isError = false) { const color = isError ? 'var(--danger)' : 'var(--success)'; @@ -585,11 +532,6 @@ const grid = document.getElementById('client-grid'); const authContainer = document.getElementById('auth-container'); - if (localStorage.getItem('theme') === 'dark') { - document.body.classList.add('dark-mode'); - document.getElementById('theme-btn').innerText = t('themeLight'); - } else { document.getElementById('theme-btn').innerText = t('themeDark'); } - const role = sessionStorage.getItem('user_role'); const allowed = sessionStorage.getItem('allowed_nodes') || ""; diff --git a/templates/index.html.vecchio-stile b/templates/index.html.vecchio-stile new file mode 100644 index 0000000..c3ce33e --- /dev/null +++ b/templates/index.html.vecchio-stile @@ -0,0 +1,1173 @@ + + + + + + + Fleet Control Console + + + + + + + + + + + +
+
+
FLEET CONTROL CONSOLE
+
+ + + +
+
+
+
+ +
+ +
+

+ ๐Ÿ“ก Lastheard +

+
+ + + + + + + + + + + + + + +
TimeRepeaterModeSlotCallsignTarget / TGDurationBER
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +