diff options
author | Frederick Muriuki Muriithi | 2024-09-13 09:18:18 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-09-13 10:40:30 -0500 |
commit | 36fc8996fa830078866e17aab7d9c177c74c835b (patch) | |
tree | 2cb62c2d5fee89c0c922475a304beb8e8f201122 /uploader/genotypes/views.py | |
parent | 2f1279b5e45dfff972fa6462d94a0b93b6a1144f (diff) | |
download | gn-uploader-36fc8996fa830078866e17aab7d9c177c74c835b.tar.gz |
Initialise genotypes' UI
Diffstat (limited to 'uploader/genotypes/views.py')
-rw-r--r-- | uploader/genotypes/views.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/uploader/genotypes/views.py b/uploader/genotypes/views.py new file mode 100644 index 0000000..2b4ed10 --- /dev/null +++ b/uploader/genotypes/views.py @@ -0,0 +1,12 @@ +"""Views for the genotypes.""" +from flask import Blueprint, render_template + +from uploader.authorisation import require_login + +genotypesbp = Blueprint("genotypes", __name__) + +@genotypesbp.route("/genotypes") +@require_login +def index(): + """Direct entry-point for genotypes.""" + return render_template("genotypes/index.html") |