From b40f14bb409d54fda957e2d8269f1bc86bd34e58 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 29 Dec 2025 11:42:58 -0600 Subject: Samples: Move feature to new UI templates. --- uploader/templates/samples/upload-samples.html | 81 ++++++++++++-------------- 1 file changed, 37 insertions(+), 44 deletions(-) (limited to 'uploader/templates/samples/upload-samples.html') diff --git a/uploader/templates/samples/upload-samples.html b/uploader/templates/samples/upload-samples.html index 4aa2f7f..1f665a3 100644 --- a/uploader/templates/samples/upload-samples.html +++ b/uploader/templates/samples/upload-samples.html @@ -1,56 +1,22 @@ {%extends "samples/base.html"%} {%from "flash_messages.html" import flash_all_messages%} -{%from "populations/macro-select-population.html" import select_population_form%} -{%from "populations/macro-display-population-card.html" import display_population_card%} {%block title%}Samples — Upload Samples{%endblock%} -{%block pagetitle%}Samples — Upload Samples{%endblock%} - -{%block lvl4_breadcrumbs%} - {%endblock%} {%block contents%} {{flash_all_messages()}} -
-

- You can now upload the samples for the "{{population.FullName}}" population - from the "{{species.FullName}}" species here. -

-

- Upload a character-separated value (CSV) file that contains - details about your samples. The CSV file should have the following fields: -

-
Name
-
The primary name/identifier for the sample/individual.
- -
Name2
-
A secondary name for the sample. This can simply be the same as - Name above. This field MUST contain a - value.
- -
Symbol
-
A symbol for the sample. This can be a strain name, e.g. 'BXD60' for - species that have strains. This field can be left empty for species like - Humans that do not have strains..
- -
Alias
-
An alias for the sample. Can be an empty field, or take on the same - value as that of the Symbol.
-
-

-
-
+ + See the documentation below for + details on expected file format.
@@ -149,10 +118,34 @@
-{%endblock%} -{%block sidebarcontents%} -{{display_population_card(species, population)}} + + +
+

File Format

+

+ Upload a character-separated value (CSV) file that contains + details about your samples. The CSV file should have the following fields: +

+
Name
+
The primary name/identifier for the sample/individual.
+ +
Name2
+
A secondary name for the sample. This can simply be the same as + Name above. This field MUST contain a + value.
+ +
Symbol
+
A symbol for the sample. This can be a strain name, e.g. 'BXD60' for + species that have strains. This field can be left empty for species like + Humans that do not have strains..
+ +
Alias
+
An alias for the sample. Can be an empty field, or take on the same + value as that of the Symbol.
+
+

+
{%endblock%} {%block javascript%} -- cgit 1.4.1