diff options
author | Dan McGee <dan@archlinux.org> | 2010-07-03 02:24:54 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-07-03 02:24:54 +0200 |
commit | d29d23ecf39fe1ef4a25702618a6ab710ce191b7 (patch) | |
tree | 50c507132f02d36d35b8e2ec83af737838f75572 /templates/mirrors | |
parent | 1a945dd13731ef8703b4124fda19b80f756fd5fa (diff) | |
download | archweb-d29d23ecf39fe1ef4a25702618a6ab710ce191b7.tar.gz archweb-d29d23ecf39fe1ef4a25702618a6ab710ce191b7.tar.xz |
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>
Diffstat (limited to 'templates/mirrors')
-rw-r--r-- | templates/mirrors/index.html | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/templates/mirrors/index.html b/templates/mirrors/index.html index f386ea4..f6db74f 100644 --- a/templates/mirrors/index.html +++ b/templates/mirrors/index.html @@ -7,13 +7,28 @@ <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="post">{% csrf_token %} + <form id="list-generator" method="get"> {{ mirrorlist_form.as_p }} <p><label></label> <input type="submit" value="Generate List" /></p> </form> |