summaryrefslogtreecommitdiffstats
path: root/templates/mirrors/index.html
blob: 55c172d7b08f8edd7373401509c982e5523a250b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{% 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>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=".">{% csrf_token %}
        {{ mirrorlist_form.as_p }}
        <p><label></label> <input type="submit" value="Generate List" /></p>
    </form>
</div>
{% endblock %}