diff options
author | Frederick Muriuki Muriithi | 2024-09-13 09:18:18 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-09-13 10:40:30 -0500 |
commit | 36fc8996fa830078866e17aab7d9c177c74c835b (patch) | |
tree | 2cb62c2d5fee89c0c922475a304beb8e8f201122 /uploader/templates | |
parent | 2f1279b5e45dfff972fa6462d94a0b93b6a1144f (diff) | |
download | gn-uploader-36fc8996fa830078866e17aab7d9c177c74c835b.tar.gz |
Initialise genotypes' UI
Diffstat (limited to 'uploader/templates')
-rw-r--r-- | uploader/templates/base.html | 4 | ||||
-rw-r--r-- | uploader/templates/genotypes/base.html | 12 | ||||
-rw-r--r-- | uploader/templates/genotypes/index.html | 24 |
3 files changed, 38 insertions, 2 deletions
diff --git a/uploader/templates/base.html b/uploader/templates/base.html index d68c6c0..cc37c3e 100644 --- a/uploader/templates/base.html +++ b/uploader/templates/base.html @@ -46,10 +46,10 @@ <li><a href="/" >Home</a></li> <li><a href="{{url_for('species.list_species')}}" title="View and manage species information.">Species</a></li> - <li><a href="#" - title="Upload Genotype data.">Genotype Data</a></li> <li><a href="{{url_for('species.populations.index')}}" title="View and manage species populations.">Populations</a></li> + <li><a href="{{url_for('species.populations.genotypes.index')}}" + title="Upload Genotype data.">Genotype Data</a></li> <li><a href="{{url_for('species.populations.samples.index')}}" title="Upload population samples.">Samples</a></li> <li><a href="{{url_for('expression-data.index.index')}}" diff --git a/uploader/templates/genotypes/base.html b/uploader/templates/genotypes/base.html new file mode 100644 index 0000000..1b274bf --- /dev/null +++ b/uploader/templates/genotypes/base.html @@ -0,0 +1,12 @@ +{%extends "populations/base.html"%} + +{%block lvl3_breadcrumbs%} +<li {%if activelink=="genotypes"%} + class="breadcrumb-item active" + {%else%} + class="breadcrumb-item" + {%endif%}> + <a href="{{url_for('species.populations.genotypes.index')}}">Genotypes</a> +</li> +{%block lvl4_breadcrumbs%}{%endblock%} +{%endblock%} diff --git a/uploader/templates/genotypes/index.html b/uploader/templates/genotypes/index.html new file mode 100644 index 0000000..4f5c3a8 --- /dev/null +++ b/uploader/templates/genotypes/index.html @@ -0,0 +1,24 @@ +{%extends "genotypes/base.html"%} +{%from "flash_messages.html" import flash_all_messages%} +{%from "species/macro-select-species.html" import select_species_form%} + +{%block title%}Genotypes{%endblock%} + +{%block pagetitle%}Genotypes{%endblock%} + + +{%block contents%} +{{flash_all_messages()}} + +<div class="row"> + <p><strong>We have not implemented this part yet!</strong></p> +</div> + +<div class="row"> + <h3>Some Important Concepts to Consider/Remember</h3> + <ul> + <li>Reference vs. Non-reference alleles</li> + <li>In <em>GenoCode</em> table, items are ordered by <strong>InbredSet</strong></li> + </ul> +</div> +{%endblock%} |