style: update NoteType badge classes to use secondary text color
This commit is contained in:
parent
e596be66a2
commit
2d5166e3f3
1 changed files with 4 additions and 4 deletions
|
|
@ -1229,10 +1229,10 @@ class InterventionNote(models.Model):
|
||||||
OTHER = "other", _("Autre")
|
OTHER = "other", _("Autre")
|
||||||
|
|
||||||
NOTE_TYPE_STYLES = {
|
NOTE_TYPE_STYLES = {
|
||||||
NoteType.WORK_DONE: {"badge_class": "bg-transparent text-success border border-success", "icon_class": "bi-clipboard-check"},
|
NoteType.WORK_DONE: {"badge_class": "bg-transparent text-secondary 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.MATERIAL: {"badge_class": "bg-transparent text-secondary 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.EQUIPMENT: {"badge_class": "bg-transparent text-secondary 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.IMPORTANT_INFO: {"badge_class": "bg-transparent text-secondary 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.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.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"},
|
NoteType.OTHER: {"badge_class": "bg-transparent text-secondary border border-secondary", "icon_class": "bi-sticky"},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue