From e9c343766ac9ca5831b223960941a5fe8d837e30 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 26 Sep 2024 16:01:34 -0500 Subject: Enable selecting population for phenotypes. --- .../templates/phenotypes/select-population.html | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 uploader/templates/phenotypes/select-population.html (limited to 'uploader/templates/phenotypes/select-population.html') diff --git a/uploader/templates/phenotypes/select-population.html b/uploader/templates/phenotypes/select-population.html new file mode 100644 index 0000000..eafd4a7 --- /dev/null +++ b/uploader/templates/phenotypes/select-population.html @@ -0,0 +1,28 @@ +{%extends "phenotypes/base.html"%} +{%from "flash_messages.html" import flash_all_messages%} +{%from "species/macro-display-species-card.html" import display_species_card%} +{%from "populations/macro-select-population.html" import select_population_form%} + +{%block title%}Phenotypes{%endblock%} + +{%block pagetitle%}Phenotypes{%endblock%} + + +{%block contents%} +{{flash_all_messages()}} + +
+

Select the population for your phenotypes to view and manage the phenotype + datasets that relate to it.

+
+ +
+ {{select_population_form(url_for("species.populations.phenotypes.select_population", + species_id=species.SpeciesId), + populations)}} +
+{%endblock%} + +{%block sidebarcontents%} +{{display_species_card(species)}} +{%endblock%} -- cgit v1.2.3