summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-04-27 09:57:08 -0500
committerDan McGee <dan@archlinux.org>2012-04-27 09:59:38 -0500
commitbaaa14dfc06cf8c381363883ebf4fd805b348e34 (patch)
treefc209714704d7aa76d2b063ad561fe795a14efd9
parent80e7d19726a95b40727b7f35b9ad80b436b14b93 (diff)
Flip package update feeds table orientation
Most of the time, more rows is better than more columns, and there are more repositories than architectures. Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--templates/public/feeds.html18
1 files changed, 11 insertions, 7 deletions
diff --git a/templates/public/feeds.html b/templates/public/feeds.html
index 0f80e1c2..b4214b1b 100644
--- a/templates/public/feeds.html
+++ b/templates/public/feeds.html
@@ -35,19 +35,23 @@
<table class="pretty2">
<thead>
<tr>
- <th>Architecture</th>
- <th>All Repos</th>
- {% for repo in repos %}
- <th>{{ repo }}</th>
+ <th></th>
+ {% for arch in arches %}
+ <th>{{ arch }}</th>
{% endfor %}
</tr>
</thead>
<tbody>
- {% for arch in arches %}
<tr>
- <td><strong>{{ arch }}</strong></td>
+ <td><strong>All Repos</strong></td>
+ {% for arch in arches %}
<td><a href="/feeds/packages/{{ arch }}/" class="rss">Feed</a></td>
- {% for repo in repos %}
+ {% endfor %}
+ </tr>
+ {% for repo in repos %}
+ <tr>
+ <td><strong>{{ repo }}</strong></td>
+ {% for arch in arches %}
<td><a href="/feeds/packages/{{ arch }}/{{ repo|lower }}/" class="rss">Feed</a></td>
{% endfor %}
</tr>