From 1b6b9a90a4dbe38aefc00293309fb48d9f478b13 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 26 Sep 2024 17:03:31 -0500 Subject: Start building up the view dataset endpoint --- uploader/templates/phenotypes/view-dataset.html | 82 +++++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 uploader/templates/phenotypes/view-dataset.html (limited to 'uploader/templates') diff --git a/uploader/templates/phenotypes/view-dataset.html b/uploader/templates/phenotypes/view-dataset.html new file mode 100644 index 0000000..219e61e --- /dev/null +++ b/uploader/templates/phenotypes/view-dataset.html @@ -0,0 +1,82 @@ +{%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()}} + +
+

The basic dataset details are:

+ + + + + + + + + + + + + + + + + +
NameFull NameShort Name
{{dataset.Name}}{{dataset.FullName}}{{dataset.ShortName}}
+
+ +
+

Phenotype Data

+ +

The dataset has the following phenotypes:

+ + + + + + + + + + + + + {%for pheno in phenotypes%} + + + + + + + {%else%} + + {%endfor%} + +
#NameFull NameShort Name
{{pheno.sequence_number}}{{pheno.Id}}{{pheno.FullName}}{{pheno.ShortName}}
+
+{%endblock%} + +{%block sidebarcontents%} +{{display_population_card(species, population)}} +{%endblock%} -- cgit v1.2.3