ui: Dringlichkeitsfarben getauscht - normal gruen, niedrig grau statt gelb/gruen

Gelb fuer "normal" wirkte zu warnend fuer einen unauffaelligen Regelfall.
normal ist jetzt gruen, niedrig (unwichtig) grau - hoch (orange) und notfall
(rot) unveraendert. Betrifft Leitstand, Dashboard und Deck-Labels.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EbdWYnDtyMgxsq4eN1WnrQ
This commit is contained in:
Jeuner 2026-08-28 18:20:36 +02:00
parent 07010fbfdf
commit 8e54a58f13
3 changed files with 4 additions and 4 deletions

View file

@ -14,7 +14,7 @@ from pathlib import Path
from . import config, kategorien from . import config, kategorien
RANG = {"notfall": 0, "hoch": 1, "normal": 2, "niedrig": 3} RANG = {"notfall": 0, "hoch": 1, "normal": 2, "niedrig": 3}
FARBE = {"notfall": "#E9322D", "hoch": "#E0A339", "normal": "#C9A227", "niedrig": "#31CC7C"} FARBE = {"notfall": "#E9322D", "hoch": "#E0A339", "normal": "#31CC7C", "niedrig": "#8A93A3"}
KAT_LABEL = kategorien.KATEGORIE_LABEL KAT_LABEL = kategorien.KATEGORIE_LABEL

View file

@ -24,8 +24,8 @@ _API = "/index.php/apps/deck/api/v1.1"
# Farben (6-stelliges Hex ohne #) je Dringlichkeit. # Farben (6-stelliges Hex ohne #) je Dringlichkeit.
DRINGLICHKEIT_FARBE = { DRINGLICHKEIT_FARBE = {
"niedrig": "31CC7C", # grün "niedrig": "8A93A3", # grau
"normal": "F1DB50", # gelb "normal": "31CC7C", # grün
"hoch": "E0A339", # orange "hoch": "E0A339", # orange
"notfall": "E9322D", # rot "notfall": "E9322D", # rot
} }

View file

@ -602,7 +602,7 @@ color:var(--gut);border-radius:999px;padding:1px 8px;font-size:11px;font-weight:
</div> </div>
</div> </div>
<script> <script>
const FARBE={notfall:'#d93a34',hoch:'#e08a2a',normal:'#c8a227',niedrig:'#1f9d5c'}; const FARBE={notfall:'#d93a34',hoch:'#e08a2a',normal:'#1f9d5c',niedrig:'#8a93a3'};
const KAT=__KAT_JSON__; const KAT=__KAT_JSON__;
const esc=s=>String(s??'').replace(/[&<>"]/g,c=>({'&':'&amp;','<':'&lt;','>':'&gt;','"':'&quot;'}[c])); const esc=s=>String(s??'').replace(/[&<>"]/g,c=>({'&':'&amp;','<':'&lt;','>':'&gt;','"':'&quot;'}[c]));
let STAPEL=[], ANRUFE=[], offeneTranskripte=new Set(), pausiert=false; let STAPEL=[], ANRUFE=[], offeneTranskripte=new Set(), pausiert=false;