From b4abbe430c0e86aaf0982f95b539166dca19cb44 Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Mon, 23 Sep 2024 11:22:11 +0300 Subject: Refactor: Init move search from base to index file. --- gn2/wqflask/templates/base.html | 28 ---------------------------- gn2/wqflask/templates/index_page.html | 31 +++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 28 deletions(-) (limited to 'gn2') diff --git a/gn2/wqflask/templates/base.html b/gn2/wqflask/templates/base.html index 7db9aed6..b00caedd 100644 --- a/gn2/wqflask/templates/base.html +++ b/gn2/wqflask/templates/base.html @@ -168,34 +168,6 @@ {% block search %} -
-
-
-
- -
- - - -
- - - - GNQA Search - - - - - - - -
-
-
-
{% endblock %} {% block content %} {% endblock %} diff --git a/gn2/wqflask/templates/index_page.html b/gn2/wqflask/templates/index_page.html index 734cd075..4e2888e9 100755 --- a/gn2/wqflask/templates/index_page.html +++ b/gn2/wqflask/templates/index_page.html @@ -61,6 +61,37 @@ } {% endblock %} + +{% block search %} +
+
+
+
+ +
+ + + +
+ + + + GNQA Search + + + + + + + +
+
+
+
+ {% endblock %} {% block content %}
-- cgit v1.2.3 From 0b357115d88a38a4c0f128671636a37e2b5287c0 Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Mon, 23 Sep 2024 11:31:55 +0300 Subject: Refactor: move global search css to index page. --- gn2/wqflask/templates/base.html | 26 -------------------------- gn2/wqflask/templates/index_page.html | 34 +++++++++++++++++++++++++++++++++- 2 files changed, 33 insertions(+), 27 deletions(-) (limited to 'gn2') diff --git a/gn2/wqflask/templates/base.html b/gn2/wqflask/templates/base.html index b00caedd..454139df 100644 --- a/gn2/wqflask/templates/base.html +++ b/gn2/wqflask/templates/base.html @@ -33,32 +33,6 @@ table.dataTable thead .sorting_desc { background-image: url({{ url_for("js", filename="DataTables/images/sort_desc_disabled.png") }}); } - .global_search_input{ - padding:9px 8px; - text-decoration: none; - border: none; - - border-radius: 5px; - } - .global_search_input:focus{ - outline: none; - } - .btn-stc { - padding:9px 8px; - border-left:none; - border-radius:0 40px 40px 0; - cursor: pointer; - height: 40px; - width: 64px; - margin:0; - border:1px solid #d3d3d3; - background-color: white; - position: absolute; - top:0; - left: 100%; - right: 0; - border-left: none; - } diff --git a/gn2/wqflask/templates/index_page.html b/gn2/wqflask/templates/index_page.html index 4e2888e9..b836cbb1 100755 --- a/gn2/wqflask/templates/index_page.html +++ b/gn2/wqflask/templates/index_page.html @@ -59,10 +59,40 @@ color:#000; } + + .global_search_input{ + padding:9px 8px; + text-decoration: none; + border: none; + + border-radius: 5px; + } + .global_search_input:focus{ + outline: none; + } + .btn-stc { + padding:9px 8px; + border-left:none; + border-radius:0 40px 40px 0; + cursor: pointer; + height: 40px; + width: 64px; + margin:0; + border:1px solid #d3d3d3; + background-color: white; + position: absolute; + top:0; + left: 100%; + right: 0; + border-left: none; + } + + {% endblock %} -{% block search %} + + {% block search %}
@@ -92,6 +122,8 @@
{% endblock %} + + {% block content %}
-- cgit v1.2.3 From 7613298d6c427f4f3cfd3bd843e6d41099cba125 Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Mon, 23 Sep 2024 11:38:36 +0300 Subject: Refactor: move global search js to index file. --- gn2/wqflask/templates/base.html | 41 ---------------------------- gn2/wqflask/templates/index_page.html | 50 +++++++++++++++++++++++++++++++---- 2 files changed, 45 insertions(+), 46 deletions(-) (limited to 'gn2') diff --git a/gn2/wqflask/templates/base.html b/gn2/wqflask/templates/base.html index 454139df..82387db2 100644 --- a/gn2/wqflask/templates/base.html +++ b/gn2/wqflask/templates/base.html @@ -233,7 +233,6 @@
- - diff --git a/gn2/wqflask/templates/index_page.html b/gn2/wqflask/templates/index_page.html index b836cbb1..216e1c38 100755 --- a/gn2/wqflask/templates/index_page.html +++ b/gn2/wqflask/templates/index_page.html @@ -418,11 +418,51 @@ {%endblock%} {% block js %} - - - - - + + + + - - - - - - - + +{% endblock %} +{% block search %} +
+
+
+
+ +
+ + +
+ + + GNQA Search + + + + + + +
+
+
+
{% endblock %} - - - {% block search %} -
-
-
-
- -
- - - -
- - - - GNQA Search - - - - - - - -
-
-
-
- {% endblock %} - - {% block content %} - +
- - {{ flash_me() }} - - {%if anon_collections | length > 0%} -
-
-

Import Anonymous Collections

-
-
-

- There {%if anon_collections | length > 1%}are{%else%}is{%endif%} - {{anon_collections | length}} anonymous - collection{%if anon_collections | length > 1%}s{%endif%} - associated with your current session. What do you wish to do? -

-

- - If you choose to ignore this, the anonymous collections will be - eventually deleted and lost. - -

-
-
- - - - -
- - -
-
-
- {%endif%} - + {{ flash_me() }} + {% if anon_collections | length > 0 %} +
+
+

Import Anonymous Collections

+
+
+

+ There + {% if anon_collections | length > 1 %} + are + {% else %} + is + {% endif %} + {{ anon_collections | length }} anonymous + collection + {% if anon_collections | length > 1 %}s{% endif %} + associated with your current session. What do you wish to do? +

+

+ + If you choose to ignore this, the anonymous collections will be + eventually deleted and lost. + +

+
+
+ + + + +
+ +
+
+
+ {% endif %}
- -
+
-
-
+
- Webinars & Courses
- In-person courses, live webinars and webinar recordings
+ Webinars & Courses +
+ In-person courses, live webinars and webinar recordings +
- Tutorials
- Tutorials: Training materials in HTML, PDF and video formats
+ Tutorials +
+ Tutorials: Training materials in HTML, PDF and video formats +
- Documentation
- Online manuals, handbooks, fact sheets and FAQs
+ Documentation +
+ Online manuals, handbooks, fact sheets and FAQs +
@@ -354,18 +458,19 @@ -
+
- -{%endblock%} - +{% endblock %} {% block js %} - - - - - + + - + - - - - - - + + + + + + - + - - - {% block css %} - {% endblock %} + + {% block css %}{% endblock %} + + - + {% block search %}{% endblock %} + {% block content %}{% endblock %} +
+
+
+

+ Web services initiated January, 1994 as + The Portable Dictionary of the Mouse Genome; June 15, 2001 as WebQTL; and Jan 5, 2005 as GeneNetwork. +

+

+ This site is currently operated by + Rob Williams, + Pjotr Prins, + Saunak Sen, + Zachary Sloan, + Arthur Centeno, + and Bonface Munyoki. +

+

+ Design and code by Pjotr Prins, Shelby Solomon, Zach Sloan, Arthur Centeno, Christan Fischer, Bonface Munyoki, Danny Arends, Arun Isaac, Alex Mwangi, Fred Muriithi, Sam Ockman, Lei Yan, Xiaodong Zhou, Christian Fernandez, + Ning Liu, Rudi Alberts, Elissa Chesler, Sujoy Roy, Evan G. Williams, Alexander G. Williams, Kenneth Manly, Jintao Wang, Robert W. Williams, and + colleagues. +

+
+

GeneNetwork support from:

+
    +
  • + The UT Center for Integrative and Translational Genomics +
  • +
  • + NIGMS + Systems Genetics and Precision Medicine Project (R01 GM123489, 2017-2026) +
  • +
  • + NSF + Panorama: Integrated Rack-Scale Acceleration for Computational Pangenomics + (PPoSS 2118709, 2021-2016) +
  • +
  • + NIDA + NIDA Core Center of Excellence in Transcriptomics, Systems Genetics, and the Addictome (P30 DA044223, 2017-2022) +
  • +
  • + NIA + Translational Systems Genetics of Mitochondria, Metabolism, and Aging (R01AG043930, 2013-2018) +
  • +
  • + NIAAA + Integrative Neuroscience Initiative on Alcoholism (U01 AA016662, U01 AA013499, U24 AA013513, U01 AA014425, 2006-2017) +
  • +
  • + NIDA, NIMH, and NIAAA + (P20-DA 21131, 2001-2012) +
  • +
  • + NCI MMHCC (U01CA105417), NCRR, BIRN, (U24 RR021760) +
  • +
+

+ Published in + Journal of Open Source Software (JOSS) + +

+

+ Development and source code on github with issue tracker and documentation. +

+ {% if version: %}

- Development and source code on github with issue tracker and documentation. -

- {% if version: %} -

GeneNetwork {{ version }}

- {% endif %} -

It took the server {{ g.request_time() }} seconds to process this page.

-
- + GeneNetwork {{ version }} +

+ {% endif %} +

It took the server {{ g.request_time() }} seconds to process this page.

-
- - -