diff options
author | Jelle van der Waa <jelle@archlinux.org> | 2019-03-17 18:08:39 +0100 |
---|---|---|
committer | Jelle van der Waa <jelle@archlinux.org> | 2019-03-17 18:08:39 +0100 |
commit | 05f324c76c675857ea1cd8225c55075408beff33 (patch) | |
tree | c0dd4c67f124926871edeb52a9e4f623cd14de23 /templates/mirrors | |
parent | f829a33ea72429382ba11a856fe6b6c8955002eb (diff) | |
download | archweb-05f324c76c675857ea1cd8225c55075408beff33.tar.gz archweb-05f324c76c675857ea1cd8225c55075408beff33.zip |
templates: Add tag for d3js
Create a simple tag for outputting the d3js <script> html so updating
will be easier and the version has be changed in one file.
Signed-off-by: Jelle van der Waa <jelle@archlinux.org>
Diffstat (limited to 'templates/mirrors')
-rw-r--r-- | templates/mirrors/mirror_details.html | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/mirrors/mirror_details.html b/templates/mirrors/mirror_details.html index 89345664..dd19e80d 100644 --- a/templates/mirrors/mirror_details.html +++ b/templates/mirrors/mirror_details.html @@ -111,8 +111,7 @@ {% endblock %} {% block script_block %} -{% load cdn %}{% jquery %}{% jquery_tablesorter %} -<script type="text/javascript" src="{% static "d3-3.0.6.min.js" %}"></script> +{% load cdn %}{% jquery %}{% jquery_tablesorter %}{% d3js %} <script type="text/javascript" src="{% static "archweb.js" %}"></script> <script type="text/javascript" src="{% static "mirror_status.js" %}"></script> <script type="text/javascript" nonce={{ CSP_NONCE }}> |