From 21529db361812860286faf7f3fc4b08e9637b687 Mon Sep 17 00:00:00 2001 From: zsloan Date: Tue, 18 Jun 2019 13:17:27 -0500 Subject: Changed the text displayed on search results page Added some links to index page Removed footer from search results page --- wqflask/wqflask/templates/index_page_orig.html | 3 +- wqflask/wqflask/templates/search_result_page.html | 40 ++++++----------------- 2 files changed, 11 insertions(+), 32 deletions(-) diff --git a/wqflask/wqflask/templates/index_page_orig.html b/wqflask/wqflask/templates/index_page_orig.html index 79342452..30e3f2f6 100755 --- a/wqflask/wqflask/templates/index_page_orig.html +++ b/wqflask/wqflask/templates/index_page_orig.html @@ -183,6 +183,7 @@
  • Genome browser at UTHSC
  • Galaxy at UTHSC
  • Systems Genetics @ EPFL
  • +
  • UTHSC Bayesian Network Web Server
  • @@ -247,8 +248,6 @@ diff --git a/wqflask/wqflask/templates/search_result_page.html b/wqflask/wqflask/templates/search_result_page.html index b31d2d00..61a533f7 100644 --- a/wqflask/wqflask/templates/search_result_page.html +++ b/wqflask/wqflask/templates/search_result_page.html @@ -37,15 +37,16 @@ {% elif word.key|lower == "position" %} with target genes on chromosome {% if word.search_term[0].split('chr')|length > 1 %}{{ word.search_term[0].split('chr')[1] }}{% elif word.search_term[0].split('CHR')|length > 1 %}{{ word.search_term[0].split('CHR')[1] }}{% else %}{{ word.search_term[0] }}{% endif %} between {{ word.search_term[1] }} and {{ word.search_term[2] }} Mb{% if loop.last %}.{% else %} and {% endif %} {% else %} - that match the TERM {{ word.search_term[0] }}{% if loop.last %},{% else %} and {% endif %} + {% if word.search_term[0] == "*" %} in the dataset.{% else %}{% if loop.first %}that match:
    {% endif %}"{{ word.search_term[0] }}"{% if loop.last %}{% else %} and {% endif %}{% endif %} {% endif %} {% endfor %} - and found {{ results|count }} records. +
    + {{ results|count }} records are shown below.

    -

    To study a record click on its ID below, and to view the whole description {% if dataset.type == "Publish" %}or list of authors {% endif %} hover over the table cell. Check records below and click Add button to add to selection.

    + -
    + @@ -104,21 +105,19 @@

    - - + + -
    -
    -
    + - +

    - +
    @@ -411,25 +410,6 @@ } } ); - if (trait_list.length > 20) { - $('#trait_table').append( - '' + - '' + - '' + - '' + - '' + - ' ' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' - ); - } - console.timeEnd("Creating table"); $('#redraw').click(function() { -- cgit v1.2.3
    IndexRecordSymbolDescriptionLocationMeanMax LRS ?Max LRS LocationAdditive Effect ?