From 4931c70884c7aa7bb3d4fba927597a2f89b4c9b0 Mon Sep 17 00:00:00 2001 From: Hao Chen Date: Mon, 13 May 2019 11:52:24 -0500 Subject: reorg page layout --- server.py | 6 ++++++ static/style.css | 8 ++++---- templates/index.html | 24 ++++++++---------------- templates/layout.html | 23 ++++++++++++++++++++--- templates/topAddictionGene.html | 8 +++++++- 5 files changed, 45 insertions(+), 24 deletions(-) diff --git a/server.py b/server.py index 29aa66c..2cff990 100755 --- a/server.py +++ b/server.py @@ -14,6 +14,12 @@ app.config['SECRET_KEY'] = '#DtfrL98G5t1dC*4' def root(): return render_template('index.html') +@app.route("/about") +def about(): + return render_template('about.html') + + + @app.route('/progress') def progress(): # only 1-6 terms are allowed diff --git a/static/style.css b/static/style.css index 509a2b7..867a753 100644 --- a/static/style.css +++ b/static/style.css @@ -7,20 +7,20 @@ a:link { - color:grey ; + color: #097DC9; } /* A link that has been visited */ a:visited { - color: grey; + color: #097DC9; } /* A link that is hovered on */ a:hover { - color: blue; + color: #097DC9; } /* A link that is selected */ a:active { - color: blue; + color: #097DC9; } diff --git a/templates/index.html b/templates/index.html index 0771787..b94853e 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,26 +1,18 @@ {% extends "layout.html" %} {% block content %} -
-
{{ message | safe }}
-
-Searches are conducted through PubMed to get relevant PMIDs, which are then used to retrieve the abstracts from a local archive. The gene-keyword relationships are presented as an interactive cytoscape 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.
-
- -
- -