aboutsummaryrefslogtreecommitdiff
path: root/bh20simplewebuploader/main.py
diff options
context:
space:
mode:
authorPjotr Prins2020-07-17 09:09:23 +0100
committerPjotr Prins2020-07-17 09:09:23 +0100
commitd3fa51ee16d902fc0bfa414611d5e0bae6618009 (patch)
tree37c809d651ec5639ea935c59b34e2e19b921855f /bh20simplewebuploader/main.py
parent2c1a907cbfe222d1deed8c31a44d3ea4c382bc3c (diff)
downloadbh20-seq-resource-d3fa51ee16d902fc0bfa414611d5e0bae6618009.tar.gz
bh20-seq-resource-d3fa51ee16d902fc0bfa414611d5e0bae6618009.tar.lz
bh20-seq-resource-d3fa51ee16d902fc0bfa414611d5e0bae6618009.zip
Refactoring map code
Diffstat (limited to 'bh20simplewebuploader/main.py')
-rw-r--r--bh20simplewebuploader/main.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/bh20simplewebuploader/main.py b/bh20simplewebuploader/main.py
index 1147176..e8bb507 100644
--- a/bh20simplewebuploader/main.py
+++ b/bh20simplewebuploader/main.py
@@ -628,7 +628,7 @@ def validated_page():
@app.route('/demo')
def demo_page():
- return render_template('demo.html',menu='DEMO')
+ return render_template('demo.html',menu='DEMO',load_map=True)
@app.route('/blog',methods=['GET'])
def blog_page():
@@ -644,11 +644,6 @@ def about_page():
buf = get_html_body('doc/web/about.html','https://github.com/arvados/bh20-seq-resource/blob/master/doc/web/about.org')
return render_template('about.html',menu='ABOUT',embed=buf)
-##
-@app.route('/map')
-def map_page():
- return render_template('map.html',menu='DEMO')
-
## Dynamic API functions starting here
## This is quick and dirty for now, just to get something out and demonstrate the queries