From d3122c73497650d7165afb8fc6c75f2650ef956c Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 26 Sep 2024 16:02:12 -0500 Subject: List the phenotype datasets. --- uploader/templates/phenotypes/list-datasets.html | 63 ++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 uploader/templates/phenotypes/list-datasets.html (limited to 'uploader/templates') diff --git a/uploader/templates/phenotypes/list-datasets.html b/uploader/templates/phenotypes/list-datasets.html new file mode 100644 index 0000000..360fd2c --- /dev/null +++ b/uploader/templates/phenotypes/list-datasets.html @@ -0,0 +1,63 @@ +{%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()}} + +
+ {%if datasets | length > 0%} +

The dataset(s) available for this population is/are:

+ + + + + + + + + + + + {%for dataset in datasets%} + + + + + + {%endfor%} + +
NameFull NameShort Name
{{dataset.Name}}{{dataset.FullName}}{{dataset.ShortName}}
+ {%else%} +

+ + There is no dataset for this population!

+

create dataset

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