2009-09-15 18:13:11 -07:00
|
|
|
{% extends "base.html" %}
|
2010-03-01 19:43:52 -08:00
|
|
|
{% block title %}Arch Linux - Mirror Overview{% endblock %}
|
2009-09-15 18:13:11 -07:00
|
|
|
|
|
|
|
{% block content %}
|
2010-03-16 11:36:19 -07:00
|
|
|
<div id="dev-mirrorlist" class="box">
|
2010-09-23 16:15:00 -07:00
|
|
|
<h2>Mirror Overview</h2>
|
2010-03-16 11:36:19 -07:00
|
|
|
<table class="results">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Server</th>
|
|
|
|
<th>Tier</th>
|
|
|
|
<th>Country</th>
|
|
|
|
<th>ISOs</th>
|
|
|
|
<th>Protocols</th>
|
2010-09-23 16:15:00 -07:00
|
|
|
{% if user.is_authenticated %}
|
|
|
|
<th>Public</th>
|
|
|
|
<th>Active</th>
|
|
|
|
<th>Admin Email</th>
|
2010-03-16 11:36:19 -07:00
|
|
|
<th>Notes</th>
|
2010-09-23 16:15:00 -07:00
|
|
|
{% endif %}
|
2010-03-16 11:36:19 -07:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for mirror in mirror_list %}
|
2010-09-23 16:15:00 -07:00
|
|
|
<tr class="{% cycle 'odd' 'even' %}">
|
2010-09-23 16:50:56 -07:00
|
|
|
<td><a href="{{ mirror.get_absolute_url }}"
|
|
|
|
title="Mirror details for {{ mirror.name }}">{{ mirror.name }}</a></td>
|
2010-09-23 16:15:00 -07:00
|
|
|
<td>{{mirror.get_tier_display}}</td>
|
|
|
|
<td>{{mirror.country}}</td>
|
2011-08-17 14:16:32 -07:00
|
|
|
<td>{{mirror.isos|yesno|capfirst}}</td>
|
2011-07-29 21:34:24 -07:00
|
|
|
<td class="wrap">{{mirror.supported_protocols|join:", "}}</td>
|
2010-09-23 16:15:00 -07:00
|
|
|
{% if user.is_authenticated %}
|
2011-08-17 14:16:32 -07:00
|
|
|
<td>{{mirror.public|yesno|capfirst}}</td>
|
|
|
|
<td>{{mirror.active|yesno|capfirst}}</td>
|
2010-09-23 16:15:00 -07:00
|
|
|
<td>{{mirror.admin_email}}</td>
|
|
|
|
<td class="wrap">{{mirror.notes|linebreaks}}</td>
|
|
|
|
{% endif %}
|
|
|
|
</tr>
|
2010-03-16 11:36:19 -07:00
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2009-09-15 18:13:11 -07:00
|
|
|
</div>
|
2010-08-27 07:20:14 -07:00
|
|
|
{% load cdn %}{% jquery %}
|
2011-12-05 21:06:10 -08:00
|
|
|
<script type="text/javascript" src="{{ STATIC_URL }}jquery.tablesorter.min.js"></script>
|
|
|
|
<script type="text/javascript" src="{{ STATIC_URL }}archweb.js"></script>
|
2010-08-27 07:20:14 -07:00
|
|
|
<script type="text/javascript">
|
|
|
|
$(document).ready(function() {
|
2010-08-27 07:33:16 -07:00
|
|
|
$(".results").tablesorter({widgets: ['zebra'], sortList: [[1,0], [2,0]]});
|
2010-08-27 07:20:14 -07:00
|
|
|
});
|
|
|
|
</script>
|
2009-09-15 18:13:11 -07:00
|
|
|
{% endblock %}
|