aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2019-02-05 11:00:22 -0600
committerzsloan2019-02-05 11:00:22 -0600
commit31f5bcc0d28f1093b06b44639e3d3dc96fa4ac0a (patch)
treeec097801ab38a98b0ce693d0761740d5fca0c188 /wqflask
parent85f014695b7873941ad200051606635ff37b2c20 (diff)
downloadgenenetwork2-31f5bcc0d28f1093b06b44639e3d3dc96fa4ac0a.tar.gz
Removed redundant header text from search page to save vertical space
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/templates/search_result_page.html12
1 files changed, 4 insertions, 8 deletions
diff --git a/wqflask/wqflask/templates/search_result_page.html b/wqflask/wqflask/templates/search_result_page.html
index 6fcbcb01..db6bc15d 100644
--- a/wqflask/wqflask/templates/search_result_page.html
+++ b/wqflask/wqflask/templates/search_result_page.html
@@ -8,12 +8,10 @@
{% endblock %}
{% block content %}
<!-- Start of body -->
- {{ header("Search Results",
- 'GeneNetwork found {}.'.format(numify(results|count, "record", "records"))) }}
-
<div style="padding-left: 10px;">
<input type="hidden" name="uc_id" id="uc_id" value="{{ uc_id }}">
+ <div style="padding-top: 10px; padding-bottom: 10px; font-size: 16px;">
<!-- Need to customize text more for other types of searches -->
<p>We searched <a href="http://genenetwork.org/webqtl/main.py?FormID=sharinginfo&GN_AccessionId={{dataset.id}}">{{ dataset.fullname }}</a>
to find all records
@@ -39,12 +37,14 @@
{% elif word.key|lower == "position" %}
with <u>target genes</u> on chromosome <strong>{% 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 %}</strong> between <strong>{{ word.search_term[1] }}</strong> and <strong>{{ word.search_term[2] }}</strong> Mb{% if loop.last %}.{% else %} and {% endif %}
{% else %}
- that match the <u>TERM</u> <b>{{ word.search_term[0] }}</b>{% if loop.last %}.{% else %} and {% endif %}
+ that match the <u>TERM</u> <b>{{ word.search_term[0] }}</b>{% if loop.last %},{% else %} and {% endif %}
{% endif %}
{% endfor %}
+ and found {{ results|count }} records.
</p>
<p>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.</p>
+ </div>
<div>
<form id="trait_submission_form" target="_blank" action="/corr_matrix" method="post">
@@ -90,10 +90,6 @@
BNW
</button>
- <button id="delete" class="btn btn-danger submit_special" style="margin-left: 15px;" data-url="/collections/delete" title="Delete this collection" >
- Delete Collection
- </button>
-
</form>
</div>