From 35179dec9aa1926102ad2ddbbd5b8ad2882be92e Mon Sep 17 00:00:00 2001 From: Hao Chen Date: Wed, 22 Apr 2020 09:23:53 -0500 Subject: more ui tweaks --- server.py | 8 ++++---- templates/signin.html | 2 +- templates/signup.html | 5 +++-- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/server.py b/server.py index 1ac44f7..254fdcb 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=" Actions:
  • Click on the abstract count to read sentences linking the keyword and the gene.
  • Click on a gene to search its relations with top 200 addiction genes.
  • Click on a keyword to see the terms included in the search.
  • View the results in a graph." + message3=" Actions:
  • Click on the abstract count to read sentences linking the keyword and the gene
  • Click on a gene to search its relations with top 200 addiction genes.
  • Click on a keyword to see the terms included in the search.
  • View the results in a graph.
  • All results will appear in a new Browser window (or tab)" 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") @@ -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=" Actions:
  • Click on the keywords to see the indicated number of abstracts
  • Click on a gene to search its relations with top 200 addiction genes
  • Click on a keyword to see the terms included in the search
  • Hover your pointer over a node to hide other links
  • Nodes can be moved around for better visibility, reload the page will restore the original layout
  • View the results in a graph." + message3=" Actions:
  • Click on the keywords to see the indicated number of abstracts
  • Click on a gene to search its relations with top 200 addiction genes
  • Click on a keyword to see the terms included in the search
  • Hover your pointer over a node to hide other links
  • Move nodes around to adjust visibility, reload the page to restore the default layout
  • View the results in a graph." 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=" Notes:
  • Click on a line to see the indicated number of abstracts
  • Click on a gene to search its relations with top 200 addiction genes
  • Click on a keyword to see the terms included in the search
  • Hover your pointer over a node to hide other links
  • Nodes can be moved around for better visibility, reload the page will restore the original layout
  • View the results in a table. " + message2=" Actions:
  • Click on a line to see the indicated number of abstracts
  • Click on a gene to search its relations with top 200 addiction genes
  • Click on a keyword to see the terms included in the search
  • Hover your pointer over a node to hide other links
  • Move nodes around to adjust visibility, reload the page to restore the default layout
  • View the results in a table.
  • All results will appear in a new Browser window (or tab)" with open(session['path']+"_cy","r") as f: elements=f.read() with open(session['path']+"_0link","r") as z: @@ -756,4 +756,4 @@ def top150genes(): if __name__ == '__main__': db.create_all() - app.run(debug=True, port=4200) + app.run(debug=True, port=4201) diff --git a/templates/signin.html b/templates/signin.html index 99c0d75..f315d71 100644 --- a/templates/signin.html +++ b/templates/signin.html @@ -23,7 +23,7 @@ - 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 contact us. We'll need the email address you used to create the account. + To ensure security, your actual password is not saved in our database. Thus we have limited ability to reset your password. If you do need to recovery your account, please contact us. We'll need the email address you used to create the account. diff --git a/templates/signup.html b/templates/signup.html index b3cb061..795b620 100644 --- a/templates/signup.html +++ b/templates/signup.html @@ -26,9 +26,10 @@ - If you forgot your password, you can send email 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 contact us. We'll need the email address you used to create the account. + -{% endblock %} \ No newline at end of file +{% endblock %} -- cgit v1.2.3