From 9cd33ddac3d6848c5443962d66494635feadef51 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 9 Sep 2024 14:06:31 -0500 Subject: 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. --- uploader/templates/samples/index.html | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 uploader/templates/samples/index.html (limited to 'uploader/templates/samples/index.html') 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()}} + +
+

Here, you can upload the samples/individuals that were used in your + experiments.

+

Since the samples are linked to specific species and populations, we will + need to first select them in the next few steps.

+ + {{select_species_form(url_for("species.populations.samples.index"), species)}} +
+{%endblock%} -- cgit v1.2.3