From 754e8f214b940e05298cb360ed829f5c685d55a5 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 25 Jul 2024 11:07:33 -0500 Subject: Rename module: qc_app --> uploader --- qc_app/templates/samples/select-population.html | 99 ----------------- qc_app/templates/samples/select-species.html | 30 ----- qc_app/templates/samples/upload-failure.html | 27 ----- qc_app/templates/samples/upload-progress.html | 22 ---- qc_app/templates/samples/upload-samples.html | 139 ------------------------ qc_app/templates/samples/upload-success.html | 18 --- 6 files changed, 335 deletions(-) delete mode 100644 qc_app/templates/samples/select-population.html delete mode 100644 qc_app/templates/samples/select-species.html delete mode 100644 qc_app/templates/samples/upload-failure.html delete mode 100644 qc_app/templates/samples/upload-progress.html delete mode 100644 qc_app/templates/samples/upload-samples.html delete mode 100644 qc_app/templates/samples/upload-success.html (limited to 'qc_app/templates/samples') diff --git a/qc_app/templates/samples/select-population.html b/qc_app/templates/samples/select-population.html deleted file mode 100644 index da19ddc..0000000 --- a/qc_app/templates/samples/select-population.html +++ /dev/null @@ -1,99 +0,0 @@ -{%extends "base.html"%} -{%from "flash_messages.html" import flash_messages%} - -{%block title%}Select Grouping/Population{%endblock%} - -{%block contents%} -

Select grouping/population

- -
-

We organise the samples/cases/strains in a hierarchichal form, starting - with species at the very top. Under species, we have a - grouping in terms of the relevant population - (e.g. Inbred populations, cell tissue, etc.)

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

OR

- -
- create new grouping/population - {{flash_messages("error-create-population")}} - - -
- mandatory - - - - - - -
-
- Optional - - - - - - - - - -
- - -
- -{%endblock%} - - -{%block javascript%} -{%endblock%} diff --git a/qc_app/templates/samples/select-species.html b/qc_app/templates/samples/select-species.html deleted file mode 100644 index edadc61..0000000 --- a/qc_app/templates/samples/select-species.html +++ /dev/null @@ -1,30 +0,0 @@ -{%extends "base.html"%} -{%from "flash_messages.html" import flash_all_messages%} - -{%block title%}Select Grouping/Population{%endblock%} - -{%block contents%} -

upload samples/cases

- -

We need to know what species your data belongs to.

- -{{flash_all_messages()}} - -
- upload samples -
- - -
- - -
-{%endblock%} diff --git a/qc_app/templates/samples/upload-failure.html b/qc_app/templates/samples/upload-failure.html deleted file mode 100644 index 09e2ecf..0000000 --- a/qc_app/templates/samples/upload-failure.html +++ /dev/null @@ -1,27 +0,0 @@ -{%extends "base.html"%} -{%from "cli-output.html" import cli_output%} - -{%block title%}Samples Upload Failure{%endblock%} - -{%block contents%} -

{{job.job_name}}

- -

There was a failure attempting to upload the samples.

- -

Here is some information to help with debugging the issue. Provide this - information to the developer/maintainer.

- -

Debugging Information

- - -

stdout

-{{cli_output(job, "stdout")}} - -

stderr

-{{cli_output(job, "stderr")}} - -{%endblock%} diff --git a/qc_app/templates/samples/upload-progress.html b/qc_app/templates/samples/upload-progress.html deleted file mode 100644 index 7bb02be..0000000 --- a/qc_app/templates/samples/upload-progress.html +++ /dev/null @@ -1,22 +0,0 @@ -{%extends "base.html"%} -{%from "cli-output.html" import cli_output%} - -{%block extrameta%} - -{%endblock%} - -{%block title%}Job Status{%endblock%} - -{%block contents%} -

{{job.job_name}}

- -

-status: -{{job["status"]}} ({{job.get("message", "-")}})
-

- -

saving to database...

- -{{cli_output(job, "stdout")}} - -{%endblock%} diff --git a/qc_app/templates/samples/upload-samples.html b/qc_app/templates/samples/upload-samples.html deleted file mode 100644 index e62de57..0000000 --- a/qc_app/templates/samples/upload-samples.html +++ /dev/null @@ -1,139 +0,0 @@ -{%extends "base.html"%} -{%from "flash_messages.html" import flash_messages%} - -{%block title%}Upload Samples{%endblock%} - -{%block css%}{%endblock%} - -{%block contents%} -

upload samples

- -{{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
- -
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.
- -
Alias
-
An alias for the sample. Can be an empty field.
-
-

- -
- upload samples - -
- - - {{species.SpeciesName}} [{{species.MenuName}}] -
- -
- - - {{population.Name}} [{{population.FullName}}] -
- -
- - -
- -
- - - - - 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. - -
- -
- - - - 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. - -
- - -
- - - - - - - - - - - - - - - - - - -
preview content
NameName2SymbolAlias
- Please make some selections to preview the data.
- -{%endblock%} - - -{%block javascript%} - -{%endblock%} diff --git a/qc_app/templates/samples/upload-success.html b/qc_app/templates/samples/upload-success.html deleted file mode 100644 index cb745c3..0000000 --- a/qc_app/templates/samples/upload-success.html +++ /dev/null @@ -1,18 +0,0 @@ -{%extends "base.html"%} -{%from "cli-output.html" import cli_output%} - -{%block title%}Job Status{%endblock%} - -{%block contents%} -

{{job.job_name}}

- -

-status: -{{job["status"]}} ({{job.get("message", "-")}})
-

- -

Successfully uploaded the samples.

- -{{cli_output(job, "stdout")}} - -{%endblock%} -- cgit v1.2.3