[Python-checkins] r62813 - in tracker/instances/python-dev/html: issue.index.html style.css
martin.v.loewis
python-checkins at python.org
Wed May 7 07:20:28 CEST 2008
Author: martin.v.loewis
Date: Wed May 7 07:20:27 2008
New Revision: 62813
Log:
Issue #204: Make the item list display in alternating
background colors.
Modified:
tracker/instances/python-dev/html/issue.index.html
tracker/instances/python-dev/html/style.css
Modified: tracker/instances/python-dev/html/issue.index.html
==============================================================================
--- tracker/instances/python-dev/html/issue.index.html (original)
+++ tracker/instances/python-dev/html/issue.index.html Wed May 7 07:20:27 2008
@@ -49,7 +49,7 @@
</th>
</tr>
- <tr>
+ <tr tal:attributes="class python:['even','odd'][repeat['i'].even()]">
<td tal:condition="request/show/severity"
tal:content="python:i.severity.plain() or default"> </td>
<td tal:condition="request/show/id" tal:content="i/id"> </td>
Modified: tracker/instances/python-dev/html/style.css
==============================================================================
--- tracker/instances/python-dev/html/style.css (original)
+++ tracker/instances/python-dev/html/style.css Wed May 7 07:20:27 2008
@@ -146,7 +146,7 @@
padding: 2px;
border-spacing: 5px;
border-collapse: collapse;
-/* background-color: #f5f5f5; */
+/* background-color: #e0e0e0; */
margin: 5px;
}
@@ -197,7 +197,7 @@
table.list th {
padding: 0 4px 0 4px;
color: #234764;
- background-color: #f5f5f5;
+ background-color: #e0e0e0;
border: 1px solid white;
vertical-align: top;
empty-cells: show;
@@ -207,10 +207,14 @@
table.list th a[href] { color: #404070 }
table.list th.group
{
- background-color: #f5f5f5;
+ background-color: #e0e0e0;
text-align: center;
}
+table.list tr.even td {
+ background-color: #f0f0f0;
+}
+
table.list td {
padding: 0 4px 0 4px;
border: 1px solid white;
More information about the Python-checkins
mailing list