aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2008-08-22 14:17:44 +0800
committerJeremy Kerr <jk@ozlabs.org>2008-08-22 14:17:44 +0800
commit053c7a136bb8f2c3310708af4340aa7a2a6117e7 (patch)
treea7cc5e929c1382ca07a5a307902a35851c439c80
parent6c05b0fcd8cdaaeadc5de7c3d575dd3be88e43d4 (diff)
downloadpatchwork-053c7a136bb8f2c3310708af4340aa7a2a6117e7.tar
patchwork-053c7a136bb8f2c3310708af4340aa7a2a6117e7.tar.gz
Zebra-stripe the patch list
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
-rw-r--r--htdocs/css/style.css2
-rw-r--r--templates/patchwork/patch-list.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/htdocs/css/style.css b/htdocs/css/style.css
index 4992777..fe44099 100644
--- a/htdocs/css/style.css
+++ b/htdocs/css/style.css
@@ -138,7 +138,7 @@ table.patchlist tr.odd {
}
table.patchlist tr.even {
- background: #eeeeee;
+ background: #e8e8e8;
}
a.colactive {
diff --git a/templates/patchwork/patch-list.html b/templates/patchwork/patch-list.html
index 0a15e9c..a0a8cec 100644
--- a/templates/patchwork/patch-list.html
+++ b/templates/patchwork/patch-list.html
@@ -68,7 +68,7 @@
{% if page %}
{% for patch in page.object_list %}
- <tr>
+ <tr class="{% cycle 'odd' 'even' %}">
{% if patchform or bundle %}
<td>
<input type="checkbox" name="patch_id:{{patch.id}}"/>