From 7619444556f01073291fa00501ad4519e9bfc969 Mon Sep 17 00:00:00 2001 From: Naiel <109038805+naielv@users.noreply.github.com> Date: Mon, 23 Feb 2026 15:10:03 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20A=C3=B1adir=20funcionalidad=20para=20al?= =?UTF-8?q?ternar=20la=20visibilidad=20del=20men=C3=BA=20en=20la=20interfa?= =?UTF-8?q?z?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app_modules.js | 6 ++++++ src/index.html | 8 ++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/app_modules.js b/src/app_modules.js index a91fc82..ccc543d 100644 --- a/src/app_modules.js +++ b/src/app_modules.js @@ -1789,6 +1789,12 @@ if (couchHost) { } const statusImg = document.getElementById('connectStatus'); +statusImg.onclick = () => { + var ribbon = document.getElementById('ribbon-content'); + var alternative_ribbon = document.getElementById('ribbon-content-alternative'); + ribbon.style.display = ribbon.style.display === 'none' ? 'block' : 'none'; + alternative_ribbon.style.display = alternative_ribbon.style.display === 'none' ? 'block' : 'none'; +} function updateStatusOrb() { const now = Date.now(); const recentSync = window.TELESEC_LAST_SYNC && now - window.TELESEC_LAST_SYNC <= 3000; diff --git a/src/index.html b/src/index.html index 3c81648..22a791f 100644 --- a/src/index.html +++ b/src/index.html @@ -14,9 +14,9 @@
+
-