evorepo/templates/public/index.html
Dan McGee b2f33457f6 Make recent updates group multiple architectures
It isn't the most elegant operation in the world, but attempt to only show
one line per package, grouping by architecture if multiple were updated in
the same go. This makes the recent packages view a bit more useful as a
heads up view. Implements FS#17304.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-05 17:03:35 -06:00

124 lines
6.3 KiB
HTML

{% extends "base.html" %}
{% block head %}
<link rel="alternate" type="application/rss+xml" title="Arch Linux News Updates" href="/feeds/news/" />
<link rel="alternate" type="application/rss+xml" title="Arch Linux Package Updates" href="/feeds/packages/" />
{% endblock %}
{% block content_left %}
<div id="about" class="box">
<h2>Welcome to Arch!</h2>
<p>
You've reached the website for <strong>Arch Linux</strong>, a lightweight
and flexible Linux&reg; distribution that tries to Keep It Simple.
</p><p>
Currently we have official packages optimized for the i686 and x86-64
architectures. We complement our official package sets with a
<a href="http://aur.archlinux.org">community-operated package repository</a>
that grows in size and quality each and every day.
</p><p>
Our strong community is diverse and helpful, and we pride ourselves on
the range of skillsets and uses for Arch that stem from it. Please
check out our <a href="http://bbs.archlinux.org">forums</a> and
<a href="http://www.archlinux.org/mailman/listinfo/">mailing lists</a>
to get your feet wet. Also glance through our <a href="http://wiki.archlinux.org">wiki</a>
if you want to learn more about Arch.
</p><p style="text-align: right">
<a href="/about/"><span style="font-size:x-small">Learn more...</span></a>
</p>
</div>
<br /><br />
<div style="float:right;position:relative;bottom:-25px">
<a href="/feeds/news/"><img src="/media/rss.png" alt="RSS Feed" /></a>
</div>
<h2 class="title">Latest News</h2>
<div>
{% for news in news_updates %}
<br />
<span style="float:right; font-size:x-small">{{ news.postdate }}</span>
<h4 class="news"><a href="{{ news.get_absolute_url }}">{{ news.title }}</a></h4>
<p class="news">{{ news.content|striptags|truncatewords:60 }}</p>
<br />
{% endfor %}
<span style="float:right;font-size:x-small"><a href="/news/">More News...</a></span>
<br /><br />
</div>
{% endblock %}
{% block content_right %}
<div id="search">
<form method="get" action="/packages/">
<p>Package Search:&nbsp;&nbsp;<input type="text" name="q" size="20" maxlength="200" /></p>
</form>
</div>
<div id="updates">
<table width="100%">
<tr>
<td><h3>Recent Updates</h3></td>
<td style="vertical-align:top;text-align:right"><a href="/feeds/packages/"><img src="/media/rss.png" alt="RSS Feed" /></a></td>
</tr>
{% for pkg in pkg_updates %}
<tr>
<td><a href="{{ pkg.get_absolute_url }}" class="{{ pkg.repo.name|lower }}">{{ pkg.pkgname }} {{ pkg.pkgver }}-{{ pkg.pkgrel }}</a></td>
<td style="text-align:right">{{ pkg.allarches }}</td>
</tr>
{% endfor %}
<tr>
<td style="font-size:x-small"><br /><a href="/feeds/">More Feeds...</a></td>
<td style="text-align:right;font-size:x-small"><br /><a href="/packages/?sort=-last_update">More Updates...</a></td>
</tr>
</table>
</div>
<br />
{% if user.is_authenticated %}
<h3>Dev Links:</h3>
<ul class="links">
<li><a href="/devel/">Dev Dashboard</a></li>
<li><a href="/news/">News</a></li>
<li><a href="/packages/signoffs/">Signoffs</a></li>
<li><a href="/todo/">Todos</a></li>
<li><a href="http://www.archlinux.org/mailman/private/arch-dev/">Archives</a></li>
<li><a href="http://wiki.archlinux.org/index.php/DeveloperWiki:HOWTO_Be_A_Packager">Package Maintainer's Guide</a></li>
<li><a href="/devel/profile/">Profile</a></li>
</ul>
{% endif %}
<h3>Documentation:</h3>
<ul class="links">
<li><a href="http://wiki.archlinux.org/index.php/Official_Arch_Linux_Install_Guide">Installation Guide</a></li>
<li><a href="http://wiki.archlinux.org/index.php/Beginners'_Guide">Beginners' Guide</a></li>
<li><a href="http://wiki.archlinux.org">Wiki</a></li>
</ul>
<h3>Support Arch:</h3>
<ul class="links">
<li><a href="/donate/">Donate</a></li>
<li><a href="http://schwag.archlinux.ca/"
title="USB keys, Jewellery, case badges">Arch Schwag</a></li>
<li><a href="http://www.zazzle.com/archlinux*"
title="T-shirts, mugs, mouse pads, hoodies, posters, skateboards, shoes, etc.">Schwag via Zazzle</a></li>
<li><a href="http://www.freewear.org/?page=list_items&amp;org=Archlinux"
title="T-shirts">Schwag via Freewear</a></li>
<li><a href="/art/">Logos &amp; Artwork</a></li>
</ul>
<h3>Community Links:</h3>
<ul class="links">
<li><a href="http://www.archlinux.org/mailman/listinfo/">Mailing Lists</a></li>
<li><a href="/irc/">IRC Channels</a></li>
<li><a href="http://planet.archlinux.org">Planet Arch</a></li>
<li><a href="/static/newsletters/">Newsletters</a></li>
<li><a href="/projects/">Arch-Based Projects</a></li>
<li><a href="/moreforums/">International Communities</a></li>
<li><a href="http://wiki.archlinux.org/index.php/Arch_Linux_Press_Review">Press</a></li>
</ul>
<h3>Development:</h3>
<ul class="links">
<li><a href="/developers/">Developers</a></li>
<li><a href="/trustedusers/">Trusted Users</a></li>
<li><a href="/fellows/">Fellows</a></li>
<li><a href="http://bugs.archlinux.org">Bug Tracker</a></li>
<li><a href="/svn/">SVN</a></li>
<li><a href="http://projects.archlinux.org">Projects</a></li>
</ul>
<a href="http://www.velocitynetwork.net/?hosting_by=ArchLinux" title="velocity network"><img src="/media/vnet_button.png" class="" title="" alt="velocity network - it's about time" /></a>
<a href="https://www.sevenl.net/?utm_source=archlinux-org&amp;utm_medium=sponsored-banner&amp;utm_campaign=thanks-to-sevenl" title="SevenL Networks - Dedicated Arch Linux servers"><img src="/media/sevenl_button.png" class="" title="A big Thank You to SevenL Networks for their generous contribution" alt="We would like to express our thanks to SevenL Networks for their generous contribution" /></a>
{% endblock %}