about summary refs log tree commit diff
path: root/uploader/templates
diff options
context:
space:
mode:
Diffstat (limited to 'uploader/templates')
-rw-r--r--uploader/templates/base.html4
-rw-r--r--uploader/templates/genotypes/base.html12
-rw-r--r--uploader/templates/genotypes/index.html24
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%}