From e596be66a2aa81a69b6308d03af2b8b7203e0c7b Mon Sep 17 00:00:00 2001 From: kdeterme Date: Mon, 31 Aug 2026 14:13:56 +0200 Subject: [PATCH] style: update note type badge color schemes to improve visual categorization --- loko/interventions/models.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/loko/interventions/models.py b/loko/interventions/models.py index f3779d1..4a7910a 100644 --- a/loko/interventions/models.py +++ b/loko/interventions/models.py @@ -1229,10 +1229,10 @@ class InterventionNote(models.Model): OTHER = "other", _("Autre") NOTE_TYPE_STYLES = { - NoteType.WORK_DONE: {"badge_class": "bg-transparent text-secondary border border-secondary", "icon_class": "bi-clipboard-check"}, - NoteType.MATERIAL: {"badge_class": "bg-transparent text-secondary border border-secondary", "icon_class": "bi-box-seam"}, - NoteType.EQUIPMENT: {"badge_class": "bg-transparent text-secondary border border-secondary", "icon_class": "bi-tools"}, - NoteType.IMPORTANT_INFO: {"badge_class": "bg-transparent text-secondary border border-secondary", "icon_class": "bi-exclamation-octagon-fill"}, + NoteType.WORK_DONE: {"badge_class": "bg-transparent text-success border border-success", "icon_class": "bi-clipboard-check"}, + NoteType.MATERIAL: {"badge_class": "bg-transparent text-warning-emphasis border border-warning", "icon_class": "bi-box-seam"}, + NoteType.EQUIPMENT: {"badge_class": "bg-transparent text-warning-emphasis border border-warning", "icon_class": "bi-tools"}, + NoteType.IMPORTANT_INFO: {"badge_class": "bg-transparent text-danger border border-danger", "icon_class": "bi-exclamation-octagon-fill"}, NoteType.ORIGIN: {"badge_class": "bg-transparent text-secondary border border-secondary", "icon_class": "bi-flag-fill"}, NoteType.COMMENT: {"badge_class": "bg-transparent text-secondary border border-secondary", "icon_class": "bi-chat-dots"}, NoteType.OTHER: {"badge_class": "bg-transparent text-secondary border border-secondary", "icon_class": "bi-sticky"},