aboutsummaryrefslogtreecommitdiff
path: root/uploader/genotypes
diff options
context:
space:
mode:
Diffstat (limited to 'uploader/genotypes')
-rw-r--r--uploader/genotypes/__init__.py1
-rw-r--r--uploader/genotypes/views.py12
2 files changed, 13 insertions, 0 deletions
diff --git a/uploader/genotypes/__init__.py b/uploader/genotypes/__init__.py
new file mode 100644
index 0000000..d0025d6
--- /dev/null
+++ b/uploader/genotypes/__init__.py
@@ -0,0 +1 @@
+"""The Genotypes module."""
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")