From 36fc8996fa830078866e17aab7d9c177c74c835b Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Fri, 13 Sep 2024 09:18:18 -0500 Subject: Initialise genotypes' UI --- uploader/genotypes/views.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 uploader/genotypes/views.py (limited to 'uploader/genotypes/views.py') 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") -- cgit v1.2.3