aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/requests/link_checker.py6
-rwxr-xr-xwqflask/wqflask/templates/index_page.html9
-rw-r--r--wqflask/wqflask/templates/tutorials.html6
3 files changed, 13 insertions, 8 deletions
diff --git a/test/requests/link_checker.py b/test/requests/link_checker.py
index 6c5ed147..afd0e49b 100644
--- a/test/requests/link_checker.py
+++ b/test/requests/link_checker.py
@@ -149,7 +149,11 @@ def check_packaged_js_files(args_obj, parser):
"/js/DataTables/images/sort_asc_disabled.png",
"/js/DataTables/images/sort_desc_disabled.png",
"/js/shapiro-wilk/shapiro-wilk.js",
- "/js/fontawesome/js/all.min.js"
+ "/js/fontawesome/js/all.min.js",
+ "/js/uikit/js/uikit-icons.min.js",
+ "/js/uikit/js/uikit.min.js",
+ "/css/uikit/css/uikit.min.css"
+
]
print("Checking links")
diff --git a/wqflask/wqflask/templates/index_page.html b/wqflask/wqflask/templates/index_page.html
index 09f24d5a..7e241147 100755
--- a/wqflask/wqflask/templates/index_page.html
+++ b/wqflask/wqflask/templates/index_page.html
@@ -2,12 +2,9 @@
{% block title %}GeneNetwork{% endblock %}
{% block css %}
<!-- UIkit CSS -->
-<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/uikit@3.7.4/dist/css/uikit.min.css" />
+<link rel="stylesheet" type="text/css" href="{{ url_for('js', filename='uikit/css/uikit.min.css') }}">
<link rel="stylesheet" href="/static/new/css/index_page.css" />
-<!-- UIkit JS -->
-<script src="https://cdn.jsdelivr.net/npm/uikit@3.7.4/dist/js/uikit.min.js"></script>
-<script src="https://cdn.jsdelivr.net/npm/uikit@3.7.4/dist/js/uikit-icons.min.js"></script>
<style TYPE="text/css">
p.interact { display: none; }
@@ -291,6 +288,10 @@
{%endblock%}
{% block js %}
+
+ <!-- UIkit JS -->
+ <script language="javascript" type="text/javascript" src="{{ url_for('js', filename='uikit/js/uikit.min.js') }}"></script>
+ <script language="javascript" type="text/javascript" src="{{ url_for('js', filename='uikit/js/uikit-icons.min.js') }}"></script>
<script src="/static/new/javascript/dataset_select_menu_orig.js"></script>
<script>
diff --git a/wqflask/wqflask/templates/tutorials.html b/wqflask/wqflask/templates/tutorials.html
index aa6a818d..073a66c9 100644
--- a/wqflask/wqflask/templates/tutorials.html
+++ b/wqflask/wqflask/templates/tutorials.html
@@ -10,11 +10,11 @@
<!-- <script src="uikit-3/js/uikit.min.js"></script>-->
<!-- <script src="uikit-3/js/uikit-icons.min.js"></script>-->
<!-- UIkit CSS -->
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/uikit@3.5.4/dist/css/uikit.min.css" />
+ <<script language="javascript" type="text/javascript" src="{{ url_for('css', filename='uikit/css/uikit.min.css') }}"></script>
<!-- UIkit JS -->
- <script src="https://cdn.jsdelivr.net/npm/uikit@3.5.4/dist/js/uikit.min.js"></script>
- <script src="https://cdn.jsdelivr.net/npm/uikit@3.5.4/dist/js/uikit-icons.min.js"></script>
+ <script language="javascript" type="text/javascript" src="{{ url_for('js', filename='uikit/js/uikit.min.js') }}"></script>
+ <script language="javascript" type="text/javascript" src="{{ url_for('js', filename='uikit/js/uikit-icons.min.js') }}"></script>
<!-- DataTables-->
<!-- <link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/dt/jq-3.3.1/dt-1.10.21/cr-1.5.2/datatables.min.css"/> -->