diff --git a/public_html/assets/css/jarvis.css b/public_html/assets/css/jarvis.css index 8aeec51..13c7a47 100644 --- a/public_html/assets/css/jarvis.css +++ b/public_html/assets/css/jarvis.css @@ -1364,3 +1364,18 @@ body.tablet-mode .alert-item { font-size:0.75rem; padding:9px 11px; } /* ── BOTTOM BAR ─────────────────────────────────────────────────── */ body.tablet-mode #bottomBar { font-size:0.7rem; height:34px; } + +/* ════════════════════════════════════════════════════════════════════════ + KIOSK MODE — hide noisy panels, keep it clean on Fire tablet + Only active when body.kiosk-mode (fullscreen) + ════════════════════════════════════════════════════════════════════════ */ +body.kiosk-mode #server-panel { display:none !important; } +body.kiosk-mode #network-status-panel { display:none !important; } +body.kiosk-mode #tab-btn-agents { display:none !important; } +body.kiosk-mode #tab-btn-guardian { display:none !important; } +body.kiosk-mode #tab-agents { display:none !important; } +body.kiosk-mode #tab-guardian { display:none !important; } +body.kiosk-mode #bb-ha-item { display:none !important; } +body.kiosk-mode #bb-agents-item { display:none !important; } +body.kiosk-mode #bb-memory-item { display:none !important; } +body.kiosk-mode #bb-pve-item { display:none !important; } diff --git a/public_html/assets/js/jarvis-app.js b/public_html/assets/js/jarvis-app.js index a32bf8b..f93afaa 100644 --- a/public_html/assets/js/jarvis-app.js +++ b/public_html/assets/js/jarvis-app.js @@ -1783,11 +1783,13 @@ async function toggleKiosk() { if ("wakeLock" in navigator) { try { _wakeLock = await navigator.wakeLock.request("screen"); } catch(e) {} } + document.body.classList.add("kiosk-mode"); if (btn) { btn.textContent = "⧞ EXIT"; btn.style.color = "var(--cyan)"; } } else { const ex = document.exitFullscreen || document.webkitExitFullscreen || document.mozCancelFullScreen || document.msExitFullscreen; if (ex) ex.call(document).catch(() => {}); if (_wakeLock) { _wakeLock.release().catch(() => {}); _wakeLock = null; } + document.body.classList.remove("kiosk-mode"); if (btn) { btn.textContent = "⧞ KIOSK"; btn.style.color = ""; } if (!isTablet()) document.body.classList.remove("tablet-mode"); } @@ -1803,6 +1805,7 @@ function _onFsChange() { const btn = document.getElementById("kioskBtn"); if (!document.fullscreenElement && !document.webkitFullscreenElement) { if (_wakeLock) { _wakeLock.release().catch(() => {}); _wakeLock = null; } + document.body.classList.remove("kiosk-mode"); if (btn) { btn.textContent = "⧞ KIOSK"; btn.style.color = ""; } if (!isTablet()) document.body.classList.remove("tablet-mode"); } diff --git a/public_html/index.html b/public_html/index.html index 2f69f38..82c86f0 100644 --- a/public_html/index.html +++ b/public_html/index.html @@ -103,7 +103,7 @@
-
+
JARVIS SERVER 10.48.200.211
@@ -203,7 +203,7 @@
-
+
NETWORK STATUS
@@ -228,7 +228,7 @@
HOME
ALERTS
NEWS
-
AGENTS
+
AGENTS
SITES
INTEL
COMMS
@@ -302,15 +302,15 @@
JARVIS VM CHECKING
-
+
PROXMOX CHECKING
-
+
HOME ASSISTANT CHECKING
-
+
AGENTS --
@@ -426,12 +426,12 @@ style="position:fixed;top:-9999px;left:-9999px;width:320px;height:240px"> - - - - - - + + + + + +