From 394abb58bec6d48808812f3d18c3c30bd76ea917 Mon Sep 17 00:00:00 2001 From: duffyduck Date: Sun, 19 Apr 2026 16:27:56 +0200 Subject: [PATCH] fix: Runtime-Config Layout + Eye-Toggle fuer Token-Felder MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Eingabefelder haben jetzt width:100% + box-sizing:border-box, keine Ueberlappung mehr im Grid - Token-Felder haben einen Augen-Button daneben (👁/👀) zum Anzeigen/Verbergen des Inhalts - Kleineres Label-Grid (140px statt 150px), grosszuegigerer Gap Co-Authored-By: Claude Opus 4.7 (1M context) --- diagnostic/index.html | 33 +++++++++++++++++++++++++++------ 1 file changed, 27 insertions(+), 6 deletions(-) diff --git a/diagnostic/index.html b/diagnostic/index.html index d36ea11..538c519 100644 --- a/diagnostic/index.html +++ b/diagnostic/index.html @@ -533,20 +533,26 @@ (Diagnostic-Container bleibt auf ENV).
-
+
- + - + - - +
+ + +
- +
+ + +
@@ -1498,6 +1504,21 @@ send({ action: 'send_voice_config', defaultVoice, highlightVoice, ttsEnabled, speedRamona, speedThorsten, ttsEngine, xttsVoice, whisperModel }); } + // ── Passwort-Feld Anzeigen/Verbergen ───────────────────── + function toggleSecret(inputId, btn) { + const el = document.getElementById(inputId); + if (!el) return; + if (el.type === 'password') { + el.type = 'text'; + btn.innerHTML = '👀'; // 👀 + btn.title = 'Verbergen'; + } else { + el.type = 'password'; + btn.innerHTML = '👁'; // 👁 + btn.title = 'Anzeigen'; + } + } + // ── Runtime-Konfiguration ───────────────────── async function loadRuntimeConfig() { const statusEl = document.getElementById('rc-status');