summaryrefslogtreecommitdiff
path: root/templates/mirrors/mirror_details.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/mirrors/mirror_details.html')
-rw-r--r--templates/mirrors/mirror_details.html15
1 files changed, 12 insertions, 3 deletions
diff --git a/templates/mirrors/mirror_details.html b/templates/mirrors/mirror_details.html
index 18f72125..98755ad2 100644
--- a/templates/mirrors/mirror_details.html
+++ b/templates/mirrors/mirror_details.html
@@ -106,11 +106,20 @@
{% endfor %}
</tbody>
</table>
+</div>
+
+<div class="box">
+ <h2>Mirror Status Charts</h2>
- <h3>Mirror Status Chart</h3>
+ <p>Periodic checks of the mirrors are done from various geographic
+ locations, IP addresses, and using IPv4 or IPv6. These results are
+ summarized in graphical form below.</p>
- <div id="visualize-mirror" class="visualize-chart"></div>
+ <div id="charts-container"></div>
</div>
+{% endblock %}
+
+{% block script_block %}
{% load cdn %}{% jquery %}{% jquery_tablesorter %}
<script type="text/javascript" src="{% static "d3-3.0.6.min.js" %}"></script>
<script type="text/javascript" src="{% static "archweb.js" %}"></script>
@@ -122,7 +131,7 @@ $(document).ready(function() {
headers: { 8: { sorter: 'mostlydigit' }, 9: { sorter: 'mostlydigit' }, 10: { sorter: 'mostlydigit' } } });
});
$(document).ready(function() {
- mirror_status("#visualize-mirror", "./json/");
+ draw_graphs("/mirrors/locations/json/", "./json/", "#charts-container");
});
</script>
{% endblock %}