summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media/archweb.css8
-rw-r--r--templates/releng/result_list.html2
2 files changed, 9 insertions, 1 deletions
diff --git a/media/archweb.css b/media/archweb.css
index be455680..92487d93 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 0233bf8c..845d330d 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>