summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmael Carnales <icarnales@gmail.com>2009-10-30 16:56:21 -0200
committerIsmael Carnales <icarnales@gmail.com>2009-11-09 22:24:37 -0200
commit79f00ef686e0597cb197ed67ba1462aa60a530bb (patch)
treefa27253b023f1cd6ec9f1d3fd79d0ee6bd727aaa
parentce662e0e0cdb66a7425bfc55bc7342cb152d5e4b (diff)
"imported" public app files from archweb_pub
-rw-r--r--public/__init__.py0
-rw-r--r--public/views.py80
-rw-r--r--templates/public/about.html58
-rw-r--r--templates/public/art.html78
-rw-r--r--templates/public/blank.html10
-rw-r--r--templates/public/developer_list.html60
-rw-r--r--templates/public/developers.html16
-rw-r--r--templates/public/donate.html70
-rw-r--r--templates/public/download.html130
-rw-r--r--templates/public/fellows.html11
-rw-r--r--templates/public/index.html109
-rw-r--r--templates/public/irc.html63
-rw-r--r--templates/public/moreforums.html37
-rw-r--r--templates/public/projects.html28
-rw-r--r--templates/public/svn.html38
15 files changed, 788 insertions, 0 deletions
diff --git a/public/__init__.py b/public/__init__.py
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/public/__init__.py
diff --git a/public/views.py b/public/views.py
new file mode 100644
index 00000000..1f8e6880
--- /dev/null
+++ b/public/views.py
@@ -0,0 +1,80 @@
+from django.contrib.auth.models import User
+from archweb.main.models import AltForum, Arch, Donor, MirrorUrl, News
+from archweb.main.models import Package, Repo, ExternalProject
+from django.db.models import Q
+from django.shortcuts import render_to_response
+from django.views.generic import list_detail
+
+def index(request):
+ # get the most recent 10 news items
+ news = News.objects.order_by('-postdate', '-id')[:10]
+ pkgs = Package.objects.order_by('-last_update')[:15]
+ repos = Repo.objects.order_by('name')
+ arches = Arch.objects.exclude(name__iexact='any').order_by('name')
+ return render_to_response('public/index.html',
+ {'news_updates':news,'pkg_updates':pkgs,
+ 'repos':repos, 'arches': arches, 'path':request.path})
+
+def about(request):
+ return render_to_response('public/about.html')
+
+def art(request):
+ return render_to_response('public/art.html')
+
+def svn(request):
+ return render_to_response('public/svn.html')
+
+def projects(request):
+ projects = ExternalProject.objects.all()
+ return render_to_response('public/projects.html', {'projects': projects})
+
+def developers(request):
+ devs = User.objects.filter(is_active=True).exclude(userprofile_user__roles="Trusted User").order_by('username')
+ tus = User.objects.filter(is_active=True, userprofile_user__roles="Trusted User").order_by('username')
+ return render_to_response('public/developers.html',
+ {'developers': devs, 'tus': tus})
+
+def fellows(request):
+ return list_detail.object_list(request,
+ User.objects.filter(is_active=False).order_by('username'),
+ template_name="public/fellows.html",
+ template_object_name="dev",
+ extra_context={"dev_type": "Fellows",
+ "description": "Below you can find a list of ex-developers"
+ " (aka Project Fellows). These folks helped make Arch what"
+ " it is today. Thanks!"})
+
+def donate(request):
+ donor_count = Donor.objects.count()
+ donors = Donor.objects.order_by('name')
+ splitval = donor_count / 4
+ slice1 = donors[:splitval]
+ slice2 = donors[(splitval):(splitval*2)]
+ slice3 = donors[(splitval*2):(donor_count-splitval)]
+ slice4 = donors[(donor_count-splitval):donor_count]
+ return render_to_response('public/donate.html',
+ {'slice1':slice1,'slice2':slice2,'slice3':slice3,'slice4':slice4})
+
+def download(request):
+ qset = MirrorUrl.objects.filter(
+ Q(protocol__protocol__iexact='HTTP') | Q(protocol__protocol__iexact='FTP'),
+ mirror__public=True, mirror__active=True, mirror__isos=True
+ )
+ return list_detail.object_list(request,
+ qset.order_by('mirror__country', 'mirror__name'),
+ template_name="public/download.html",
+ template_object_name="mirror_url",
+ extra_context={"path": request.path})
+
+def irc(request):
+ return render_to_response('public/irc.html')
+
+def moreforums(request):
+ return list_detail.object_list(request,
+ AltForum.objects.order_by('language', 'name'),
+ template_name="public/moreforums.html",
+ template_object_name="forum",
+ extra_context={"path": request.path})
+
+# vim: set ts=4 sw=4 et:
+
diff --git a/templates/public/about.html b/templates/public/about.html
new file mode 100644
index 00000000..0e0601e8
--- /dev/null
+++ b/templates/public/about.html
@@ -0,0 +1,58 @@
+{% extends "base.html" %}
+{% block title %}Arch Linux - About{% endblock %}
+{% block content %}
+<div class="box">
+ <h2 class="title">About Arch Linux</h2>
+ <p>
+Arch Linux is an independently developed, i686/x86-64 general purpose GNU/Linux
+distribution versatile enough to suit any role. Development focuses on
+simplicity, minimalism, and code elegance. Arch is installed as a
+minimal base system, configured by the user upon which their own ideal
+environment is assembled by installing only what is required or desired
+for their unique purposes. GUI configuration utilities are not officially
+provided, and most system configuration is performed from the shell by editing
+simple text files. Arch strives to stay bleeding edge, and typically offers
+the latest stable versions of most software.
+</p>
+<p>
+Arch Linux uses its own Pacman package manager, which couples simple binary
+packages with an easy-to-use package build system. This allows users to
+easily manage and customize packages ranging from official Arch software to the
+user's own personal packages to packages from 3rd party sources. The repository
+system also allows users to easily build and maintain their own custom build
+scripts, packages, and repositories, encouraging community growth and
+contribution.
+</p>
+<p>
+The minimal Arch base package set resides in the streamlined [core] repository.
+In addition, the official [extra], [community], and [testing] repositories
+provide several thousand high-quality, packages to meet your software demands.
+Arch also offers an [unsupported] section in the Arch Linux User Repository
+(AUR), which contains over 9,000 build scripts, for compiling installable
+packages from source using the Arch Linux makepkg application.
+</p>
+<p>
+Arch Linux uses a "rolling release" system which allows one-time installation
+and perpetual software upgrades. It is not generally necessary to reinstall
+or upgrade your Arch Linux system from one "version" to the next.
+By issuing one command, an Arch system is kept up-to-date and on the bleeding
+edge.
+</p>
+<p>
+Arch strives to keep its packages as close to the original upstream software as
+possible. Patches are applied only when necessary to ensure an application
+compiles and runs correctly with the other packages installed on an up-to-date
+Arch system.
+</p>
+<p>
+To summarize: Arch Linux is a versatile, and simple distribution designed to
+fit the needs of the competent Linux&#0174; user. It is both powerful and easy
+to manage, making it an ideal distro for servers and workstations. Take it in
+any direction you like. If you share this vision of what a GNU/Linux
+distribution should be, then you are welcomed and encouraged to use it freely,
+get involved, and contribute to the community. Welcome to Arch!
+</p>
+</div>
+<br /><br />
+{% endblock %}
+
diff --git a/templates/public/art.html b/templates/public/art.html
new file mode 100644
index 00000000..82968e4e
--- /dev/null
+++ b/templates/public/art.html
@@ -0,0 +1,78 @@
+{% extends "base.html" %}
+{% block title %}Arch Linux - Artwork{% endblock %}
+{% block content %}
+<div class="box">
+ <h2 class="title">Arch Linux Logos and Artwork</h2>
+ <h3>Official Packages</h3>
+ <p>Official logos, artwork, and more are available from the Extra repository. Currently, these packages are:</p>
+ <ul>
+ <li><strong>archlinux-artwork</strong> - official logos, icons and CD labels</li>
+ <li><strong>archlinux-wallpaper</strong> - a variety of desktop wallpapers for standard and widescreen resolutions</li>
+ <li><strong>archlinux-themes-gdm</strong> - GDM login themes</li>
+ <li><strong>archlinux-themes-kde</strong> - KDE themes and icons</li>
+ <li><strong>archlinux-themes-kdm</strong> - KDM login themes</li>
+ <li><strong>archlinux-themes-ksplash</strong> - Ksplash themes</li>
+ <li><strong>archlinux-themes-slim</strong> - SLiM login themes</li>
+ </ul>
+ <p>Alternatively, you can <a href="ftp://ftp.archlinux.org/other/artwork/" title="Browse the FTP archives">download the source files via FTP</a>.</p>
+ <h3>Former Logos</h3>
+ <p>Arch has gone through a few iterations of logos and associated artwork.
+ Here is a good selection of these logos. Several of the later logos can be
+ clicked on to get either a larger PNG or SVG version of the logo.</p>
+ <h4>Original Ribbon Logos</h4>
+ <p>
+ <img src="/logos/old/archlogo.gif"/>
+ <img src="/logos/old/archlogo2.gif"/>
+ <img src="/logos/old/archlogo_black_plain.png"/>
+ </p>
+ <p>
+ <img src="/logos/old/archlogo3.gif"/>
+ <img src="/logos/old/archlogo_white.gif"/>
+ <img src="/logos/old/archlogo_black.gif"/>
+ </p>
+ <h4>"Arch Blue" Logos</h4>
+ <p>
+ <a href="/logos/old/archlinux_logo_2.svg">
+ <img src="/logos/old/archblue.png"/>
+ </a>
+ <span style="margin-left: 1em;">
+ <a href="/logos/old/archlinux_logo_1.svg">
+ <img src="/logos/old/archblue2.png"/>
+ </a>
+ </span>
+ </p>
+ <h4>"Arch Aqua" Logos</h4>
+ <p>
+ <a href="/logos/old/archlinux_logo_aqua.svg">
+ <img src="/logos/old/sml_128-archlinux_logo_aqua.png"/>
+ </a>
+ <a href="/logos/old/scalable/arch_linux_blue.svg"/>
+ <img src="/logos/old/128x128/arch_linux_blue.png"/>
+ </a>
+ <a href="/logos/old/scalable/arch_linux_white.svg"/>
+ <img src="/logos/old/128x128/arch_linux_white.png"/>
+ </a>
+ </p>
+ <h4>Release-specific Logos</h4>
+ <p>
+ <a href="/logos/old/wombat.png" title="Wombat"/>
+ <img src="/logos/old/sml-wombat.png" height="128"/>
+ </a>
+ </p>
+ <p>
+ <a href="/logos/old/scalable/arch_linux_blue_noodle.svg" title="Noodle"/>
+ <img src="/logos/old/128x128/arch_linux_blue_noodle.png"/>
+ </a>
+ <a href="/logos/old/scalable/arch_linux_white_noodle.svg" title="Noodle"/>
+ <img src="/logos/old/128x128/arch_linux_white_noodle.png"/>
+ </a>
+ <a href="/logos/old/scalable/arch_noodles.svg" title="Noodle"/>
+ <img src="/logos/old/128x128/arch_noodles.png"/>
+ </a>
+ <a href="/logos/old/scalable/pot_arch.svg" title="Noodle"/>
+ <img src="/logos/old/128x128/pot_arch.png"/>
+ </a>
+ </p>
+</div>
+{% endblock %}
+
diff --git a/templates/public/blank.html b/templates/public/blank.html
new file mode 100644
index 00000000..f0bcedf4
--- /dev/null
+++ b/templates/public/blank.html
@@ -0,0 +1,10 @@
+{% extends "base.html" %}
+
+{% block content %}
+<div class="box">
+ <h2 class="title">Download Arch Linux</h2>
+ <br /><br />
+</div>
+<br /><br />
+{% endblock %}
+
diff --git a/templates/public/developer_list.html b/templates/public/developer_list.html
new file mode 100644
index 00000000..8d1c5be5
--- /dev/null
+++ b/templates/public/developer_list.html
@@ -0,0 +1,60 @@
+ <br /><br />
+ <div id="devlist">
+ {% for dev in dev_list %}
+ <a href="#{{ dev.first_name}}{{ dev.last_name.0|capfirst}}">{{ dev.first_name }}{{ dev.last_name.0|capfirst}}</a> &nbsp;
+ {% endfor %}
+ </div><br /><br />
+
+ <table class="center" cellpadding="20">
+ {% for dev in dev_list %}
+ <tr>
+ <td class="devpic">
+ <img src="{{ dev.get_profile.picture.url }}" height="175" width="175" style="border:1px solid black">
+ </td><td>
+ <a name="{{ dev.first_name }}{{ dev.last_name.0|capfirst}}" />
+ {% autoescape off %}
+ <table class="deventry" cellspacing="5">
+ <tr>
+ <th>Name:</th>
+ <td>{{ dev.get_full_name }}</td>
+ </tr><tr>
+ <th>Alias:</th>
+ <td>{{ dev.get_profile.alias }}</td>
+ </tr><tr>
+ <th>Email:</th>
+ <td>{{ dev.get_profile.public_email }}</td>
+ </tr><tr>
+ <th>Other Contact:</th>
+ <td>{{ dev.get_profile.other_contact }}</td>
+ </tr><tr>
+ <th>Roles:</th>
+ <td>{{ dev.get_profile.roles }}<br />
+ </td>
+ </tr><tr>
+ <th>Website:</th>
+ <td>{{ dev.get_profile.website }}</td>
+ </tr><tr>
+ <th>Occupation:</th>
+ <td>{{ dev.get_profile.occupation }}</td>
+ </tr><tr>
+ <th>YOB:</th>
+ <td>{% if dev.get_profile.yob %}{{ dev.get_profile.yob }}{% else %}&nbsp;{% endif %}</td>
+ </tr><tr>
+ <th>Location:</th>
+ <td>{{ dev.get_profile.location }}</td>
+ </tr><tr>
+ <th>Languages:</th>
+ <td>{{ dev.get_profile.languages }}</td>
+ </tr><tr>
+ <th>Interests:</th>
+ <td>{{ dev.get_profile.interests }}</td>
+ </tr><tr>
+ <th>Favorite Distros:</th>
+ <td>{{ dev.get_profile.favorite_distros }}</td>
+ </tr>
+ </table>
+ {% endautoescape %}
+ </td>
+ </tr>
+ {% endfor %}
+ </table>
diff --git a/templates/public/developers.html b/templates/public/developers.html
new file mode 100644
index 00000000..f2905876
--- /dev/null
+++ b/templates/public/developers.html
@@ -0,0 +1,16 @@
+{% extends "base.html" %}
+
+{% block content %}
+<div class="box">
+ <h2 class="title">Arch Linux Core Developers</h2>
+ {% with developers as dev_list %}
+ {% include 'public/developer_list.html' %}
+ {% endwith %}
+ <h2 class="title">Arch Linux Trusted Users</h2>
+ {% with tus as dev_list %}
+ {% include 'public/developer_list.html' %}
+ {% endwith %}
+</div>
+<br /><br />
+{% endblock %}
+
diff --git a/templates/public/donate.html b/templates/public/donate.html
new file mode 100644
index 00000000..263fede9
--- /dev/null
+++ b/templates/public/donate.html
@@ -0,0 +1,70 @@
+{% extends "base.html" %}
+{% block title %}Arch Linux - Donors{% endblock %}
+{% block content %}
+<div class="box">
+ <h2 class="title">Donate to Arch Linux</h2>
+ <p>
+ Arch Linux survives because of the tireless efforts of many people in
+ the community and the core development circle. None of us are paid for our
+ work, and we don't have the personal funds to sustain server costs ourselves.
+ </p><p>
+ There are many ways to help Arch Linux. If technical development,
+ documentation, or support aren't your strong points, you could certainly
+ help us by dropping a few bucks our way.
+ </p><p>
+ Many thanks!
+ </p>
+ <div style="text-align:center">
+ <!-- paypal code -->
+ <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
+ <input type="hidden" name="cmd" value="_xclick">
+ <input type="hidden" name="business" value="aaronmgriffin@gmail.com">
+ <input type="hidden" name="currency_code" value="USD">
+ <input type="hidden" name="tax" value="0">
+ <input type="hidden" name="lc" value="US">
+ <input type="hidden" name="bn" value="PP-DonationsBF">
+ <input type="hidden" name="item_name" value="Arch Linux Donation">
+ <input type="hidden" name="image_url" value="/logos/arch-paypal.jpg">
+ <input type="hidden" name="no_shipping" value="1">
+ <input type="hidden" name="cn" value="Suggestions/Comments">
+ <input type="hidden" name="no_note" value="1">
+ <input type="image" src="https://www.paypal.com/images/x-click-butcc-donate.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!" style="background: transparent; border: none">
+ </form>
+ </div>
+ <br />
+ <h2 class="title">Sponsors and Contributions</h2>
+ <p>We'd like to thank <a href="http://www.velocitynetwork.net/?hosting_by=ArchLinux" title="velocity network">Velocity Network</a> for contributing space in a server rack, bandwidth, and electricity for our main server for the last couple of years.</p>
+ <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>
+ <br />
+ <p>We also wish to extend a special Thank You to <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">SevenL Networks</a> for their generous and ongoing contribution of a dedicated Arch Linux server. You too can have a dedicated Arch Linux server hosted by SevenL...head over to their <a href="https://www.sevenl.net/dedicated-server/?utm_source=archlinux-org&amp;utm_medium=sponsored-banner&amp;utm_campaign=thanks-to-sevenl" title="SevenL Networks - dedicated server hosting">website</a> for more details.</p>
+ <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>
+ <br />
+ <h2 class="title">Past Donors</h2>
+ <table width="100%">
+ <tr>
+ <td style="font-size:x-small;vertical-align:top">
+ {% for donor in slice1 %}
+ {{ donor.name }}<br />
+ {% endfor %}
+ </td>
+ <td style="font-size:x-small;vertical-align:top">
+ {% for donor in slice2 %}
+ {{ donor.name }}<br />
+ {% endfor %}
+ </td>
+ <td style="font-size:x-small;vertical-align:top">
+ {% for donor in slice3 %}
+ {{ donor.name }}<br />
+ {% endfor %}
+ </td>
+ <td style="font-size:x-small;vertical-align:top">
+ {% for donor in slice4 %}
+ {{ donor.name }}<br />
+ {% endfor %}
+ </td>
+ </tr>
+ </table>
+</div>
+<br /><br />
+{% endblock %}
+
diff --git a/templates/public/download.html b/templates/public/download.html
new file mode 100644
index 00000000..1fb1af65
--- /dev/null
+++ b/templates/public/download.html
@@ -0,0 +1,130 @@
+{% extends "base.html" %}
+
+{% block content %}
+<div class="box">
+ <h2 class="title">Release Info</h2>
+ <div style="text-align:center">
+ <p>For new installations only.<br />
+ An Arch Linux system can always be updated with `pacman -Syu`</p>
+
+ <b>Current Release:</b> 2009.08 <br />
+ <b>Included Kernel:</b> 2.6.28-ARCH <br />
+ <b>Resources:</b>
+ <a href="http://bugs.archlinux.org/index.php?project=6">Bug Tracker</a>
+ -
+ <a href="http://www.archlinux.org/mailman/listinfo/arch-releng">Mailing List</a>
+ <br />
+ <br />
+ <b>Links and Instructions:</b><br />
+ <a href="ftp://ftp.archlinux.org/iso/2009.08/instructions.txt">
+ Downloading Instructions
+ </a>
+ <br />
+ <a href="http://wiki.archlinux.org/index.php/Official_Arch_Linux_Install_Guide">
+ Arch Linux Install Guide
+ </a>
+ <br />
+ <a href="http://wiki.archlinux.org/index.php/Install_from_USB_stick">
+ USB Image help
+ </a>
+ </div>
+ <h2 class="title">BitTorrent Download (recommended)</h2>
+ <div style="text-align:center">
+ <p>If you can spare the bytes, please leave the client
+ open after your<br /> download is finished, so you can seed
+ it back to others.</p>
+
+ <p>A web-seed capable client is recommended for fastest download
+ speeds</p>
+
+ <b>FTP ISOs:</b>
+ <a href="ftp://ftp.archlinux.org/iso/2009.08/archlinux-2009.08-netinstall-i686.iso.torrent">i686</a>
+ -
+ <a href="ftp://ftp.archlinux.org/iso/2009.08/archlinux-2009.08-netinstall-x86_64.iso.torrent">x86_64</a>
+ <br />
+
+ <b>Core ISOs:</b>
+ <a href="ftp://ftp.archlinux.org/iso/2009.08/archlinux-2009.08-core-i686.iso.torrent">i686</a>
+ -
+ <a href="ftp://ftp.archlinux.org/iso/2009.08/archlinux-2009.08-core-x86_64.iso.torrent">x86_64</a>
+ <br />
+
+ <b>FTP USB Images:</b>
+ <a href="ftp://ftp.archlinux.org/iso/2009.08/archlinux-2009.08-netinstall-i686.img.torrent">i686</a>
+ -
+ <a href="ftp://ftp.archlinux.org/iso/2009.08/archlinux-2009.08-netinstall-x86_64.img.torrent">x86_64</a>
+ <br />
+
+ <b>Core USB Images:</b>
+ <a href="ftp://ftp.archlinux.org/iso/2009.08/archlinux-2009.08-core-i686.img.torrent">i686</a>
+ -
+ <a href="ftp://ftp.archlinux.org/iso/2009.08/archlinux-2009.08-core-x86_64.img.torrent">x86_64</a>
+ <br />
+
+ <b>ISOLINUX ISOs:</b>
+ <a href="ftp://ftp.archlinux.org/iso/2009.08/archlinux-2009.08-netinstall-i686-isolinux.iso.torrent">i686</a>
+ -
+ <a href="ftp://ftp.archlinux.org/iso/2009.08/archlinux-2009.08-netinstall-x86_64-isolinux.iso.torrent">x86_64</a>
+
+ </div>
+ <h2 class="title">Buy A CD</h2>
+ <div style="text-align:center">
+ These suppliers donate a small percentage of each CD purchased to
+ the Arch Linux project:
+ <table class="center" cellspacing="10">
+ <tr><td>
+ <a href="http://www.osdisc.com/cgi-bin/distro/index.cgi?distro=archlinux">
+ Purchase CD from OSDisc</a>
+ </td></tr>
+ <tr><td>
+ <a href="http://www.shoplinuxonline.com/index.php?main_page=index&cPath=1_46&zenid=ecd15b48affe8976130bc575c1276ee4">
+ Purchase CD from Shop Linux Online</a>
+ </td></tr>
+ </table>
+ You can also purchase Arch on CD from these suppliers:
+ <table class="center" cellspacing="10">
+ <tr>
+ <td>
+ <a href="http://www.linuxcd.org/view_distro.php?id_distro=48">Purchase CD from LinuxCD</a>
+ </td></tr>
+ </table>
+ </div>
+
+
+ <h2 class="title">HTTP/FTP Download</h2>
+ <div style="text-align:center">
+ <p>In addition to the BitTorrent links above, ISO images can also be downloaded <br />
+ via HTTP or FTP from the mirror sites listed below.</p>
+
+ <p>Please ensure the download image matches the checksum from the<br />
+ md5sums.txt or sha1sums.txt file in the same directory as the image.</p>
+ <h3>Checksums</h3>
+ <p>
+ <a href="ftp://ftp.archlinux.org/iso/2009.08/sha1sums.txt">SHA1</a>
+ <br />
+ <a href="ftp://ftp.archlinux.org/iso/2009.08/md5sums.txt">MD5</a>
+ </p>
+
+ <table class="center">
+ <tr><td colspan="2"><h3>Mirror Sites</h3>
+ {% for mirror_url in mirror_url_list %}
+ {% ifchanged mirror_url.mirror.country %}
+ </td></tr>
+ <tr><td colspan="2" style="text-align: left"><br /><h4>{{mirror_url.mirror.country}}</h4>
+ {% endifchanged %}
+ {% ifchanged mirror_url.mirror.name %}
+ </td></tr>
+ <tr><td style="text-align: left">{{mirror_url.mirror.name}}</td><td style="text-align: right">
+ {% endifchanged %}
+ (<a href="{{mirror_url.url}}iso/">{{mirror_url.protocol.protocol}}</a>)
+ {% endfor %}
+ </td></tr>
+ </table>
+ <p>If you want to become an Official Arch Linux Mirror please follow<br />
+ the instructions listed <a href="http://wiki.archlinux.org/index.php/DeveloperWiki:NewMirrors">here</a>.
+ </p>
+ </div>
+</div>
+<br /><br />
+{% endblock %}
+
diff --git a/templates/public/fellows.html b/templates/public/fellows.html
new file mode 100644
index 00000000..4bbda775
--- /dev/null
+++ b/templates/public/fellows.html
@@ -0,0 +1,11 @@
+{% extends "base.html" %}
+
+{% block content %}
+<div class="box">
+ <h2 class="title">Arch Linux {{dev_type}}</h2>
+ {{description}}
+ {% include 'public/developer_list.html' %}
+</div>
+<br /><br />
+{% endblock %}
+
diff --git a/templates/public/index.html b/templates/public/index.html
new file mode 100644
index 00000000..e092e289
--- /dev/null
+++ b/templates/public/index.html
@@ -0,0 +1,109 @@
+{% 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.arch.name }}</td>
+ </tr>
+ {% endfor %}
+ <tr>
+ <td colspan="2" style="text-align:right;font-size:x-small"><br /><a href="/packages/?sort=-last_update">More...</a></td>
+ </tr>
+ </table>
+ </div>
+ <br />
+ <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">Beginner's 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="/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 %}
diff --git a/templates/public/irc.html b/templates/public/irc.html
new file mode 100644
index 00000000..ce69630a
--- /dev/null
+++ b/templates/public/irc.html
@@ -0,0 +1,63 @@
+{% extends "base.html" %}
+{% block title %}Arch Linux - IRC Channels{% endblock %}
+{% block content %}
+<div class="box">
+ <h2 class="title">IRC Channels</h2>
+ <br /><br />
+ <p>You can find Arch-related discussion on the following IRC channels.
+ All channels are on <strong>irc.freenode.net</strong></p>
+ <table cellspacing="20">
+ <tr>
+ <td><strong>#archlinux</strong></td>
+ <td>The main discussion channel, mostly in English</td>
+ </tr><tr>
+ <td><strong>#archlinux64</strong></td>
+ <td>x86_64 specific discussion channel, mostly in English</td>
+ </tr><tr>
+ <td><strong>#archlinux-pacman</strong></td>
+ <td>Pacman development and discussion</td>
+ </tr><tr>
+ <td><strong>#archlinux-bugs</strong></td>
+ <td>Bug-centric discussion</td>
+ </tr><tr>
+ <td><strong>#archlinuxfr</strong></td>
+ <td>Discussion (French)</td>
+ </tr><tr>
+ <td><strong>#archlinux.de</strong></td>
+ <td>Discussion (German)</td>
+ </tr><tr>
+ <td><strong>#archlinux.se</strong></td>
+ <td>Discussion (Swedish)</td>
+ </tr><tr>
+ <td><strong>#archlinux.dk</strong></td>
+ <td>Discussion (Danish)</td>
+ </tr><tr>
+ <td><strong>#archlinux-es</strong></td>
+ <td>Discussion (Spanish)</td>
+ </tr><tr>
+ <td><strong>#archlinux.br</strong></td>
+ <td>Discussion (Brazilian)</td>
+ </tr><tr>
+ <td><strong>#archlinux.it</strong></td>
+ <td>Discussion (Italian)</td>
+ </tr><tr>
+ <td><strong>#archlinux.ro</strong></td>
+ <td>Discussion (Romanian)</td>
+ </tr><tr>
+ <td><strong>#archlinux.tr</strong></td>
+ <td>Discussion (Turkish)</td>
+ </tr><tr>
+ <td><strong>#archlinux.hu</strong></td>
+ <td>Discussion (Hungarian)</td>
+ </tr><tr>
+ <td><strong>#archlinux-pl</strong></td>
+ <td>Discussion (Polish)</td>
+ </tr><tr>
+ <td><strong>#archlinux-offtopic</strong></td>
+ <td>Random offtopic discussions.</td>
+ </tr>
+ </table>
+</div>
+<br /><br />
+{% endblock %}
+
diff --git a/templates/public/moreforums.html b/templates/public/moreforums.html
new file mode 100644
index 00000000..91ab4209
--- /dev/null
+++ b/templates/public/moreforums.html
@@ -0,0 +1,37 @@
+{% extends "base.html" %}
+{% block title %}Arch Linux - International Communities{% endblock %}
+{% block content %}
+<div class="box">
+ <h2 class="title">International Communities</h2>
+ <br /><br />
+ <p>
+ <a href="http://www.archlinux.org/">www.archlinux.org</a> is the home of
+ the official Arch Linux website, forums, and wiki. However, several
+ unofficial community-run sites are available for international users who
+ would rather communicate in their own language. You can find a list of
+ these communities below.
+ </p>
+ <p>
+ Please note that the official <a href="http://wiki.archlinux.org/">Wiki</a>
+ also supports internationalized content. In addition, we have <a
+ href="http://bbs.archlinux.org/viewforum.php?id=30">a forum</a> where
+ you can post in your native language. These tools can be used in addition
+ to, in parallel with, or as a part of the international communities listed
+ below.
+ </p>
+ <table cellspacing="20">
+ {% for forum in forum_list %}
+ <tr>
+ <td width="200">{{ forum.language }}</td>
+ <td><a href="{{ forum.url }}">{{ forum.name }}</a></td>
+ </tr>
+ {% endfor %}
+ </table>
+ <br />
+ If you host a community you would like linked on this page, please open a
+ <a href="http://bugs.archlinux.org/">Bug Ticket</a> with the category "web
+ site", and a relevant description.
+</div>
+<br /><br />
+{% endblock %}
+
diff --git a/templates/public/projects.html b/templates/public/projects.html
new file mode 100644
index 00000000..c6ff271a
--- /dev/null
+++ b/templates/public/projects.html
@@ -0,0 +1,28 @@
+{% extends "base.html" %}
+{% block title %}Arch Linux - Projects{% endblock %}
+{% block content %}
+<div class="box">
+ <h2 class="title">Arch Related Projects</h2>
+ <br /><br />
+ <p>There are a few Arch-based projects or communities that have sprung up
+ over the years. Here's a list of the ones we know about.</p>
+ <table cellspacing="20">
+ {% for project in projects %}
+ <tr>
+ <td><a href="{{project.url}}">{{project.name}}</a></td>
+ <td>{{project.description}}</td>
+ </tr>
+ {% endfor %}
+ </table>
+ <br />
+ <div class="smalltext">
+ If you have an Arch related project you would like linked, please open
+ a <a href="http://bugs.archlinux.org/">Bug Ticket</a> with the category
+ "web site", and a relevant description.<br /> Also please let us know if you
+ think any of the projects above is defunct so we can keep it new and
+ exciting.
+ </div>
+</div>
+<br /><br />
+{% endblock %}
+
diff --git a/templates/public/svn.html b/templates/public/svn.html
new file mode 100644
index 00000000..1f900c2c
--- /dev/null
+++ b/templates/public/svn.html
@@ -0,0 +1,38 @@
+{% extends "base.html" %}
+{% block title %}Arch Linux - SVN{% endblock %}
+{% block content %}
+<div class="box">
+ <h2 class="title">SVN Repositories</h2>
+ <p>
+ The PKGBUILD files can be fetched via the ABS utility. To learn more
+ about ABS, see <a href="http://wiki.archlinux.org/index.php/ABS">the ABS wiki page</a>.
+ </p>
+ <p>
+ You can view the history of all the PKGBUILD files from the Repository
+ <a href="http://repos.archlinux.org/">WebSVN</a> interface.
+ </p>
+ <p>
+ You can also get individual PKGBUILDs directly from SVN. This can be
+ especially useful if you need to compile an older version of a package.
+ <strong>DO NOT CHECK OUT THE ENTIRE SVN REPO</strong>. Your address may be
+ blocked. Use the following commands to check out a specific package:
+ </p>
+ <pre>
+ svn checkout --depth=empty svn://svn.archlinux.org/packages
+ cd packages
+ svn update &lt;your-package-name&gt;
+ </pre>
+ For the community repository, use the following commands instead:
+ <pre>
+ svn checkout --depth=empty svn://svn.archlinux.org/community
+ cd community
+ svn update &lt;your-package-name&gt;
+ </pre>
+ <p>
+ Visit <a href="http://wiki.archlinux.org/index.php?title=Getting_PKGBUILDS_From_SVN">the wiki</a> for more tips on checking out and updating svn PKGBUILDs.
+ </p>
+
+</div>
+<br /><br />
+{% endblock %}
+