From 1c6099f4b27f31c100b8bfa0d18f439075cceff0 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 23 Sep 2010 18:15:00 -0500 Subject: 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 --- templates/mirrors/mirrors.html | 51 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 templates/mirrors/mirrors.html (limited to 'templates/mirrors') diff --git a/templates/mirrors/mirrors.html b/templates/mirrors/mirrors.html new file mode 100644 index 00000000..253efe53 --- /dev/null +++ b/templates/mirrors/mirrors.html @@ -0,0 +1,51 @@ +{% extends "base.html" %} +{% block title %}Arch Linux - Mirror Overview{% endblock %} + +{% block content %} +
+

Mirror Overview

+ + + + + + + + + {% if user.is_authenticated %} + + + + + + {% endif %} + + + + {% for mirror in mirror_list %} + + + + + + + {% if user.is_authenticated %} + + + + + + {% endif %} + + {% endfor %} + +
ServerTierCountryISOsProtocolsPublicActiveRsync IPsAdmin EmailNotes
{{mirror.name}}{{mirror.get_tier_display}}{{mirror.country}}{{mirror.isos|yesno}}{{mirror.supported_protocols}}{{mirror.public|yesno}}{{mirror.active|yesno}}{{mirror.rsync_ips.all|join:', '}}{{mirror.admin_email}}{{mirror.notes|linebreaks}}
+
+{% load cdn %}{% jquery %} + + +{% endblock %} -- cgit v1.2.3-54-g00ecf