From d9ff48b5be7269198b527eed81aa7d45f9ef003e Mon Sep 17 00:00:00 2001 From: Axel Hocks Date: Wed, 19 Aug 2026 17:07:49 +0200 Subject: [PATCH] Knopf 'STOPP' in 'CIRCUIT BREAKER' umbenannt (v=179) Nur Beschriftung: Button-Label, Toast-Text und die beiden Tooltip-Varianten. Funktion, Endpunkt und Persistenz unveraendert. Dazu eine CSS-Zeile, damit das laengere Label auf schmalen Displays umbricht statt ueberzulaufen -- sechs Knoepfe teilen sich die Leistenbreite. Co-Authored-By: Claude Opus 5 --- web/app.js | 6 +++--- web/index.html | 6 +++--- web/style.css | 4 ++++ 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/web/app.js b/web/app.js index 329ce6a..67d3bbc 100644 --- a/web/app.js +++ b/web/app.js @@ -1159,9 +1159,9 @@ function render(d) { if (cbb) { cbb.classList.toggle("on", !!cb.enabled); cbb.title = cb.enabled - ? "Tagesverlust-Stopp AN: schliesst bei " + fmt(cb.limit_eur, 2) + " € (" + ? "Circuit Breaker AN: schliesst bei " + fmt(cb.limit_eur, 2) + " € (" + cb.limit_pct + " % der Balance). Heute: " + fmt(cb.day_total, 2) + " €." - : "Tagesverlust-Stopp AUS — kein automatischer Schutz gegen eine Verlust-Serie."; + : "Circuit Breaker AUS — kein automatischer Schutz gegen eine Verlust-Serie."; } // ⚠⚠ Der 🎯 SIG-Button ist am 2026-08-12 ENTFERNT (User-Entscheidung). Der // autonome Entry auf die Empfehlung war seit dem 01.08. aus und auf BEIDEN @@ -1736,7 +1736,7 @@ $("mute-btn").onclick = () => { _updateMuteBtn(); // Toggle-Buttons (AUTO/TRAIL/S-R-Close) — ohne Bestätigung -$("btn-cb").onclick = () => toggle("api/circuit", "Tagesverlust-Stopp"); +$("btn-cb").onclick = () => toggle("api/circuit", "Circuit Breaker"); $("btn-sr").onclick = () => toggle("api/srclose", "S/R-Auto-Close"); // (🎯 SIG entfernt 2026-08-12 — s. renderOrderButtons oben) $("btn-trail").onclick = () => toggle("api/trail", "Trailing"); diff --git a/web/index.html b/web/index.html index 876fdd0..18f8346 100644 --- a/web/index.html +++ b/web/index.html @@ -12,7 +12,7 @@ ⚠ LOKAL eingebunden, kein CDN: die PWA laeuft ueber WireGuard und muss offline funktionieren. --> - + @@ -347,7 +347,7 @@ - +