evorepo/templates/mirrors/index.html
Dan McGee d29d23ecf3 Get mirrorlist view ready for general use
Make the page much more flexible- allow multiple countries to be selected
rather than just one in the form. Also add a lot more text to the page, and
move the 'all' option out into its own subheading rather than being in the
same form.

Both GET and POST requests are now allowed for ease of use from non-browser
scenarios or those that wish to update their mirrorlist automatically and
submit parameters to the URL.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-02 19:24:54 -05:00

38 lines
1.3 KiB
HTML

{% extends "base.html" %}
{% load package_extras %}
{% block title %}Arch Linux - Pacman Mirrorlist Generator{% endblock %}
{% block content %}
<div id="mirrorlist-gen" class="box">
<h2>Pacman Mirrorlist Generator</h2>
<p>This page generates the most up-to-date mirrorlist possible for Arch
Linux. The data used here comes straight from the developers' internal
mirror database used to track mirror availability and tiering. There are
two main options: get a mirrorlist with every available mirror, or get a
mirrorlist tailored to your geography.</p>
<h3>Mirrorlist with all available mirrors</h3>
<p>You can get an up-to-date
<a href="all/">mirrorlist containing all available mirrors</a>.
This URL requires no GET or POST parameters so can be fetched from the
command line if desired.<p>
<h3>Customized by country mirrorlist</h3>
<p>The following form can generate a custom up-to-date
<a href="http://wiki.archlinux.org/index.php/Pacman"
title="ArchWiki: Pacman">pacman</a> mirrorlist based on geography.
Simply replace the contents of <code>/etc/pacman.d/mirrorlist</code> with
the generated code.</p>
<form id="list-generator" method="get">
{{ mirrorlist_form.as_p }}
<p><label></label> <input type="submit" value="Generate List" /></p>
</form>
</div>
{% endblock %}