From cd5f5e2e7a4cb91f00e3227922daab40c30b35bf Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Wed, 4 Sep 2024 12:32:27 -0500 Subject: Create populations (InbredSet groups) under Species. --- .../templates/populations/create-population.html | 118 +++++++++++++++++++++ .../templates/populations/view-population.html | 2 +- 2 files changed, 119 insertions(+), 1 deletion(-) create mode 100644 uploader/templates/populations/create-population.html (limited to 'uploader/templates/populations') diff --git a/uploader/templates/populations/create-population.html b/uploader/templates/populations/create-population.html new file mode 100644 index 0000000..a27a134 --- /dev/null +++ b/uploader/templates/populations/create-population.html @@ -0,0 +1,118 @@ +{%extends "populations/base.html"%} +{%from "flash_messages.html" import flash_all_messages%} +{%from "species/macro-select-species.html" import select_species_form%} + +{%block title%}Create Population{%endblock%} + +{%block pagetitle%}Create Population{%endblock%} + +{%block lvl3_breadcrumbs%} + +{%endblock%} + + +{%block contents%} +
+

The population is the next hierarchical node under Species. Data is grouped under a specific population, under a particular species.

+

+ This page enables you to create a new population, in the case that you + cannot find the population you want in the + + list of species populations + +

+
+ +
+
+ + Create Population + +
+ + + +

+ This is a descriptive name for your population — useful for + humans. +

+
+
+ +
+ + + +

+ This is a short representative, but constrained name for your + population. +

+

+ The field will only accept letters ('A-Za-z'), numbers (0-9), hyphens + and underscores. Any other character will cause the name to be + rejected. +

+
+
+ +
+ + + +

+ This is a more detailed description for your population. This is + useful to communicate with other researchers some details regarding + your population, and what its about. +

+

+ Put, here, anything that describes your population but does not go + cleanly under metadata. +

+
+
+ +
+ +
+ +
+
+{%endblock%} + +{%block sidebarcontents%} +

… maybe provide species details here, perhaps? …

+{%endblock%} diff --git a/uploader/templates/populations/view-population.html b/uploader/templates/populations/view-population.html index 2ab7ca3..7eb1362 100644 --- a/uploader/templates/populations/view-population.html +++ b/uploader/templates/populations/view-population.html @@ -30,7 +30,7 @@
{{population.FullName}}
Description
-
{{population.Description or "-"}}
+
{{population.Description or "-"}}
-- cgit v1.2.3