aboutsummaryrefslogtreecommitdiff
path: root/uploader/templates/samples/index.html
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-09-09 14:06:31 -0500
committerFrederick Muriuki Muriithi2024-09-09 16:41:46 -0500
commit9cd33ddac3d6848c5443962d66494635feadef51 (patch)
tree385a559380f4d6a961fefb38ad410ad9ca27b052 /uploader/templates/samples/index.html
parent707c715d1e336ee45bdcced031881ed603b9297a (diff)
downloadgn-uploader-9cd33ddac3d6848c5443962d66494635feadef51.tar.gz
Initialise samples uploads
* Move existing code to new module * Rework the UI: create new templates * Rework the routes: Select species and populations before attempting an upload.
Diffstat (limited to 'uploader/templates/samples/index.html')
-rw-r--r--uploader/templates/samples/index.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/uploader/templates/samples/index.html b/uploader/templates/samples/index.html
new file mode 100644
index 0000000..7c88c01
--- /dev/null
+++ b/uploader/templates/samples/index.html
@@ -0,0 +1,21 @@
+{%extends "samples/base.html"%}
+{%from "flash_messages.html" import flash_all_messages%}
+{%from "species/macro-select-species.html" import select_species_form%}
+
+{%block title%}Populations{%endblock%}
+
+{%block pagetitle%}Populations{%endblock%}
+
+
+{%block contents%}
+{{flash_all_messages()}}
+
+<div class="row">
+ <p>Here, you can upload the samples/individuals that were used in your
+ experiments.</p>
+ <p>Since the samples are linked to specific species and populations, we will
+ need to first select them in the next few steps.</p>
+
+ {{select_species_form(url_for("species.populations.samples.index"), species)}}
+</div>
+{%endblock%}