aboutsummaryrefslogtreecommitdiff
path: root/uploader/templates/phenotypes/macro-display-pheno-dataset-card.html
diff options
context:
space:
mode:
Diffstat (limited to 'uploader/templates/phenotypes/macro-display-pheno-dataset-card.html')
-rw-r--r--uploader/templates/phenotypes/macro-display-pheno-dataset-card.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/uploader/templates/phenotypes/macro-display-pheno-dataset-card.html b/uploader/templates/phenotypes/macro-display-pheno-dataset-card.html
new file mode 100644
index 0000000..1121443
--- /dev/null
+++ b/uploader/templates/phenotypes/macro-display-pheno-dataset-card.html
@@ -0,0 +1,23 @@
+{%from "populations/macro-display-population-card.html" import display_population_card%}
+
+{%macro display_pheno_dataset_card(species, population, dataset)%}
+{{display_population_card(species, population)}}
+
+<div class="card">
+ <div class="card-body">
+ <h5 class="card-title">Phenotypes' Dataset</h5>
+ <div class="card-text">
+ <dl>
+ <dt>Name</dt>
+ <dd>{{dataset.Name}}</dd>
+
+ <dt>Full Name</dt>
+ <dd>{{dataset.FullName}}</dd>
+
+ <dt>Short Name</dt>
+ <dd>{{dataset.ShortName}}</dd>
+ </dl>
+ </div>
+ </div>
+</div>
+{%endmacro%}