From 16e5241b2225ee84e31625a2b1b806a60472252f Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Fri, 24 Jan 2025 11:36:57 -0600 Subject: Provide UI for editing a specific phenotype. --- uploader/templates/phenotypes/edit-phenotype.html | 195 ++++++++++++++++++++++ 1 file changed, 195 insertions(+) create mode 100644 uploader/templates/phenotypes/edit-phenotype.html (limited to 'uploader/templates') diff --git a/uploader/templates/phenotypes/edit-phenotype.html b/uploader/templates/phenotypes/edit-phenotype.html new file mode 100644 index 0000000..8b1642c --- /dev/null +++ b/uploader/templates/phenotypes/edit-phenotype.html @@ -0,0 +1,195 @@ +{%extends "phenotypes/base.html"%} +{%from "flash_messages.html" import flash_all_messages%} +{%from "populations/macro-display-population-card.html" import display_population_card%} + +{%block title%}Phenotypes{%endblock%} + +{%block pagetitle%}Phenotypes{%endblock%} + +{%block lvl4_breadcrumbs%} + +{%endblock%} + +{%block contents%} +{{flash_all_messages()}} + +
+

edit phenotype data

+

The two (2) forms provided in this page help you update the data for the + phenotypes, and the publication information for the phenotype, + respectively.

+
+ +
+

phenotype data

+
+
+ + + + + + + {%if population.Family in families_with_se_and_n%} + + + {%endif%} + + + + + {%for item in phenotype.data%} + + + + + {%if population.Family in families_with_se_and_n%} + + + {%endif%} + + {%endfor%} + +
#SampleValueStandard-ErrorNumber of Samples
{{loop.index}}{{item.StrainName}} + +
+
+
+ +
+
+
+ +
+

publication information

+

Use the form below to update the publication information for this + phenotype.

+
+
+ + + + Enter your publication's PubMed ID. + +
+ +
+ + + + Enter the authors. +
+ +
+ + + + Enter your publication's title. +
+ +
+ + + + Enter the abstract for your publication. +
+ +
+ + + + Enter the name of the journal where your work was published. +
+ +
+ + + + Enter the volume in the following format … +
+ +
+ + + + Enter the journal volume where your work was published. +
+ +
+ + + + Select the month when the work was published. + + This cannot be before, say 1600 and cannot be in the future! +
+ +
+ + + + Enter the year your work was published. + + This cannot be before, say 1600 and cannot be in the future! + +
+
+ +
+
+
+ +{%endblock%} + +{%block sidebarcontents%} +{{display_population_card(species, population)}} +{%endblock%} -- cgit v1.2.3