summaryrefslogtreecommitdiff
path: root/templates/devel/mirrorlist.html
blob: b9ad8f483a7c591e06db068346134b16b7390327 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{% extends "base.html" %}
{% block title %}Arch Linux - Mirror Overview{% endblock %}

{% block content %}
<div id="dev-mirrorlist" class="box">

    <h2>Mirror List</h2>

    <table class="results">
        <thead>
            <tr>
                <th>Server</th>
                <th>Tier</th>
                <th>Country</th>
                <th>Admin Email</th>
                <th>Public</th>
                <th>Active</th>
                <th>ISOs</th>
                <th>Protocols</th>
                <th>Rsync IPs</th>
                <th>Notes</th>
            </tr>
        </thead>
        <tbody>
            {% for mirror in mirror_list %}
                <tr class="{% cycle 'odd' 'even' %}">
                    <td>{{mirror.name}}</td>
                    <td>{{mirror.get_tier_display}}</td>
                    <td>{{mirror.country}}</td>
                    <td>{{mirror.admin_email}}</td>
                    <td>{{mirror.public|yesno}}</td>
                    <td>{{mirror.active|yesno}}</td>
                    <td>{{mirror.isos|yesno}}</td>
                    <td class="wrap">{{mirror.supported_protocols}}</td>
                    <td>{{mirror.rsync_ips.count}}</td>
                    <td class="wrap">{{mirror.notes}}</td>
                </tr>
            {% endfor %}
        </tbody>
    </table>
</div>
{% load cdn %}{% jquery %}
<script type="text/javascript" src="/media/jquery.tablesorter.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
    $(".results").tablesorter({sortList: [[1,0], [2,0]]});
});
</script>
{% endblock %}