diff options
author | Pjotr Prins | 2020-05-23 07:59:10 -0500 |
---|---|---|
committer | Pjotr Prins | 2020-05-23 07:59:10 -0500 |
commit | 407998f80e6d85e589172a5ebc081ced5aa66516 (patch) | |
tree | 95333b87239502748b48b0152bb3aef80e7e3c0d /bh20simplewebuploader/main.py | |
parent | 230ac5c161790b2f02cf64fbf11a13e50078cf23 (diff) | |
download | bh20-seq-resource-407998f80e6d85e589172a5ebc081ced5aa66516.tar.gz bh20-seq-resource-407998f80e6d85e589172a5ebc081ced5aa66516.tar.lz bh20-seq-resource-407998f80e6d85e589172a5ebc081ced5aa66516.zip |
Web: put in menu routing
Diffstat (limited to 'bh20simplewebuploader/main.py')
-rw-r--r-- | bh20simplewebuploader/main.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bh20simplewebuploader/main.py b/bh20simplewebuploader/main.py index 0ba43fd..c03cc81 100644 --- a/bh20simplewebuploader/main.py +++ b/bh20simplewebuploader/main.py @@ -418,6 +418,18 @@ def receive_files(): shutil.rmtree(dest_dir) +@app.route('/demo') +def demo_page(): + return render_template('demo.html') + +@app.route('/blog') +def blog_page(): + return render_template('blog.html') + +@app.route('/about') +def about_page(): + return render_template('about.html') + ## Dynamic API functions starting here ## This is quick and dirty for now, just to get something out and demonstrate the queries ## Feel free to rename the functions/endpoints, feel free to process result so we get nicer JSON |