From 68e977d7494ba4ef09b001d376ce7c2d202fe3dd Mon Sep 17 00:00:00 2001 From: FreneticScribbler Date: Wed, 4 Dec 2019 21:28:03 +0000 Subject: [PATCH] CHANGE: Further tweak colouration Red is for broken/lost - things we should have but don't Yellow is for sold/scrapped - things we had but don't have on purpose Blue is not built yet because... I don't have a reason for that one. --- assets/templates/partials/asset_list_table_body.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/assets/templates/partials/asset_list_table_body.html b/assets/templates/partials/asset_list_table_body.html index a886086c..11b9650b 100644 --- a/assets/templates/partials/asset_list_table_body.html +++ b/assets/templates/partials/asset_list_table_body.html @@ -4,11 +4,13 @@ {% if item.status.name == 'Broken' %} danger {% elif item.status.name == 'Scrapped'%} - danger + warning + {% elif item.status.name == 'Sold'%} + warning {% elif item.status.name == 'Lost'%} - warning + danger {% elif item.status.name == 'Not Built Yet'%} - warning + info {% elif item.status.name == 'Active'%} success {% endif %}