From 3e028bf0e9f8239b552bcd4b2d6133bb7965abd9 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Wed, 25 Sep 2024 12:09:46 -0500 Subject: Create new genotype datasets. --- uploader/templates/genotypes/create-dataset.html | 82 ++++++++++++++++++++++++ uploader/templates/genotypes/list-genotypes.html | 4 +- 2 files changed, 85 insertions(+), 1 deletion(-) create mode 100644 uploader/templates/genotypes/create-dataset.html (limited to 'uploader/templates') diff --git a/uploader/templates/genotypes/create-dataset.html b/uploader/templates/genotypes/create-dataset.html new file mode 100644 index 0000000..10331c1 --- /dev/null +++ b/uploader/templates/genotypes/create-dataset.html @@ -0,0 +1,82 @@ +{%extends "genotypes/base.html"%} +{%from "flash_messages.html" import flash_all_messages%} +{%from "populations/macro-display-population-card.html" import display_population_card%} + +{%block title%}Genotypes — Create Dataset{%endblock%} + +{%block pagetitle%}Genotypes — Create Dataset{%endblock%} + +{%block lvl4_breadcrumbs%} + +{%endblock%} + +{%block contents%} +{{flash_all_messages()}} + +
+
+ Create a new Genotype Dataset + +
+ + + +

This is a short representative, but constrained name for the genotype + dataset.
+ The field will only accept letters ('A-Za-z'), numbers (0-9), hyphens + and underscores. Any other character will cause the name to be + rejected.

+
+ +
+ + + +

This is a longer, more descriptive name for your dataset.

+
+ +
+ + + +

A short name for your dataset. If you leave this field blank, the + short name will be set to the same value as the + "Name" field above.

+
+ +
+ +
+
+
+{%endblock%} + +{%block sidebarcontents%} +{{display_population_card(species, population)}} +{%endblock%} diff --git a/uploader/templates/genotypes/list-genotypes.html b/uploader/templates/genotypes/list-genotypes.html index cecb5a3..e4c39eb 100644 --- a/uploader/templates/genotypes/list-genotypes.html +++ b/uploader/templates/genotypes/list-genotypes.html @@ -123,7 +123,9 @@ There is no genotype dataset defined for this population.

- create new genotype dataset

-- cgit v1.2.3