about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander_Kabui2024-02-14 13:58:07 +0300
committerAlexander_Kabui2024-02-14 13:58:07 +0300
commit3a69e60a2f23391ba89a49370d4c6b609d8d81ea (patch)
tree14c06d18e866b6921fc01b14976c98f741cfa21d
parent3a95e63dea4208280cd16167eb955a0b067de000 (diff)
downloadgenenetwork2-3a69e60a2f23391ba89a49370d4c6b609d8d81ea.tar.gz
replace datatable cdn links with guix packages
-rw-r--r--gn2/wqflask/templates/gn3_ctl_results.html2
-rw-r--r--gn2/wqflask/templates/gn3_wgcna_results.html2
-rw-r--r--gn2/wqflask/templates/tutorials.html9
3 files changed, 6 insertions, 7 deletions
diff --git a/gn2/wqflask/templates/gn3_ctl_results.html b/gn2/wqflask/templates/gn3_ctl_results.html
index c42707f6..0e0b44af 100644
--- a/gn2/wqflask/templates/gn3_ctl_results.html
+++ b/gn2/wqflask/templates/gn3_ctl_results.html
@@ -3,7 +3,7 @@
 {% block content %}
 <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
 <link REL="stylesheet" TYPE="text/css" href="{{ url_for('css', filename='bootstrap/css/bootstrap.css') }}" />
-<link rel="stylesheet" href="https://cdn.datatables.net/1.11.3/css/jquery.dataTables.min.css">
+<link rel="stylesheet" type="text/css" href="{{ url_for('css', filename='DataTables/css/jquery.dataTables.css') }}" />
 <style type="text/css">
 .carousel-control-next,
 .carousel-control-prev
diff --git a/gn2/wqflask/templates/gn3_wgcna_results.html b/gn2/wqflask/templates/gn3_wgcna_results.html
index 52e09235..b60587c3 100644
--- a/gn2/wqflask/templates/gn3_wgcna_results.html
+++ b/gn2/wqflask/templates/gn3_wgcna_results.html
@@ -6,7 +6,7 @@
 <link rel="stylesheet" type="text/css" href="{{ url_for('css', filename='xterm/xterm.min.css') }}" />
 
 
-<link rel="stylesheet" href="https://cdn.datatables.net/1.11.3/css/jquery.dataTables.min.css">
+<link rel="stylesheet" type="text/css" href="{{ url_for('css', filename='DataTables/css/jquery.dataTables.css') }}" />
 
 
 <style type="text/css">
diff --git a/gn2/wqflask/templates/tutorials.html b/gn2/wqflask/templates/tutorials.html
index 74c84726..13228d9d 100644
--- a/gn2/wqflask/templates/tutorials.html
+++ b/gn2/wqflask/templates/tutorials.html
@@ -17,12 +17,11 @@
     <script src="https://cdn.jsdelivr.net/npm/uikit@3.5.4/dist/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"/> -->
-    <link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.22/css/jquery.dataTables.min.css"/>
-
-    <script type="text/javascript" src="https://cdn.datatables.net/v/dt/jq-3.3.1/dt-1.10.21/cr-1.5.2/datatables.min.js"></script>
+    <!-- <link rel="stylesheet" type="text/css" href="{{ url_for('css', filename='DataTablesExtensions/buttonStyles/css/buttons.dataTables.min.css') }}" />
+ -->
+   <link rel="stylesheet" type="text/css" href="{{ url_for('css', filename='DataTables/css/jquery.dataTables.css') }}" />
     <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.js"></script>
- <script type="text/javascript" src="https://cdn.datatables.net/1.10.22/js/jquery.dataTables.min.js"></script>
+<script language="javascript" type="text/javascript" src="{{ url_for('js', filename='DataTables/js/jquery.dataTables.min.js') }}"></script>
 
 </head>
 <body>