aboutsummaryrefslogtreecommitdiff
path: root/uploader/templates/phenotypes/view-phenotype.html
diff options
context:
space:
mode:
Diffstat (limited to 'uploader/templates/phenotypes/view-phenotype.html')
-rw-r--r--uploader/templates/phenotypes/view-phenotype.html43
1 files changed, 43 insertions, 0 deletions
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%}
+<li {%if activelink=="view-phenotype"%}
+ class="breadcrumb-item active"
+ {%else%}
+ class="breadcrumb-item"
+ {%endif%}>
+ <a href="{{url_for('species.populations.phenotypes.view_phenotype',
+ species_id=species.SpeciesId,
+ population_id=population.Id,
+ dataset_id=dataset.Id,
+ xref_id=xref_id)}}">View Datasets</a>
+</li>
+{%endblock%}
+
+{%block contents%}
+{{flash_all_messages()}}
+
+<div class="row">
+ {{resource}}
+</div>
+
+<div class="row">
+ <h2>Dataset</h2>
+ {{dataset}}
+</div>
+
+<div class="row">
+ <h2>Phenotype</h2>
+ {{phenotype}}
+</div>
+{%endblock%}
+
+{%block sidebarcontents%}
+{{display_population_card(species, population)}}
+{%endblock%}