]> source.dussan.org Git - gitblit.git/commitdiff
Adjust priority & severity CSS
authorJames Moger <james.moger@gitblit.com>
Tue, 21 Oct 2014 13:33:29 +0000 (09:33 -0400)
committerJames Moger <james.moger@gitblit.com>
Tue, 21 Oct 2014 13:33:29 +0000 (09:33 -0400)
- 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

index ba6f534a7d59f17ed0a3b4cfb77886f2c4bae498..e517cfa992de567f0ce77fbd840d12376f63b632 100644 (file)
@@ -2085,67 +2085,72 @@ div.markdown table.text th, div.markdown table.text td {
     color: #815b3a;
 }\r
 .severity-catastrophic {\r
-       color:#CC79A7;\r
+       color:#D51900;\r
 }\r
 .severity-catastrophic:after {\r
        font-family: Helvetica,arial,freesans,clean,sans-serif ;\r
-       content: "Ca";\r
+       content: "S5\a●●●●●";\r
        font-weight:900;\r
-       font-size:.6em; \r
+       font-size:.45em;        \r
        font-variant:small-caps;\r
        display:flex;\r
+       white-space: pre;\r
 }\r
 .severity-critical {\r
-       color:#D55E00;\r
+       color:#D55900;\r
 }\r
 .severity-critical:after {\r
        font-family: Helvetica,arial,freesans,clean,sans-serif ;\r
-       content: "c";\r
+       content: "S4\a●●●●";\r
        font-weight:900;\r
-       font-size:.6em; \r
+       font-size:.45em;        \r
        font-variant:small-caps;\r
        display:flex;\r
+       white-space: pre;\r
 }\r
 .severity-serious {\r
        color:#E69F00;\r
 }\r
 .severity-serious:after {\r
        font-family: Helvetica,arial,freesans,clean,sans-serif ;\r
-       content: "s";\r
+       content: "  S3\a   ●●●";\r
        font-weight:900;\r
-       font-size:.6em; \r
+       font-size:.45em;        \r
        font-variant:small-caps;\r
        display:flex;\r
+       white-space: pre;\r
 }\r
 .severity-minor {\r
-       color:#0072B2;\r
+       color:#009E73;\r
 }\r
 .severity-minor:after {\r
        font-family: Helvetica,arial,freesans,clean,sans-serif ;\r
-       content: "m";\r
+       content: "   S2\a    ●●";\r
        font-weight:900;\r
-       font-size:.6em; \r
+       font-size:.45em;        \r
        font-variant:small-caps;\r
        display:flex;\r
+       white-space: pre;\r
 }\r
 .severity-negligible {\r
-       color:#009E73;\r
+       color:#0072B2;\r
 }\r
 .severity-negligible:after {\r
        font-family: Helvetica,arial,freesans,clean,sans-serif ;\r
-       content: "n";\r
+       content: "   S1\a    ●";\r
        font-weight:900;\r
-       font-size:.6em; \r
+       font-size:.45em;        \r
        font-variant:small-caps;\r
        display:flex;\r
+       white-space: pre;\r
 }\r
 .severity-unrated {\r
 }\r
 .priority-urgent {\r
-       color:#CC79A7;\r
+       color:#D51900;\r
 }\r
 .priority-high {\r
-       color:#D55E00;\r
+       color:#D55900;\r
 }\r
 .priority-normal {\r
 }\r