aboutsummaryrefslogtreecommitdiff
path: root/uploader/templates
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-09-17 15:01:27 -0500
committerFrederick Muriuki Muriithi2024-09-17 15:07:19 -0500
commita7f158de3cafddcca9c788829a263eb444fa7b59 (patch)
tree674a564703b45edd5a20aca447e841d079f906f5 /uploader/templates
parentd48cfff120562592d6535d493412ee1881487c38 (diff)
downloadgn-uploader-a7f158de3cafddcca9c788829a263eb444fa7b59.tar.gz
Select genotype's population.
Diffstat (limited to 'uploader/templates')
-rw-r--r--uploader/templates/genotypes/select-population.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/uploader/templates/genotypes/select-population.html b/uploader/templates/genotypes/select-population.html
new file mode 100644
index 0000000..7c81943
--- /dev/null
+++ b/uploader/templates/genotypes/select-population.html
@@ -0,0 +1,31 @@
+{%extends "genotypes/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%}Genotypes{%endblock%}
+
+{%block pagetitle%}Genotypes{%endblock%}
+
+
+{%block contents%}
+{{flash_all_messages()}}
+
+<div class="row">
+ <p>
+ You have indicated that you intend to upload the genotypes for species
+ '{{species.FullName}}'. We now just require the population for your
+ experiment/study, and you should be good to go.
+ </p>
+</div>
+
+<div class="row">
+ {{select_population_form(url_for("species.populations.genotypes.select_population",
+ species_id=species.SpeciesId),
+ populations)}}
+</div>
+{%endblock%}
+
+{%block sidebarcontents%}
+{{display_species_card(species)}}
+{%endblock%}