From 79aef280ddf0c704fd40d0077822a8ff7548437e Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sun, 15 Dec 2013 13:22:41 -0600 Subject: Add mirror URL details page This will allow those that care about mirrors to zoom into URL-level details for each mirror and examine the individual check results. Signed-off-by: Dan McGee --- templates/mirrors/url_details.html | 89 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 templates/mirrors/url_details.html (limited to 'templates/mirrors/url_details.html') diff --git a/templates/mirrors/url_details.html b/templates/mirrors/url_details.html new file mode 100644 index 00000000..0b9d2916 --- /dev/null +++ b/templates/mirrors/url_details.html @@ -0,0 +1,89 @@ +{% extends "base.html" %} +{% load cycle from future %} +{% load static from staticfiles %} +{% load mirror_status %} +{% load flags %} + +{% block title %}Arch Linux - {{ url.url }} - URL Details{% endblock %} + +{% block head %}{% endblock %} + +{% block content %} +
+

URL Details: {{ url.url }}

+ + + + + + + + + + + + + + + + + + + + + + + {% if user.is_authenticated %} + + + + + + + + + {% endif %} +
URL:{{ url.url }}
Protocol:{{ url.protocol }}
Country:{% country_flag url.country %}{{ url.country.name }}
IPv4:{{ url.has_ipv4|yesno|capfirst }}
IPv6:{{ url.has_ipv6|yesno|capfirst }}
Active:{{ url.active|yesno|capfirst }}
Created:{{ url.created }}
+ +

Check Logs

+ + + + + + + + + + + + + + + + {% for log in logs %} + + + + + + + + + {% endfor %} + +
Check TimeCheck LocationCheck IPLast SyncDelay (hh:mm)Duration (secs)Success?Error Message
{{ log.check_time|date:'Y-m-d H:i' }}{% country_flag log.location.country %}{{ log.location.country.name }}{{ log.location.source_ip }}{{ log.last_sync|date:'Y-m-d H:i' }}{{ log.delay|duration }}{{ log.duration|floatvalue }}{{ log.is_success|yesno|capfirst }}{{ log.error|linebreaksbr }}
+
+{% endblock %} + +{% block script_block %} +{% load cdn %}{% jquery %}{% jquery_tablesorter %} + + +{% endblock %} -- cgit v1.2.3-54-g00ecf