summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorThayer Williams <thayerw@gmail.com>2010-03-16 11:17:47 -0700
committerDan McGee <dan@archlinux.org>2010-05-17 14:49:44 -0500
commit780c19c209e59f0c2a105200dca32b3ce0e3ec76 (patch)
tree8b0d142508ca2f0d738187f12de314005ce71773 /templates
parent23c99a74723b50d3a9af8886ebaae4e4cc9236c1 (diff)
Redesigned mirrorlist generator page
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates')
-rw-r--r--templates/mirrors/index.html31
1 files changed, 14 insertions, 17 deletions
diff --git a/templates/mirrors/index.html b/templates/mirrors/index.html
index 73949c6f..b347a086 100644
--- a/templates/mirrors/index.html
+++ b/templates/mirrors/index.html
@@ -1,24 +1,21 @@
{% extends "base.html" %}
{% load package_extras %}
-{% block title %}Arch Linux - Generate Mirrorlist{% endblock %}
+{% block title %}Arch Linux - Pacman Mirrorlist Generator{% endblock %}
{% block content %}
-<div class="box">
- <h2 class="title">Generate Custom Mirrorlist</h2>
- <form method="post">
- <table>
- <tr>
- <td>Architecture</td>
- {% td_input mirrorlist_form.arch %}
- </tr>
- <tr>
- <td>Country</td>
- {% td_input mirrorlist_form.country %}
- </tr>
- <tr>
- <td><input type="submit" value="Generate" /></td>
- </tr>
- </table>
+<div id="mirrorlist-gen" class="box">
+
+ <h2>Pacman Mirrorlist Generator</h2>
+
+ <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" action=".">
+ {{ mirrorlist_form.as_p }}
+ <p><label></label> <input type="submit" value="Generate List" /></p>
</form>
</div>
{% endblock %}