summaryrefslogtreecommitdiff
path: root/templates/public/index.html
blob: 95ea53fde8afb1c428405b12b493d734d21e257d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
{% 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 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/search/">
			<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 }}">{{ pkg.pkgname }} {{ pkg.pkgver }}-{{ pkg.pkgrel }}</a></td>
				<td style="text-align:right">{{ pkg.category.category }}</td>
			</tr>
		{% endfor %}
			<tr>
				<td colspan="2" style="text-align:right;font-size:x-small"><br /><a href="/packages/search?sort=-last_update">More...</a></td>
			</tr>
		</table>
	</div>
	<br />
	<div class="greybox">
		<h3>Package Repositories</h3>
		<table id="repolinks">
		{% for repo in repos %}
			<tr>
				<th><a href="/packages/?repo={{ repo.name }}">{{ repo.name }}</a></th>
				<td>{{ repo.last_update }}</td>
			</tr>
		{% endfor %}
		</table>
	</div>
	<br />
	<div class="greybox">
		<h3>Releases</h3>
		<table id="releases">
			<tr>
				<td><a href="/packages/?repo=Core">2007.08-2</a></td>
				<td><a href="/packages/?repo=Core">Don't Panic</a></td>
				<td style="text-align:right">2007-10-07</td>
			</tr><tr>
				<td><a href="/packages/?repo=Current">2007.08.1</a></td>
				<td><a href="/packages/?repo=Current">Don't Panic</a></td>
				<td style="text-align:right">2007-09-10</td>
			</tr><tr>
				<td><a href="/packages/?repo=Current">2007.08</a></td>
				<td><a href="/packages/?repo=Current">Don't Panic</a></td>
				<td style="text-align:right">2007-08-05</td>
			</tr><tr>
				<td><a href="/packages/?repo=Current">2007.05</a></td>
				<td><a href="/packages/?repo=Current">Duke</a></td>
				<td style="text-align:right">2007-05-17</td>
			</tr><tr>
				<td><a href="/static/pkglists/list-0.8.txt">0.8</a></td>
				<td><a href="/static/pkglists/list-0.8.txt">Voodoo</a></td>
				<td style="text-align:right">2007-03-31</td>
			</tr><tr>
				<td><a href="/static/pkglists/list-0.7.2.txt">0.7.2</a></td>
				<td><a href="/static/pkglists/list-0.7.2.txt">Gimmick</a></td>
				<td style="text-align:right">2006-05-23</td>
			</tr><tr>
				<td><a href="/static/pkglists/list-0.7.1.txt">0.7.1</a></td>
				<td><a href="/static/pkglists/list-0.7.1.txt">Noodle</a></td>
				<td style="text-align:right">2006-01-05</td>
			</tr><tr>
				<td><a href="/static/pkglists/list-0.7.txt">0.7</a></td>
				<td><a href="/static/pkglists/list-0.7.txt">Wombat</a></td>
				<td style="text-align:right">2005-01-24</td>
			</tr><tr>
				<td><a href="/static/pkglists/list-0.6.txt">0.6</a></td>
				<td><a href="/static/pkglists/list-0.6.txt">Widget</a></td>
				<td style="text-align:right">2004-03-01</td>
			</tr><tr>
				<td><a href="/static/pkglists/list-0.5.txt">0.5</a></td>
				<td><a href="/static/pkglists/list-0.5.txt">Nova</a></td>
				<td style="text-align:right">2003-07-21</td>
			</tr><tr>
				<td><a href="/static/pkglists/list-0.4.txt">0.4</a></td>
				<td><a href="/static/pkglists/list-0.4.txt">Dragon</a></td>
				<td style="text-align:right">2002-12-18</td>
			</tr><tr>
				<td><a href="/static/pkglists/list-0.3.txt">0.3</a></td>
				<td><a href="/static/pkglists/list-0.3.txt">Firefly</a></td>
				<td style="text-align:right">2002-08-07</td>
			</tr><tr>
				<td><a href="/static/pkglists/list-0.2.txt">0.2</a></td>
				<td><a href="/static/pkglists/list-0.2.txt">Vega</a></td>
				<td style="text-align:right">2002-04-17</td>
			</tr><tr>
				<td><a href="/static/pkglists/list-0.1.txt">0.1</a></td>
				<td><a href="/static/pkglists/list-0.1.txt">Homer</a></td>
				<td style="text-align:right">2002-03-11</td>
			</tr>
		</table>
	</div>
	<br />
	<h3>Documentation:</h3>
	<ul class="links">
		<li><a href="/static/docs/arch-install-guide.txt">Installation 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://www.cafepress.com/archlinux/">Arch Schwag</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/">Non-English Forums</a></li>
		<li><a href="/press/">Press</a></li>
	</ul>
	<h3>Development:</h3>
	<ul class="links">
		<li><a href="/developers/">Developers</a></li>
		<li><a href="http://bugs.archlinux.org">Bug Tracker</a></li>
		<li><a href="/cvs/">CVS</a></li>
	</ul>
{% endblock %}