diff options
author | Frederick Muriuki Muriithi | 2024-09-30 16:36:53 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-09-30 16:36:53 -0500 |
commit | 1696242aa80f489a8ed4e5a01a30a1fd813dd4f3 (patch) | |
tree | b4549590c2320dc70dee96a9a03c179f4683e8f9 /uploader/templates/phenotypes/view-phenotype.html | |
parent | 35419644dd9093630649093a4e2fba06c19ffb0c (diff) | |
download | gn-uploader-1696242aa80f489a8ed4e5a01a30a1fd813dd4f3.tar.gz |
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.
Diffstat (limited to 'uploader/templates/phenotypes/view-phenotype.html')
-rw-r--r-- | uploader/templates/phenotypes/view-phenotype.html | 43 |
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%} |