summaryrefslogtreecommitdiffstats
path: root/templates/devel
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2009-09-16 03:13:11 +0200
committerDan McGee <dan@archlinux.org>2009-09-16 03:14:06 +0200
commit9dc89e8287d9f34da140d0494005388b7abc14c2 (patch)
tree63096ac2ac13802545a84f426e9341dd2cb7fc98 /templates/devel
parente3ea5232732f442f75a372714b64e1c119c1be7c (diff)
downloadarchweb-9dc89e8287d9f34da140d0494005388b7abc14c2.tar.gz
archweb-9dc89e8287d9f34da140d0494005388b7abc14c2.tar.xz
Add a basic mirror view for the dev site
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/devel')
-rw-r--r--templates/devel/mirrorlist.html32
1 files changed, 32 insertions, 0 deletions
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 %}