From dea29486883b5b13369a6d2c5392ec01a24555ee Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Fri, 13 Dec 2024 15:30:29 -0600 Subject: Refactor template to extend common base Extend the common base template in order to reuse the common parts for uploading phenotypes. --- .../add-phenotypes-with-rqtl2-bundle.html | 82 +++++++--------------- 1 file changed, 24 insertions(+), 58 deletions(-) (limited to 'uploader') diff --git a/uploader/templates/phenotypes/add-phenotypes-with-rqtl2-bundle.html b/uploader/templates/phenotypes/add-phenotypes-with-rqtl2-bundle.html index a1953df..8f67baa 100644 --- a/uploader/templates/phenotypes/add-phenotypes-with-rqtl2-bundle.html +++ b/uploader/templates/phenotypes/add-phenotypes-with-rqtl2-bundle.html @@ -1,4 +1,4 @@ -{%extends "phenotypes/base.html"%} +{%extends "phenotypes/add-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%} @@ -20,54 +20,35 @@ {%endblock%} -{%block contents%} -{{flash_all_messages()}} - -
We accept an extended form of the
@@ -219,19 +200,4 @@
pheno_transposed: True
, then the file will be a matrix of
phenotypes × individuals.
Use the following resources for automated retrieval of certain data
-