From 1696242aa80f489a8ed4e5a01a30a1fd813dd4f3 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 30 Sep 2024 16:36:53 -0500 Subject: Initialise views for a specific phenotype Each phenotype is independent, of all others, and they are only put into datasets mostly for easy coralling of phenotypes related to a specific populations. As such, the system will probably need to provide a way to view (and possibly edit) each phenotype independent of all the others. This also fits in with the auth. --- uploader/templates/phenotypes/view-phenotype.html | 43 +++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 uploader/templates/phenotypes/view-phenotype.html (limited to 'uploader/templates/phenotypes/view-phenotype.html') diff --git a/uploader/templates/phenotypes/view-phenotype.html b/uploader/templates/phenotypes/view-phenotype.html new file mode 100644 index 0000000..5aef6c1 --- /dev/null +++ b/uploader/templates/phenotypes/view-phenotype.html @@ -0,0 +1,43 @@ +{%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()}} + +
+ {{resource}} +
+ +
+

Dataset

+ {{dataset}} +
+ +
+

Phenotype

+ {{phenotype}} +
+{%endblock%} + +{%block sidebarcontents%} +{{display_population_card(species, population)}} +{%endblock%} -- cgit v1.2.3