about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPjotr Prins2024-04-04 10:48:54 +0200
committerFrederick Muriuki Muriithi2024-09-11 13:02:55 -0500
commit6fb61e49eaf30a00794035c7611af301b9238f03 (patch)
tree5b040798424b8fc1ffcfb9093131e55721c34071
parent517440d3764e496a7300f7cb693a087fca82e488 (diff)
downloadgenenetwork2-6fb61e49eaf30a00794035c7611af301b9238f03.tar.gz
Avoid loading fontawesome twice (it is in base) and change button class for purescript browser
-rw-r--r--gn2/wqflask/templates/correlation_error_page.html1
-rw-r--r--gn2/wqflask/templates/mapping_results.html12
-rw-r--r--gn2/wqflask/templates/search_result_page.html2
3 files changed, 4 insertions, 11 deletions
diff --git a/gn2/wqflask/templates/correlation_error_page.html b/gn2/wqflask/templates/correlation_error_page.html
index 0b731ae1..a1b935ac 100644
--- a/gn2/wqflask/templates/correlation_error_page.html
+++ b/gn2/wqflask/templates/correlation_error_page.html
@@ -5,7 +5,6 @@
 <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="{{ url_for('css', filename='fontawesome/css/font-awesome.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" />
 {%endblock%}
diff --git a/gn2/wqflask/templates/mapping_results.html b/gn2/wqflask/templates/mapping_results.html
index b9feb9ca..2fed79c1 100644
--- a/gn2/wqflask/templates/mapping_results.html
+++ b/gn2/wqflask/templates/mapping_results.html
@@ -2,11 +2,7 @@
 {% block title %}Mapping Results{% endblock %}
 {% block css %}
     <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('css', filename='fontawesome/css/font-awesome.min.css') }}" />
-
     <link rel="stylesheet" type="text/css" href="{{ url_for('css', filename='purescript-genome-browser/css/purescript-genetics-browser.css') }}" />
-
     <link rel="stylesheet" type="text/css" href="/static/new/css/marker_regression.css" />
     <link rel="stylesheet" type="text/css" href="static/new/css/show_trait.css" />
 
@@ -226,16 +222,16 @@
                 <div id="browser" style="margin-right: 20px; width: 90%;">
                     <div id="controls">
                         <button id="scrollLeft"  type="button" >
-                          <i class="fas fa-arrow-left"></i>
+                          <i class="fa fa-arrow-left"></i>
                         </button>
                         <button id="scrollRight" type="button" >
-                          <i class="fas fa-arrow-right"></i>
+                          <i class="fa fa-arrow-right"></i>
                         </button>
                         <button id="zoomOut" type="button" >
-                          <i class="fas fa-search-minus"></i>
+                          <i class="fa fa-search-minus"></i>
                         </button>
                         <button id="zoomIn"  type="button" >
-                          <i class="fas fa-search-plus"></i>
+                          <i class="fa fa-search-plus"></i>
                         </button>
                         <button id="reset"  type="button" >Reset</button>
                     </div>
diff --git a/gn2/wqflask/templates/search_result_page.html b/gn2/wqflask/templates/search_result_page.html
index fccda1ae..f7b4a54b 100644
--- a/gn2/wqflask/templates/search_result_page.html
+++ b/gn2/wqflask/templates/search_result_page.html
@@ -2,9 +2,7 @@
 {% block title %}Search Results{% endblock %}
 {% block css %}
     <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('css', filename='fontawesome/css/font-awesome.min.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="{{ url_for('css', filename='fontawesome/css/font-awesome.min.css') }}" />
     <link rel="stylesheet" type="text/css" href="{{ url_for('css', filename='jquery-ui/jquery-ui.theme.css') }}"/>
     <link rel="stylesheet" type="text/css" href="/static/new/css/show_trait.css" />
     <link rel="stylesheet" type="text/css" href="static/new/css/trait_list.css" />