aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xserver.py8
-rw-r--r--templates/signin.html4
2 files changed, 6 insertions, 6 deletions
diff --git a/server.py b/server.py
index 0466607..1ac44f7 100755
--- a/server.py
+++ b/server.py
@@ -447,7 +447,7 @@ def tableview():
gene_name=gene_name.replace("'","")
gene_name = gene_name+added
num_gene = gene_name.count(',')+1
- message3="<b> Notes: </b><li> Click on the abstract count to read sentences linking the keyword and the gene. <li> Click on a gene to search its relations with top 200 addiction genes. <li> Click on a keyword to see the terms included in the search. <li>View the results in <a href='cytoscape'><b> a graph.</b></a>"
+ message3="<b> Actions: </b><li> <font color=\"red\">Click on the abstract count to read sentences linking the keyword and the gene.</font> <li> Click on a gene to search its relations with top 200 addiction genes. <li> Click on a keyword to see the terms included in the search. <li>View the results in <a href='cytoscape'><b> a graph.</b></a>"
return render_template('tableview.html', nodata_temp=nodata_temp, num_gene=num_gene,session_path = session['path'], jedges=jedges, jnodes=jnodes,gene_name=gene_name, message3=message3)
@app.route("/tableview0")
@@ -506,7 +506,7 @@ def userarchive():
filename=filename[0:4]+"-"+filename[5:7]+"-"+filename[8:13]+":"+filename[14:16]+":"+filename[17:19]
directory_list.append(filename)
len_dir = len(directory_list)
- message3="<b> Note: </b><li> Click on the Date/Time to view archived results. <li>The Date/Time are based on US Central time zone. "
+ message3="<b> Actions: </b><li> Click on the Date/Time to view archived results. <li>The Date/Time are based on US Central time zone. "
return render_template('userarchive.html', len_dir=len_dir, gene_list = gene_list, folder_list=folder_list, directory_list=directory_list, session_id=session_id, message3=message3)
# delete this search
@@ -575,12 +575,12 @@ def date():
for i in range(0,num_gene):
gene_list.append(gene_name1.split(',')[i])
session['query'] = gene_list
- message3="<b> Notes: </b><li>Click on the keywords to see the indicated number of abstracts <li> Click on a gene to search its relations with top 200 addiction genes<li>Click on a keyword to see the terms included in the search<li>Hover your pointer over a node will hide other links <li>Nodes can be moved around for better visibility, reload the page will restore the original layout<li> View the results in <a href='cytoscape'><b>a graph.</b></a>"
+ message3="<b> Actions: </b><li><font color=\"red\">Click on the keywords to see the indicated number of abstracts </font><li> Click on a gene to search its relations with top 200 addiction genes<li>Click on a keyword to see the terms included in the search<li>Hover your pointer over a node to hide other links <li>Nodes can be moved around for better visibility, reload the page will restore the original layout<li> View the results in <a href='cytoscape'><b>a graph.</b></a>"
return render_template('tableview.html', title='',nodata_temp=nodata_temp, date=select_date, num_gene=num_gene,session_path = session['path'], jedges=jedges, jnodes=jnodes,gene_name=gene_name, message3=message3)
@app.route('/cytoscape')
def cytoscape():
- message2="<b> Notes: </b><li>Click on a line to see the indicated number of abstracts <li> Click on a gene to search its relations with top 200 addiction genes<li>Click on a keyword to see the terms included in the search<li>Hover your pointer over a node will hide other links <li>Nodes can be moved around for better visibility, reload the page will restore the original layout<li>View the results in <a href='tableview'><b>a table. </b></a>"
+ message2="<b> Notes: </b><li><font color=\"red\">Click on a line to see the indicated number of abstracts </font> <li> Click on a gene to search its relations with top 200 addiction genes<li>Click on a keyword to see the terms included in the search<li>Hover your pointer over a node to hide other links <li>Nodes can be moved around for better visibility, reload the page will restore the original layout<li>View the results in <a href='tableview'><b>a table. </b></a>"
with open(session['path']+"_cy","r") as f:
elements=f.read()
with open(session['path']+"_0link","r") as z:
diff --git a/templates/signin.html b/templates/signin.html
index cf5f486..99c0d75 100644
--- a/templates/signin.html
+++ b/templates/signin.html
@@ -23,7 +23,7 @@
<button type="submit" class="btn btn-primary btn-block">Sign in</button>
</div>
</form>
- If you forgot your password, you can <a href = "mailto: hakan@uthsc.edu">send email</a> us to get a new one. Please use your e-mail in the system. You can send to hakan@uthsc.edu
+ Please make sure you backup your password. To ensure security, your actual password is not saved in our database. Thus we have limited ability to reset your password. If you need to recovery your account, please <a href = "mailto: hakan@uthsc.edu">contact us</a>. We'll need the email address you used to create the account.
</td>
</tr>
</table>
@@ -32,4 +32,4 @@
-{% endblock %} \ No newline at end of file
+{% endblock %}