summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-08-19 13:08:26 -0500
committerDan McGee <dan@archlinux.org>2011-08-19 13:08:26 -0500
commit5e5182ba9b727e112b3bd16f94f41a2fc5847804 (patch)
tree09fc20843f10c731606bcb0d510b0e432e63e3ca
parent6b15298483db6be873edc72c3e96fd5668a3cbc3 (diff)
Add color to releng results success columnrelease_2011-08-19
Signed-off-by: Dan McGee <dan@archlinux.org>
-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>