From 1a4804305c764cb71afa472561b132278113d842 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 10 Sep 2024 16:59:33 -0500 Subject: Improve "Edit species" UI. --- uploader/templates/species/edit-species.html | 55 ++++++++++++++++++++++++++-- 1 file changed, 52 insertions(+), 3 deletions(-) diff --git a/uploader/templates/species/edit-species.html b/uploader/templates/species/edit-species.html index c7c57fb..6827751 100644 --- a/uploader/templates/species/edit-species.html +++ b/uploader/templates/species/edit-species.html @@ -60,6 +60,8 @@ required="required" value="{{species.SpeciesName}}" class="form-control" /> + + This is the layman's name for the species, e.g. mouse
@@ -72,6 +74,9 @@ required="required" value="{{species.FullName}}" class="form-control" /> + + A scientific name for the species that mostly adheres to the biological + binomial nomenclature system.
@@ -89,6 +94,9 @@ {%endif%}>{{family}} {%endfor%} + + A general classification for the species. This is mostly for use in + GeneNetwork's menus.
@@ -100,6 +108,10 @@ name="species_familyorderid" value="{{species.FamilyOrderId}}" class="form-control" /> + + This is a number that determines the order of the "Family" groupings + above in the GeneNetwork menus. This is an integer value that's manually + assigned.
@@ -109,8 +121,11 @@ + + This integer value determines the order of the species in relation to + each other, but also within the respective "Family" groups.
@@ -122,6 +137,40 @@ {%endblock%} {%block sidebarcontents%} -

… provide details on FamilyOrderId here …

-

… provide details on OrderId here …

+ +
+
+
Family Order
+
+

The current family order is as follows

+ + + + + + + + + {%for item in family_order%} + + + + + {%endfor%} + +
Family Order IdFamily
{{item[0]}}{{item[1]}}
+
+
+
+ +
+
+
Order ID
+
+

The current largest OrderID is: {{max_order_id}}

+

We recommend giving a new species an order ID that is five more than + the current highest i.e. {{max_order_id + 5}}.

+
+
+
{%endblock%} -- cgit v1.2.3