aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander_Kabui2023-02-08 03:15:23 +0300
committerAlexander_Kabui2023-02-08 03:15:23 +0300
commitd5f7a9303bbd65e7c981a245f849a8ae6f7349ee (patch)
treebc458c33e246e5d7992d35e7b21e1fdbeb4fcf6e
parent63474180915d3d39d5d649dd2eef8d5fa54773c4 (diff)
downloadgenenetwork2-d5f7a9303bbd65e7c981a245f849a8ae6f7349ee.tar.gz
replace fontawesome cdn
-rw-r--r--test/requests/link_checker.py1
-rw-r--r--wqflask/wqflask/templates/test_correlation_page.html6
2 files changed, 5 insertions, 2 deletions
diff --git a/test/requests/link_checker.py b/test/requests/link_checker.py
index 86222254..6c5ed147 100644
--- a/test/requests/link_checker.py
+++ b/test/requests/link_checker.py
@@ -149,6 +149,7 @@ 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"
]
print("Checking links")
diff --git a/wqflask/wqflask/templates/test_correlation_page.html b/wqflask/wqflask/templates/test_correlation_page.html
index 991773a2..5f895388 100644
--- a/wqflask/wqflask/templates/test_correlation_page.html
+++ b/wqflask/wqflask/templates/test_correlation_page.html
@@ -4,7 +4,9 @@
<link rel="stylesheet" type="text/css" href="{{ url_for('css', filename='DataTables/css/jquery.dataTables.css') }}" />
<link rel="stylesheet" type="text/css" href="{{ url_for('js', filename='DataTablesExtensions/buttonsBootstrap/css/buttons.bootstrap.css') }}" />
<link rel="stylesheet" type="text/css" href="{{ url_for('js', filename='DataTablesExtensions/buttonStyles/css/buttons.dataTables.min.css') }}">
- <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css">
+
+ <link rel="stylesheet" type="text/css" href="{{ url_for('css', filename='fontawesome/css/all.min.css ') }}" />
+
<link rel="stylesheet" type="text/css" href="/static/new/css/trait_list.css" />
<link rel="stylesheet" type="text/css" href="/static/new/css/show_trait.css" />
@@ -81,7 +83,7 @@
<script language="javascript" type="text/javascript" src="{{ url_for('js', filename='DataTablesExtensions/buttons/js/dataTables.buttons.min.js') }}"></script>
<script language="javascript" type="text/javascript" src="{{ url_for('js', filename='DataTablesExtensions/buttons/js/buttons.html5.min.js') }}"></script>
<script language="javascript" type="text/javascript" src="{{ url_for('js', filename='DataTablesExtensions/plugins/sorting/natural.js') }}"></script>
-<script language="javascript" type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/js/all.min.js"></script>
+<script language="javascript" type="text/javascript" src="{{ url_for('js', filename='fontawesome/js/all.min.js') }}"></script>
<script language="javascript" type="text/javascript" src="{{ url_for('js', filename='DataTablesExtensions/scroller/js/dataTables.scroller.min.js') }}"></script>
<script type="text/javascript">
let correlationResults = {{correlation_results|safe}}