aboutsummaryrefslogtreecommitdiff
path: root/gn2
diff options
context:
space:
mode:
authorAlexander_Kabui2024-02-15 13:44:32 +0300
committerAlexander_Kabui2024-02-15 13:44:32 +0300
commit3653f84300660e2d2ea3e9e5fe4fc94c45ba7408 (patch)
tree76fdf57beff6e1548c43317cdd5119ec4ff4fa86 /gn2
parentcd658326077a9b3e48ee12ec2a809ff3fda19cde (diff)
downloadgenenetwork2-3653f84300660e2d2ea3e9e5fe4fc94c45ba7408.tar.gz
replace cdn uikit with guix package
Diffstat (limited to 'gn2')
-rwxr-xr-xgn2/wqflask/templates/index_page.html12
-rw-r--r--gn2/wqflask/templates/tutorials.html17
2 files changed, 19 insertions, 10 deletions
diff --git a/gn2/wqflask/templates/index_page.html b/gn2/wqflask/templates/index_page.html
index a245b7f3..30e3d9a3 100755
--- a/gn2/wqflask/templates/index_page.html
+++ b/gn2/wqflask/templates/index_page.html
@@ -2,14 +2,18 @@
{% 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('css', filename='uikit/css/uikit.min.css') }}"/>
+
<link rel="stylesheet" href="/static/new/css/index_page.css" />
<link rel="stylesheet" href="/static/new/css/autocomplete.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>
-<script type="module" src="https://esm.sh/emfed"></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>
+<script type="module" src="https://cdn.jsdelivr.net/npm/emfed@1.4.2/dist/emfed.min.js"></script> -->
+
+<!--<script language="javascript" type="text/javascript" src="{{ url_for('js', filename='emfed/jsjs') }}"></script> -->
<link rel="stylesheet" type="text/css"
href="https://cdn.jsdelivr.net/gh/sampsyo/emfed@1/toots.css">
diff --git a/gn2/wqflask/templates/tutorials.html b/gn2/wqflask/templates/tutorials.html
index 60996e01..870dba1a 100644
--- a/gn2/wqflask/templates/tutorials.html
+++ b/gn2/wqflask/templates/tutorials.html
@@ -6,15 +6,20 @@
<title>GeneNetwork Webinar Series, Tutorials and Short Video Tours</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
-<!-- <link rel="stylesheet" href="uikit-3/css/uikit.min.css" />-->
-<!-- <script src="uikit-3/js/uikit.min.js"></script>-->
-<!-- <script src="uikit-3/js/uikit-icons.min.js"></script>-->
+<!-- <link rel="stylesheet" type="text/css" href="{{ url_for('css', filename='uikit/css/uikit.min.css') }}"/>
+-->
+<!-- <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>
+-->
<!-- UIkit CSS -->
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/uikit@3.5.4/dist/css/uikit.min.css" />
+ <link rel="stylesheet" type="text/css" href="{{ url_for('css', filename='uikit/css/uikit.min.css') }}"/>
+
<!-- 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="{{ url_for('css', filename='DataTablesExtensions/buttonStyles/css/buttons.dataTables.min.css') }}" />