diff options
author | Alexander_Kabui | 2023-02-08 03:35:12 +0300 |
---|---|---|
committer | Alexander_Kabui | 2023-02-08 03:35:12 +0300 |
commit | 2de49eefe4dc02697b31bb65f1cc01260ba216ae (patch) | |
tree | 5e043c47ea53d31eb0d959ba88f73c603279c5d8 /wqflask | |
parent | d5f7a9303bbd65e7c981a245f849a8ae6f7349ee (diff) | |
download | genenetwork2-2de49eefe4dc02697b31bb65f1cc01260ba216ae.tar.gz |
replace javascript uikit cdn
Diffstat (limited to 'wqflask')
-rwxr-xr-x | wqflask/wqflask/templates/index_page.html | 9 | ||||
-rw-r--r-- | wqflask/wqflask/templates/tutorials.html | 6 |
2 files changed, 8 insertions, 7 deletions
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"/> --> |