From c8186c9f8833e16c37292630d14c7a1d0cd625d7 Mon Sep 17 00:00:00 2001 From: Brummel Date: Tue, 21 Apr 2026 14:41:57 +0200 Subject: [PATCH] =?UTF-8?q?style:=20align=20badge=20colors=20=E2=80=94=20o?= =?UTF-8?q?pen=20hellblau,=20Fehler=20capitalised?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - my_cases.html: `.status-badge.open` from red (#e24a4a) to blue (#4a90e2), matching case_page.html (which was already blue) and the reopen-btn accent. Resolves the cross-template inconsistency and frees red for the Fehler-Badge. - Both templates: `.status-badge.fehler` from deep red (#c00) to the established system red (#e24a4a), already used by `.bulk-bar.purge` and `.delete-btn:hover`. - Badge label capitalised: "fehler" → "Fehler" (user-facing string only; CSS class stays `.fehler`). --- server/templates/case_page.html | 4 ++-- server/templates/my_cases.html | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/server/templates/case_page.html b/server/templates/case_page.html index 1f66aed..692ec4e 100644 --- a/server/templates/case_page.html +++ b/server/templates/case_page.html @@ -68,7 +68,7 @@ background: #7ed321; } .status-badge.fehler { - background: #c00; + background: #e24a4a; } .actions { margin: 1em 0 1.5em; @@ -259,7 +259,7 @@

{% call ol::render(oneliner) %} {% if has_failed_recording - %}fehler{% else if + %}Fehler{% else if has_document %}ausgewertet{% else %}offen{% endif %} diff --git a/server/templates/my_cases.html b/server/templates/my_cases.html index 938c0e1..edf48a9 100644 --- a/server/templates/my_cases.html +++ b/server/templates/my_cases.html @@ -30,9 +30,9 @@ section h2 .count { font-weight: normal; font-size: 0.85em; color: #888; } .case-row .line2 { margin: 0.2em 0 0; color: #555; font-size: 0.95em; display: flex; align-items: center; gap: 0.5em; } .case-row .uuid { color: #999; font-family: monospace; font-size: 0.7em; margin-top: 0.2em; } .status-badge { display: inline-block; padding: 0.05em 0.5em; border-radius: 999px; font-size: 0.75em; font-weight: bold; color: white; } -.status-badge.open { background: #e24a4a; } +.status-badge.open { background: #4a90e2; } .status-badge.done { background: #7ed321; } -.status-badge.fehler { background: #c00; } +.status-badge.fehler { background: #e24a4a; } .case-row .actions { display: flex; gap: 0.4em; align-items: center; } .case-row .actions button { font-size: 0.85em; padding: 0.35em 0.8em; } .case-row .actions .delete-btn { padding: 0.3em; background: transparent; border: none; color: #888; cursor: pointer; display: inline-flex; align-items: center; line-height: 0; border-radius: 4px; transition: color 0.15s, background 0.15s; } @@ -97,7 +97,7 @@ try {