aboutsummaryrefslogtreecommitdiff
path: root/gn2
diff options
context:
space:
mode:
authorAlexander_Kabui2024-09-24 12:06:19 +0300
committerAlexander_Kabui2024-09-24 12:06:19 +0300
commita4b60d87476a3f86c7ec537cb8700dca3c9cb79c (patch)
treea86d28d249682b5f57dbc162dc0c79d456f13223 /gn2
parentd4f6d8731d4f11e2c311c1ef03ecd9ffc5e18906 (diff)
downloadgenenetwork2-a4b60d87476a3f86c7ec537cb8700dca3c9cb79c.tar.gz
Feat: extend index_page for gsearch_geno and pheno to include global
search in templates.
Diffstat (limited to 'gn2')
-rw-r--r--gn2/wqflask/templates/gsearch_gene.html5
-rw-r--r--gn2/wqflask/templates/gsearch_pheno.html2
2 files changed, 3 insertions, 4 deletions
diff --git a/gn2/wqflask/templates/gsearch_gene.html b/gn2/wqflask/templates/gsearch_gene.html
index 13b56b42..6cd21e9a 100644
--- a/gn2/wqflask/templates/gsearch_gene.html
+++ b/gn2/wqflask/templates/gsearch_gene.html
@@ -1,15 +1,14 @@
-{% extends "base.html" %}
+{% extends "index_page.html" %}
{% 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='jquery-ui/jquery-ui.theme.css') }}"/>
<link rel="stylesheet" type="text/css" href="/static/new/css/show_trait.css" />
{% endblock %}
+
{% block content %}
<!-- Start of body -->
-
<div class="container">
-
<div>
<h3>GN searched for the term(s) <b>"{{ terms }}"</b> in 754 datasets and 39,765,944 traits across 10 species<br/>
and found <b>{{ trait_count }}</b> results that match your query.<br/>
diff --git a/gn2/wqflask/templates/gsearch_pheno.html b/gn2/wqflask/templates/gsearch_pheno.html
index 95eb5b80..f45b9b21 100644
--- a/gn2/wqflask/templates/gsearch_pheno.html
+++ b/gn2/wqflask/templates/gsearch_pheno.html
@@ -1,4 +1,4 @@
-{% extends "base.html" %}
+{% extends "index_page.html" %}
{% block title %}Search Results{% endblock %}
{% block css %}
<link rel="stylesheet" type="text/css" href="{{ url_for('css', filename='DataTables/css/jquery.dataTables.css') }}" />