diff options
author | eliott <eliott@cactuswax.net> | 2007-12-30 17:44:27 -0500 |
---|---|---|
committer | eliott <eliott@cactuswax.net> | 2007-12-30 17:44:27 -0500 |
commit | 4fc36de2ae6537170541c199eabd8d1270a273c9 (patch) | |
tree | ec69119b50507328f9375860a66d4aeb105acab4 | |
parent | f523a9d577aa88fea37ef7e4e2a9c484d14e5cde (diff) |
Added alternating row coloration to make it easier to relate left to right
side items.
-rw-r--r-- | templates/devel/index.html | 8 | ||||
-rw-r--r-- | templates/news/list.html | 2 | ||||
-rw-r--r-- | templates/todolists/list.html | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/templates/devel/index.html b/templates/devel/index.html index 0c468cee..4cd95585 100644 --- a/templates/devel/index.html +++ b/templates/devel/index.html @@ -26,12 +26,12 @@ <h3 class="title">Repository Package Stats</h3> <table class="results" width="100%"> <tr> - <th>Repository</th> + <th width="50%">Repository</th> <th># Package</th> <th># Flagged</th> </tr> {% for repo in repos %} - <tr> + <tr class="{% cycle pkgr2,pkgr1 %}"> <td><a href="/packages/?repo={{ repo.name }}">{{ repo.name }}</a></td> <td><strong>{{ repo.count }}</strong> packages</td> <td><strong>{{ repo.flagged }}</strong> packages</td> @@ -45,12 +45,12 @@ <h3 class="title">Maintainer Package Stats</h3> <table class="results" width="100%"> <tr> - <th>Maintainer</th> + <th width="50%">Maintainer</th> <th># Package</th> <th># Flagged</th> </tr> {% for maint in stats %} - <tr> + <tr class="{% cycle pkgr2,pkgr1 %}"> <td><a href="/packages/?maint={{ maint.0.id }}">{{ maint.0.get_full_name }}</a></td> <td><strong>{{ maint.1 }}</strong> packages</td> <td><strong>{{ maint.2 }}</strong> packages</td> diff --git a/templates/news/list.html b/templates/news/list.html index e188e3c9..a6780f3f 100644 --- a/templates/news/list.html +++ b/templates/news/list.html @@ -10,7 +10,7 @@ <h2 class="title">News Updates</h2> <table class="results" width="100%"> {% for item in news %} - <tr> + <tr class="{% cycle pkgr2,pkgr1 %}"> <td>{{ item.postdate }}</td> <td><a href="{{ item.get_absolute_url }}">{{ item.title }}</a></td> <td> diff --git a/templates/todolists/list.html b/templates/todolists/list.html index 0e659f93..980328ab 100644 --- a/templates/todolists/list.html +++ b/templates/todolists/list.html @@ -17,7 +17,7 @@ <th>Status</th> </tr> {% for list in lists %} - <tr> + <tr class="{% cycle pkgr2,pkgr1 %}"> <td style="white-space:nowrap"><a href="/todo/{{ list.id }}/">{{ list.name }}</a></td> <td>{{ list.date_added }}</td> <td>{{ list.creator.get_full_name }}</td> |