aboutsummaryrefslogtreecommitdiff
path: root/app/templates/admin
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2019-08-30 11:42:58 +0100
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2019-08-30 11:42:58 +0100
commit7a338dcdf3cb8d8a9e5e7855ad1402336cd4ee79 (patch)
tree6c7bd3147a6dac28442a937196aa6ad63578dad7 /app/templates/admin
parentAdd full name column to User table (diff)
downloadAnnotateChange-7a338dcdf3cb8d8a9e5e7855ad1402336cd4ee79.tar.gz
AnnotateChange-7a338dcdf3cb8d8a9e5e7855ad1402336cd4ee79.zip
Serve all necessary resources locally
Diffstat (limited to 'app/templates/admin')
-rw-r--r--app/templates/admin/annotations_by_dataset.html2
-rw-r--r--app/templates/admin/manage_users.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/templates/admin/annotations_by_dataset.html b/app/templates/admin/annotations_by_dataset.html
index fd64673..cd48519 100644
--- a/app/templates/admin/annotations_by_dataset.html
+++ b/app/templates/admin/annotations_by_dataset.html
@@ -12,7 +12,7 @@
{% block scripts %}
{{ super() }}
- <script src="//d3js.org/d3.v5.min.js"></script>
+ <script src="{{ bootstrap_find_resource('d3.v5.js', cdn='d3', use_minified=True) }}"></script>
{% if is_multi %}
<script src="{{ url_for('static', filename='js/makeChartMulti.js') }}"></script>
{% else %}
diff --git a/app/templates/admin/manage_users.html b/app/templates/admin/manage_users.html
index 6e3b51a..5aa94b2 100644
--- a/app/templates/admin/manage_users.html
+++ b/app/templates/admin/manage_users.html
@@ -3,7 +3,7 @@
{% block styles %}
{{ super() }}
-<link rel="stylesheet" href="//cdn.datatables.net/1.10.19/css/jquery.dataTables.min.css">
+ <link rel="stylesheet" href="{{ bootstrap_find_resource('css/jquery.dataTables.min.css', cdn='datatables', use_minified=True) }}">
{% endblock %}
{% block app_content %}