summaryrefslogtreecommitdiff
path: root/templates/mirrors
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-04-20 11:28:12 -0500
committerDan McGee <dan@archlinux.org>2013-04-20 11:28:12 -0500
commit3e085183bf39c59fdcd0b9e67b5a02653a51d30e (patch)
tree7af2d1bfd11b1cbde4fd1afeab26ad3986ad1d53 /templates/mirrors
parent6de0cfbd23aae69036439db817cc26740d8796cd (diff)
Move all script blocks into {% script_block %} sectionrelease_2013-04-20
I added this a while back, but didn't roll it out to all templates. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/mirrors')
-rw-r--r--templates/mirrors/mirror_details.html3
-rw-r--r--templates/mirrors/status.html3
2 files changed, 6 insertions, 0 deletions
diff --git a/templates/mirrors/mirror_details.html b/templates/mirrors/mirror_details.html
index 1c9a970e..d3e85b00 100644
--- a/templates/mirrors/mirror_details.html
+++ b/templates/mirrors/mirror_details.html
@@ -117,6 +117,9 @@
<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>
diff --git a/templates/mirrors/status.html b/templates/mirrors/status.html
index 26e81e79..283ff681 100644
--- a/templates/mirrors/status.html
+++ b/templates/mirrors/status.html
@@ -99,6 +99,9 @@
</table>
</div>
+{% endblock %}
+
+{% block script_block %}
{% load cdn %}{% jquery %}{% jquery_tablesorter %}
<script type="text/javascript" src="{% static "archweb.js" %}"></script>
<script type="text/javascript">