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 <noreply@anthropic.com>
This commit is contained in:
Axel Hocks
2026-08-19 17:07:49 +02:00
co-authored by Claude Opus 5
parent c0293ece01
commit d9ff48b5be
3 changed files with 10 additions and 6 deletions
+3 -3
View File
@@ -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");