summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html2
-rw-r--r--templates/devel/mirrorlist.html32
2 files changed, 33 insertions, 1 deletions
diff --git a/templates/base.html b/templates/base.html
index f341897..4c93135 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -31,7 +31,7 @@
<ul>
<li><a href="/accounts/logout/">Logout</a></li>
<li><a href="/devel/profile/">Profile</a></li>
- <li><a href="http://dev.archlinux.org/stats/">Stats</a></li>
+ <li><a href="/mirrors/">Mirrors</a></li>
<li><a href="http://www.archlinux.org/mailman/private/arch-dev/">Archives</a></li>
<li><a href="/todo/">Todos</a></li>
<li><a href="/packages/signoffs/">Signoffs</a></li>
diff --git a/templates/devel/mirrorlist.html b/templates/devel/mirrorlist.html
new file mode 100644
index 0000000..01699da
--- /dev/null
+++ b/templates/devel/mirrorlist.html
@@ -0,0 +1,32 @@
+{% extends "base.html" %}
+
+{% block content %}
+<div class="greybox">
+ <table class="results" width="100%">
+ <tr>
+ <th>Name</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>
+ {% for mirror in mirror_list %}
+ <tr>
+ <td>{{mirror.name}}</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>{{mirror.supported_protocols}}</td>
+ <td>{{mirror.rsync_ips.count}}</td>
+ <td>{{mirror.notes}}</td>
+ </tr>
+ {% endfor %}
+ </table>
+</div>
+{% endblock %}