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 @@
+
-