From 7dfdefe42f243615567415a2d437647a9a6a12f4 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 12 Dec 2024 16:33:20 -0600 Subject: Create new base templates for upload of phenotype. Implement the common UI features, for fetching publication details. --- .../templates/phenotypes/add-phenotypes-base.html | 314 +++++++++++++++++++++ 1 file changed, 314 insertions(+) create mode 100644 uploader/templates/phenotypes/add-phenotypes-base.html (limited to 'uploader/templates/phenotypes/add-phenotypes-base.html') diff --git a/uploader/templates/phenotypes/add-phenotypes-base.html b/uploader/templates/phenotypes/add-phenotypes-base.html new file mode 100644 index 0000000..7de3fc8 --- /dev/null +++ b/uploader/templates/phenotypes/add-phenotypes-base.html @@ -0,0 +1,314 @@ +{%extends "phenotypes/base.html"%} +{%from "flash_messages.html" import flash_all_messages%} +{%from "macro-table-pagination.html" import table_pagination%} +{%from "phenotypes/macro-display-pheno-dataset-card.html" import display_pheno_dataset_card%} + +{%block title%}Phenotypes{%endblock%} + +{%block pagetitle%}Phenotypes{%endblock%} + +{%block lvl4_breadcrumbs%} + +{%endblock%} + +{%block contents%} +{{flash_all_messages()}} + +
+
+ Add New Phenotypes + +
+ {%block frm_add_phenotypes_documentation%}{%endblock%} +

This will not update any existing phenotypes!

+
+ + {%block frm_add_phenotypes_elements%}{%endblock%} + +
+ +
+ + + +
+ +
+
+
+ +
+ {%block page_documentation%}{%endblock%} +
+ +{%endblock%} + +{%block sidebarcontents%} +{{display_pheno_dataset_card(species, population, dataset)}} +{%endblock%} + + +{%block javascript%} + +{%endblock%} -- cgit v1.2.3