diff options
author | Dan McGee <dan@archlinux.org> | 2010-09-24 01:15:00 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-09-25 02:39:37 +0200 |
commit | 1c6099f4b27f31c100b8bfa0d18f439075cceff0 (patch) | |
tree | 172405ceeba848ae2c6186febbbd164f6783c287 /templates/devel | |
parent | 46dec163468f0e53b00b68f5c370b5e7b5e4cfc3 (diff) | |
download | archweb-1c6099f4b27f31c100b8bfa0d18f439075cceff0.tar.gz archweb-1c6099f4b27f31c100b8bfa0d18f439075cceff0.tar.xz |
Make general mirror list view public
Hide some columns when not logged in because they aren't relevant for the
general public, but this will work nicely as a base page for all of our
known mirrors.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/devel')
-rw-r--r-- | templates/devel/mirrorlist.html | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/templates/devel/mirrorlist.html b/templates/devel/mirrorlist.html deleted file mode 100644 index 9ae6563..0000000 --- a/templates/devel/mirrorlist.html +++ /dev/null @@ -1,49 +0,0 @@ -{% 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({widgets: ['zebra'], sortList: [[1,0], [2,0]]}); -}); -</script> -{% endblock %} |