]> git.ozlabs.org Git - patchwork/commitdiff
Zebra-stripe the patch list
authorJeremy Kerr <jk@ozlabs.org>
Fri, 22 Aug 2008 06:17:44 +0000 (14:17 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Fri, 22 Aug 2008 06:17:44 +0000 (14:17 +0800)
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
htdocs/css/style.css
templates/patchwork/patch-list.html

index 4992777960d4885e5307f147779294c9d517eeec..fe44099a7ff52a409365047a09457eaba50ee913 100644 (file)
@@ -138,7 +138,7 @@ table.patchlist tr.odd {
 }
 
 table.patchlist tr.even {
-       background: #eeeeee;
+       background: #e8e8e8;
 }
 
 a.colactive {
index 0a15e9c7b39eec98aa11095afa55df8b3ab0661e..a0a8cec98a7c579bbcb729302626f33fa6774352 100644 (file)
@@ -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}}"/>