style: update note type badge color schemes to improve visual categorization
This commit is contained in:
parent
9181c1ab23
commit
e596be66a2
1 changed files with 4 additions and 4 deletions
|
|
@ -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"},
|
||||
|
|
|
|||
Loading…
Reference in a new issue