diff options
author | Dan McGee <dan@archlinux.org> | 2012-04-25 09:20:45 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-04-25 09:20:45 +0200 |
commit | 952eba9625c5222e1eee77f711ecb3996998bafb (patch) | |
tree | 94b94c9f1d3271ec30b748fde7f8947fc9500b3a /templates/mirrors/mirrorlist_generate.html | |
parent | 6cc31041772537616a3004b89f0a109a458d124e (diff) | |
download | archweb-952eba9625c5222e1eee77f711ecb3996998bafb.tar.gz archweb-952eba9625c5222e1eee77f711ecb3996998bafb.tar.xz |
Clean up mirrorlist generation form a bit
Rename template since it really isn't an index of mirrors at all, and
convert the form to use multiple checkboxes for both ftp/http and
ipv4/ipv6 selection.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/mirrors/mirrorlist_generate.html')
-rw-r--r-- | templates/mirrors/mirrorlist_generate.html | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/templates/mirrors/mirrorlist_generate.html b/templates/mirrors/mirrorlist_generate.html new file mode 100644 index 0000000..e6f5e28 --- /dev/null +++ b/templates/mirrors/mirrorlist_generate.html @@ -0,0 +1,44 @@ +{% 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>An up-to-date mirrorlist is available containing all currently active + mirrors, optionally filtering by protocol. These URLs requires no GET or + POST parameters so they can be fetched from the command line if desired.<p> + + <ul> + <li><a href="all/">All mirrors</a></li> + <li><a href="all/ftp/">All mirrors, FTP only</a></li> + <li><a href="all/http/">All mirrors, HTTP only</a></li> + </ul> + + <h3>Customized by country mirrorlist</h3> + + <p>The following form can generate a custom up-to-date + <a href="https://wiki.archlinux.org/index.php/Pacman" + title="ArchWiki: Pacman">pacman</a> mirrorlist based on geography and + desired protocol(s). Simply replace the contents of + <code>/etc/pacman.d/mirrorlist</code> with your generated list. + Additionally, the mirror status data can be incorporated into the generated + mirror list and used to pre-order the mirrors.</p> + + <form id="list-generator" method="get"> + {{ mirrorlist_form.as_div }} + <p><label></label> <input type="submit" value="Generate List" /></p> + </form> +</div> +{% endblock %} + |