aboutsummaryrefslogtreecommitdiff
path: root/bh20simplewebuploader/main.py
diff options
context:
space:
mode:
authorPjotr Prins2020-05-23 08:42:00 -0500
committerPjotr Prins2020-05-23 08:42:00 -0500
commitef5c0de4f309923b844d9fe0dd9ac70b7347a49a (patch)
tree83a278b859d95ff59a0da6f1bac2be97d03e7dce /bh20simplewebuploader/main.py
parent4e9df3187214536d19c34da5335c7ec1310b0067 (diff)
downloadbh20-seq-resource-ef5c0de4f309923b844d9fe0dd9ac70b7347a49a.tar.gz
bh20-seq-resource-ef5c0de4f309923b844d9fe0dd9ac70b7347a49a.tar.lz
bh20-seq-resource-ef5c0de4f309923b844d9fe0dd9ac70b7347a49a.zip
Menu and forms
Diffstat (limited to 'bh20simplewebuploader/main.py')
-rw-r--r--bh20simplewebuploader/main.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/bh20simplewebuploader/main.py b/bh20simplewebuploader/main.py
index c03cc81..a30d350 100644
--- a/bh20simplewebuploader/main.py
+++ b/bh20simplewebuploader/main.py
@@ -225,7 +225,7 @@ def send_form():
Send the file upload form/front page.
"""
- return render_template('form.html', fields=FORM_ITEMS)
+ return render_template('form.html', fields=FORM_ITEMS, menu='HOME')
class FileTooBigError(RuntimeError):
"""
@@ -420,15 +420,15 @@ def receive_files():
@app.route('/demo')
def demo_page():
- return render_template('demo.html')
+ return render_template('demo.html',menu='DEMO')
@app.route('/blog')
def blog_page():
- return render_template('blog.html')
+ return render_template('blog.html',menu='BLOG')
@app.route('/about')
def about_page():
- return render_template('about.html')
+ return render_template('about.html',menu='ABOUT')
## Dynamic API functions starting here
## This is quick and dirty for now, just to get something out and demonstrate the queries