From 997edf95e627b72c4ae2d17de5012dd2eec58f39 Mon Sep 17 00:00:00 2001 From: James Moger Date: Tue, 21 Oct 2014 09:33:29 -0400 Subject: [PATCH] Adjust priority & severity CSS - Severity: more severe are ROY, less severe are GB - Replaced first-letter of severity with S# and show # dots - Priority: higher priorityare RO, lower priority is B I really like the 'C, 'CA' idea but that will definitely lead to translation questions. The S# approach will still generate the same complaints, but at least it is more generic. --- src/main/resources/gitblit.css | 37 +++++++++++++++++++--------------- 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/src/main/resources/gitblit.css b/src/main/resources/gitblit.css index ba6f534a..e517cfa9 100644 --- a/src/main/resources/gitblit.css +++ b/src/main/resources/gitblit.css @@ -2085,67 +2085,72 @@ div.markdown table.text th, div.markdown table.text td { color: #815b3a; } .severity-catastrophic { - color:#CC79A7; + color:#D51900; } .severity-catastrophic:after { font-family: Helvetica,arial,freesans,clean,sans-serif ; - content: "Ca"; + content: "S5\a●●●●●"; font-weight:900; - font-size:.6em; + font-size:.45em; font-variant:small-caps; display:flex; + white-space: pre; } .severity-critical { - color:#D55E00; + color:#D55900; } .severity-critical:after { font-family: Helvetica,arial,freesans,clean,sans-serif ; - content: "c"; + content: "S4\a●●●●"; font-weight:900; - font-size:.6em; + font-size:.45em; font-variant:small-caps; display:flex; + white-space: pre; } .severity-serious { color:#E69F00; } .severity-serious:after { font-family: Helvetica,arial,freesans,clean,sans-serif ; - content: "s"; + content: " S3\a ●●●"; font-weight:900; - font-size:.6em; + font-size:.45em; font-variant:small-caps; display:flex; + white-space: pre; } .severity-minor { - color:#0072B2; + color:#009E73; } .severity-minor:after { font-family: Helvetica,arial,freesans,clean,sans-serif ; - content: "m"; + content: " S2\a ●●"; font-weight:900; - font-size:.6em; + font-size:.45em; font-variant:small-caps; display:flex; + white-space: pre; } .severity-negligible { - color:#009E73; + color:#0072B2; } .severity-negligible:after { font-family: Helvetica,arial,freesans,clean,sans-serif ; - content: "n"; + content: " S1\a ●"; font-weight:900; - font-size:.6em; + font-size:.45em; font-variant:small-caps; display:flex; + white-space: pre; } .severity-unrated { } .priority-urgent { - color:#CC79A7; + color:#D51900; } .priority-high { - color:#D55E00; + color:#D55900; } .priority-normal { } -- 2.39.5