aboutsummaryrefslogtreecommitdiff
path: root/uploader/templates/phenotypes
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-12-17 12:53:36 -0600
committerFrederick Muriuki Muriithi2024-12-17 15:23:28 -0600
commit5fb7ed201e07237a1df7a9d4f55dc25daaccfac4 (patch)
treee6da34b10ce01164754f723b40ecaf3c7f3f68f3 /uploader/templates/phenotypes
parente15e4a0d34f918a4d488f25012aaa7b32984f935 (diff)
downloadgn-uploader-5fb7ed201e07237a1df7a9d4f55dc25daaccfac4.tar.gz
Display preview UI elements.
Diffstat (limited to 'uploader/templates/phenotypes')
-rw-r--r--uploader/templates/phenotypes/add-phenotypes-raw-files.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/uploader/templates/phenotypes/add-phenotypes-raw-files.html b/uploader/templates/phenotypes/add-phenotypes-raw-files.html
index ef0895d..ef5743e 100644
--- a/uploader/templates/phenotypes/add-phenotypes-raw-files.html
+++ b/uploader/templates/phenotypes/add-phenotypes-raw-files.html
@@ -2,6 +2,7 @@
{%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%}
+{%from "phenotypes/macro-display-preview-table.html" import display_preview_table%}
{%block title%}Phenotypes{%endblock%}
@@ -294,6 +295,16 @@
{%endblock%}
+{%block sidebarcontents%}
+{{display_preview_table("tbl-preview-pheno-desc", "descriptions")}}
+{{display_preview_table("tbl-preview-pheno-data", "data")}}
+{%if population.Family in families_with_se_and_n%}
+{{display_preview_table("tbl-preview-pheno-se", "standard errors")}}
+{{display_preview_table("tbl-preview-pheno-n", "number of samples")}}
+{%endif%}
+{{display_pheno_dataset_card(species, population, dataset)}}
+{%endblock%}
+
{%block more_javascript%}
<script type="text/javascript">