From f726c71bf1636a838f45363d1613763a2926e34f Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Wed, 12 Jun 2024 16:38:54 -0500 Subject: Update html templates to use bootstrap for styling --- qc_app/templates/samples/select-population.html | 54 +++++----- qc_app/templates/samples/select-species.html | 15 +-- qc_app/templates/samples/upload-samples.html | 132 +++++++++++------------- 3 files changed, 94 insertions(+), 107 deletions(-) (limited to 'qc_app/templates/samples') diff --git a/qc_app/templates/samples/select-population.html b/qc_app/templates/samples/select-population.html index 5d78826..da19ddc 100644 --- a/qc_app/templates/samples/select-population.html +++ b/qc_app/templates/samples/select-population.html @@ -13,33 +13,28 @@ (e.g. Inbred populations, cell tissue, etc.)

-
-
select grouping/population {{flash_messages("error-select-population")}} -
- + +
+ -
+ -
- -
+

OR

@@ -50,54 +45,51 @@ {{flash_messages("error-create-population")}} -
+
mandatory - + + + class="form-control" /> - + -
-
+ class="form-control" /> + +
Optional - + + class="form-control" /> - + + class="form-control" /> - + -
- -
- -
+ class="form-control"> + + + {%endblock%} diff --git a/qc_app/templates/samples/select-species.html b/qc_app/templates/samples/select-species.html index 44c0d4f..edadc61 100644 --- a/qc_app/templates/samples/select-species.html +++ b/qc_app/templates/samples/select-species.html @@ -12,18 +12,19 @@
upload samples -
- - {%for spec in species%} {%endfor%} -
+ -
- -
+
{%endblock%} diff --git a/qc_app/templates/samples/upload-samples.html b/qc_app/templates/samples/upload-samples.html index 29b08f6..e62de57 100644 --- a/qc_app/templates/samples/upload-samples.html +++ b/qc_app/templates/samples/upload-samples.html @@ -3,16 +3,7 @@ {%block title%}Upload Samples{%endblock%} -{%block css%} - -{%endblock%} +{%block css%}{%endblock%} {%block contents%}

upload samples

@@ -20,23 +11,23 @@ {{flash_messages("alert-success")}}

You can now 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 for the sample
+ details about your samples. The CSV file should have the following fields: +
+
Name
+
The primary name for the sample
-
Name2
-
A secondary name for the sample. This can simply be the same as - Name above. This field MUST contain a - value.
+
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. Can be an empty field.
+
Symbol
+
A symbol for the sample. Can be an empty field.
-
Alias
-
An alias for the sample. Can be an empty field.
-
-

+
Alias
+
An alias for the sample. Can be an empty field.
+
+

upload samples -
+ +
- - {{species.SpeciesName}} [{{species.MenuName}}] -
+ + {{species.SpeciesName}} [{{species.MenuName}}] + -
+
- - {{population.Name}} [{{population.FullName}}] -
+ + {{population.Name}} [{{population.FullName}}] + -
- - -
+
+ + +
-
- +
+ - - This is the character that separates the fields in your CSV file. If you - select "Other", then you must provide the separator in - the text field provided. - -
- -
- + class="form-control" /> + + If you select 'Other' for the field separator value, + enter the character that separates the fields in your CSV file in the form + field below. + + + +
+ + + + Select this if the first line in your file contains headings for the + columns. + +
+ +
+ - + class="form-control" /> + If there is a character delimiting the string texts within particular fields in your CSV, provide the character here. This can be left blank if no such delimiters exist in your file. - -
+ + -
- - -
- -
- -
+
- +
-- cgit v1.2.3
preview content