aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander_Kabui2023-02-08 04:03:59 +0300
committerAlexander_Kabui2023-02-08 04:03:59 +0300
commitd316d4437f1f19d8b9641bd7864ad0bfe6612999 (patch)
tree53f3c3a38b6055e794c6774ec998e5afd2eca94d
parent2de49eefe4dc02697b31bb65f1cc01260ba216ae (diff)
downloadgenenetwork2-d316d4437f1f19d8b9641bd7864ad0bfe6612999.tar.gz
replace xterm packages
-rw-r--r--test/requests/link_checker.py4
-rw-r--r--wqflask/wqflask/templates/gn3_wgcna_results.html5
-rw-r--r--wqflask/wqflask/templates/wgcna_setup.html2
3 files changed, 6 insertions, 5 deletions
diff --git a/test/requests/link_checker.py b/test/requests/link_checker.py
index afd0e49b..e93c8fcb 100644
--- a/test/requests/link_checker.py
+++ b/test/requests/link_checker.py
@@ -152,7 +152,9 @@ def check_packaged_js_files(args_obj, parser):
"/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"
+ "/css/uikit/css/uikit.min.css",
+ "/css/xterm/xterm.min.css",
+ "/js/xterm/xterm.min.js"
]
diff --git a/wqflask/wqflask/templates/gn3_wgcna_results.html b/wqflask/wqflask/templates/gn3_wgcna_results.html
index 8a31bf28..b6aa0951 100644
--- a/wqflask/wqflask/templates/gn3_wgcna_results.html
+++ b/wqflask/wqflask/templates/gn3_wgcna_results.html
@@ -3,8 +3,7 @@
{% block content %}
<!-- Start of body -->
-<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/xterm/3.14.5/xterm.min.css" integrity="sha512-iLYuqv+v/P4u9erpk+KM83Ioe/l7SEmr7wB6g+Kg1qmEit8EShDKnKtLHlv2QXUp7GGJhmqDI+1PhJYLTsfb8w==" crossorigin="anonymous" referrerpolicy="no-referrer" />
-
+ <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">
@@ -129,7 +128,7 @@
{% block js %}
-<script src="https://cdnjs.cloudflare.com/ajax/libs/xterm/3.14.5/xterm.min.js"></script>
+<script src="{{ url_for('js', filename='xterm/xterm.min.js') }}" type="text/javascript"></script>
<script language="javascript" type="text/javascript" src="{{ url_for('js', filename='DataTables/js/jquery.js') }}"></script>
<script language="javascript" type="text/javascript" src="{{ url_for('js', filename='DataTables/js/jquery.dataTables.min.js') }}"></script>
diff --git a/wqflask/wqflask/templates/wgcna_setup.html b/wqflask/wqflask/templates/wgcna_setup.html
index d7acd5f2..bd18b685 100644
--- a/wqflask/wqflask/templates/wgcna_setup.html
+++ b/wqflask/wqflask/templates/wgcna_setup.html
@@ -83,7 +83,7 @@
<script src="{{ url_for('js', filename='xterm/xterm.min.js') }}" type="text/javascript"></script>
<script src="{{ url_for('js', filename='jquery/jquery.min.js') }}" type="text/javascript"></script>
-<script src="https://cdn.jsdelivr.net/npm/xterm-addon-fit@0.5.0/lib/xterm-addon-fit.min.js"></script>
+<<script language="javascript" type="text/javascript" src="{{ url_for('js', filename='xtermxterm-addon-fit-min.js') }}"></script>
<script>
document.addEventListener('DOMContentLoaded', function() {