From d13071900de2ba73b829f52b96a1593da600118a Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 26 Sep 2024 14:18:45 -0500 Subject: Initialise the phenotypes section. --- uploader/templates/base.html | 3 +-- uploader/templates/phenotypes/base.html | 12 ++++++++++++ uploader/templates/phenotypes/index.html | 26 ++++++++++++++++++++++++++ 3 files changed, 39 insertions(+), 2 deletions(-) create mode 100644 uploader/templates/phenotypes/base.html create mode 100644 uploader/templates/phenotypes/index.html (limited to 'uploader/templates') diff --git a/uploader/templates/base.html b/uploader/templates/base.html index b297669..019aa39 100644 --- a/uploader/templates/base.html +++ b/uploader/templates/base.html @@ -68,8 +68,7 @@ sections, etc. -->
  • - Phenotype Data
  • + Phenotypes +
  • +{%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()}} + +
    +

    This section deals with phenotypes that + + + … what are the characteristics of these phenotypes? …

    +

    Select the species to begin the process of viewing/uploading data about + your phenotypes

    +
    + +
    + {{select_species_form(url_for("species.populations.phenotypes.index"), + species)}} +
    +{%endblock%} -- cgit v1.2.3