aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorHao Chen2019-05-09 16:14:07 -0500
committerHao Chen2019-05-09 16:14:07 -0500
commit4bbf98ad0f530d76af6f67d5482277b81bfcb524 (patch)
tree1044dfd23676e89f9e08f922793d8839bb785a10 /templates
parent23e5c27d83d545fb1155ae9c0d558abe9c828c91 (diff)
downloadgenecup-4bbf98ad0f530d76af6f67d5482277b81bfcb524.tar.gz
warning message and style change
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/templates/index.html b/templates/index.html
index 011aa6f..6d50a63 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -1,16 +1,17 @@
{% extends "layout.html" %}
{% block content %}
<p>
-
+<br>
+{{ message | safe }}
<form action="/search">
<input name="query" class="form-control form-control-lg" type="search" placeholder="Rgma Nrxn3" aria-label="search" value="">
<button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
</form>
<br>
- This app searches PubMed to find <i>sentences</i> that contain the query terms (e.g., gene symbols, <b>up to five are allowed per search</b>) and <a href="https://github.com/chen42/RatsPub/blob/master/ratspub.py#L95-L129">keywords</a> related to drug addiction.
+ This app searches PubMed to find <i>sentences</i> that contain the query terms (e.g., gene symbols) and <a href="https://github.com/chen42/RatsPub/blob/master/ratspub.py#L95-L129">keywords</a> related to drug addiction.
<p>
<br>
-Searches are conducted through PubMed to get relevant PMIDs, which are then used to retrieve the abstracts from a <a href="https://dataguide.nlm.nih.gov/edirect/archive.html">local archive</a>. The relationships are presented as an interactive <a href="https://js.cytoscape.org" >cytoscape</a> graph. The nodes can be moved around to better reveal the connections. Clicking on the links will bring up the corresponding sentences in a new browser window.
+Searches are conducted through PubMed to get relevant PMIDs, which are then used to retrieve the abstracts from a <a href="https://dataguide.nlm.nih.gov/edirect/archive.html">local archive</a>. The gene-keyword relationships are presented as an interactive <a href="https://js.cytoscape.org" >cytoscape</a> graph. The nodes can be moved to better reveal the connections. Tap on the links will bring up the corresponding sentences in a new browser window.
<p>
<hr>
<a href="https://github.com/chen42/ratspub"> Source code </a>