Commit 4fc36de2 authored by eliott's avatar eliott
Browse files

Added alternating row coloration to make it easier to relate left to right

side items.
parent f523a9d5
......@@ -26,12 +26,12 @@ <h3 class="title">Package ToDo Lists</h3>
<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">Repository Package Stats</h3>
<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>
......
......@@ -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>
......
......@@ -17,7 +17,7 @@ <h2 class="title">Package ToDo lists</h2>
<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>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment