+
@@ -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');