aboutsummaryrefslogtreecommitdiff
path: root/uploader/templates/phenotypes
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-09-26 14:18:45 -0500
committerFrederick Muriuki Muriithi2024-09-26 14:18:45 -0500
commitd13071900de2ba73b829f52b96a1593da600118a (patch)
tree656b674a3b34bbb6650ca6a07b54f8e23660c697 /uploader/templates/phenotypes
parentc542cecda4c7c21bde7668f19a1b3e20f9a2b7b9 (diff)
downloadgn-uploader-d13071900de2ba73b829f52b96a1593da600118a.tar.gz
Initialise the phenotypes section.
Diffstat (limited to 'uploader/templates/phenotypes')
-rw-r--r--uploader/templates/phenotypes/base.html12
-rw-r--r--uploader/templates/phenotypes/index.html26
2 files changed, 38 insertions, 0 deletions
diff --git a/uploader/templates/phenotypes/base.html b/uploader/templates/phenotypes/base.html
new file mode 100644
index 0000000..3bc5dea
--- /dev/null
+++ b/uploader/templates/phenotypes/base.html
@@ -0,0 +1,12 @@
+{%extends "populations/base.html"%}
+
+{%block lvl3_breadcrumbs%}
+<li {%if activelink=="phenotypes"%}
+ class="breadcrumb-item active"
+ {%else%}
+ class="breadcrumb-item"
+ {%endif%}>
+ <a href="{{url_for('species.populations.phenotypes.index')}}">Phenotypes</a>
+</li>
+{%block lvl4_breadcrumbs%}{%endblock%}
+{%endblock%}
diff --git a/uploader/templates/phenotypes/index.html b/uploader/templates/phenotypes/index.html
new file mode 100644
index 0000000..0c691e6
--- /dev/null
+++ b/uploader/templates/phenotypes/index.html
@@ -0,0 +1,26 @@
+{%extends "phenotypes/base.html"%}
+{%from "flash_messages.html" import flash_all_messages%}
+{%from "species/macro-select-species.html" import select_species_form%}
+
+{%block title%}Phenotypes{%endblock%}
+
+{%block pagetitle%}Phenotypes{%endblock%}
+
+
+{%block contents%}
+{{flash_all_messages()}}
+
+<div class="row">
+ <p>This section deals with phenotypes that
+ <span class="text-warning">
+ <span class="glyphicon glyphicon-exclamation-sign"></span>
+ … what are the characteristics of these phenotypes? …</span></p>
+ <p>Select the species to begin the process of viewing/uploading data about
+ your phenotypes</p>
+</div>
+
+<div class="row">
+ {{select_species_form(url_for("species.populations.phenotypes.index"),
+ species)}}
+</div>
+{%endblock%}