From d29d23ecf39fe1ef4a25702618a6ab710ce191b7 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Fri, 2 Jul 2010 19:24:54 -0500 Subject: 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 --- templates/mirrors/index.html | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/mirrors/index.html b/templates/mirrors/index.html index f386ea46..f6db74f1 100644 --- a/templates/mirrors/index.html +++ b/templates/mirrors/index.html @@ -7,13 +7,28 @@

Pacman Mirrorlist Generator

+

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.

+ +

Mirrorlist with all available mirrors

+ +

You can get an up-to-date + mirrorlist containing all available mirrors. + This URL requires no GET or POST parameters so can be fetched from the + command line if desired.

+ +

Customized by country mirrorlist

+

The following form can generate a custom up-to-date pacman mirrorlist based on geography. Simply replace the contents of /etc/pacman.d/mirrorlist with the generated code.

-
{% csrf_token %} + {{ mirrorlist_form.as_p }}

-- cgit v1.2.3-54-g00ecf