diff options
-rw-r--r-- | media/archweb.css | 8 | ||||
-rw-r--r-- | templates/releng/result_list.html | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/media/archweb.css b/media/archweb.css index be45568..92487d9 100644 --- a/media/archweb.css +++ b/media/archweb.css @@ -930,6 +930,14 @@ ul.admin-actions { position: relative; top: -0.9em; } +#releng-result .success-yes { + color: green; +} + +#releng-result .success-no { + color: red; +} + /* highlight current website in the navbar */ #archnavbar.anb-home ul li#anb-home a, #archnavbar.anb-packages ul li#anb-packages a, diff --git a/templates/releng/result_list.html b/templates/releng/result_list.html index 0233bf8..845d330 100644 --- a/templates/releng/result_list.html +++ b/templates/releng/result_list.html @@ -26,7 +26,7 @@ <td>{{ test.user_name }}</td> <td>{{ test.created|date }}</td> <td>{{ test.architecture }}</td> - <td>{{ test.success|yesno|capfirst }}</td> + <td><span class="success-{{ test.success|yesno }}">{{ test.success|yesno|capfirst }}</span></td> </tr> {% endfor %} </tbody> |