diff options
author | Dan McGee <dan@archlinux.org> | 2010-02-07 16:13:07 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-02-09 03:51:44 +0100 |
commit | f445754db57f37dcb1821a9330aa238632457146 (patch) | |
tree | 863bb7453b07f3e0917f2ae1f03a9583878d6f28 | |
parent | de5b713f7301c59b7e658c85c8596fb67f33ecf6 (diff) | |
download | archweb-f445754db57f37dcb1821a9330aa238632457146.tar.gz archweb-f445754db57f37dcb1821a9330aa238632457146.tar.xz |
Make the feeds overview page suck less
There was way too much going on there before and it wasn't laid out that
well. This should be a ton better.
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | media/arch.css | 9 | ||||
-rw-r--r-- | templates/public/feeds.html | 37 |
2 files changed, 35 insertions, 11 deletions
diff --git a/media/arch.css b/media/arch.css index 05e2362..07d2638 100644 --- a/media/arch.css +++ b/media/arch.css @@ -278,6 +278,15 @@ table#art { margin-left: auto; margin-right: auto; } +table#feedlist { + text-align: center; + border-collapse: collapse; + border: 1px solid #46494d; +} +table#feedlist th, table#feedlist td { + padding: 5px; + border: 1px dotted #0771a6; +} .devpic { vertical-align: top; padding-right: 15px; diff --git a/templates/public/feeds.html b/templates/public/feeds.html index a63c9ea..a3502cf 100644 --- a/templates/public/feeds.html +++ b/templates/public/feeds.html @@ -7,18 +7,33 @@ <p>Several RSS feeds are available for consumption from the Arch website. The majority of these are package related and allow feeds to be customized for the updates you care about.</p> - <table cellspacing="20"> - <tr><td>News items feed</td> - <td><a href="/feeds/news/">Feed <img src="/media/rss.png" alt="RSS Feed" /></a></td></tr> - <tr><td>Packages feed for <em>all</em> architectures, <em>all</em> repositories</td> - <td><a href="/feeds/packages/">Feed <img src="/media/rss.png" alt="RSS Feed" /></a></td></tr> + <p>Grab the <a href="/feeds/news/">news item feed <img src="/media/rss.png" alt="RSS Feed" /></a> + to keep up-to-date with the latest news from the Arch Linux development staff.</p> + <p>If you are interested in + <a href="/feeds/packages/">all package updates <img src="/media/rss.png" alt="RSS Feed" /></a>, + then grab this feed. Note that when a package is updated for multiple + architectures, you will see each individual update show up here. + Alternatively, you can select a packages feed from the below table that is + more tailored to your specific needs. If you are only interested in one + architecture, there are a variety of feeds you can choose from. Note that + feeds for a specific architecture, such as 'i686', will also include all + package updates for 'any' (architecture-independent) packages.</p> + <table id="feedlist" class="center"> + <tr> + <th>Architecture</th> + <th>All Repos</th> + {% for repo in repos %} + <th>{{ repo }}</th> + {% endfor %} + </tr> {% for arch in arches %} - <tr><td>Packages feed for architecture {{ arch }}, <em>all</em> repositories</td> - <td><a href="/feeds/packages/{{ arch }}/">Feed <img src="/media/rss.png" alt="RSS Feed" /></a></td></tr> - {% for repo in repos %} - <tr><td>Packages feed for architecture {{ arch }}, repository {{ repo }}</td> - <td><a href="/feeds/packages/{{ arch }}/{{ repo }}/">Feed <img src="/media/rss.png" alt="RSS Feed" /></a></td></tr> - {% endfor %} + <tr> + <td><strong>{{ arch }}</strong></td> + <td><a href="/feeds/packages/{{ arch }}/">Feed <img src="/media/rss.png" alt="RSS Feed" /></a></td> + {% for repo in repos %} + <td><a href="/feeds/packages/{{ arch }}/{{ repo|lower }}/">Feed <img src="/media/rss.png" alt="RSS Feed" /></a></td> + {% endfor %} + </tr> {% endfor %} </table> </div> |