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 --- uploader/templates/samples/select-population.html | 99 +++++++++++++++ uploader/templates/samples/select-species.html | 30 +++++ uploader/templates/samples/upload-failure.html | 27 +++++ uploader/templates/samples/upload-progress.html | 22 ++++ uploader/templates/samples/upload-samples.html | 139 ++++++++++++++++++++++ uploader/templates/samples/upload-success.html | 18 +++ 6 files changed, 335 insertions(+) create mode 100644 uploader/templates/samples/select-population.html create mode 100644 uploader/templates/samples/select-species.html create mode 100644 uploader/templates/samples/upload-failure.html create mode 100644 uploader/templates/samples/upload-progress.html create mode 100644 uploader/templates/samples/upload-samples.html create mode 100644 uploader/templates/samples/upload-success.html (limited to 'uploader/templates/samples') diff --git a/uploader/templates/samples/select-population.html b/uploader/templates/samples/select-population.html new file mode 100644 index 0000000..da19ddc --- /dev/null +++ b/uploader/templates/samples/select-population.html @@ -0,0 +1,99 @@ +{%extends "base.html"%} +{%from "flash_messages.html" import flash_messages%} + +{%block title%}Select Grouping/Population{%endblock%} + +{%block contents%} +
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.)
+OR
+ + + +{%endblock%} + + +{%block javascript%} +{%endblock%} diff --git a/uploader/templates/samples/select-species.html b/uploader/templates/samples/select-species.html new file mode 100644 index 0000000..edadc61 --- /dev/null +++ b/uploader/templates/samples/select-species.html @@ -0,0 +1,30 @@ +{%extends "base.html"%} +{%from "flash_messages.html" import flash_all_messages%} + +{%block title%}Select Grouping/Population{%endblock%} + +{%block contents%} +We need to know what species your data belongs to.
+ +{{flash_all_messages()}} + + +{%endblock%} diff --git a/uploader/templates/samples/upload-failure.html b/uploader/templates/samples/upload-failure.html new file mode 100644 index 0000000..09e2ecf --- /dev/null +++ b/uploader/templates/samples/upload-failure.html @@ -0,0 +1,27 @@ +{%extends "base.html"%} +{%from "cli-output.html" import cli_output%} + +{%block title%}Samples Upload Failure{%endblock%} + +{%block contents%} +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.
+ +
+status:
+{{job["status"]}} ({{job.get("message", "-")}})
+
saving to database...
+ +{{cli_output(job, "stdout")}} + +{%endblock%} diff --git a/uploader/templates/samples/upload-samples.html b/uploader/templates/samples/upload-samples.html new file mode 100644 index 0000000..e62de57 --- /dev/null +++ b/uploader/templates/samples/upload-samples.html @@ -0,0 +1,139 @@ +{%extends "base.html"%} +{%from "flash_messages.html" import flash_messages%} + +{%block title%}Upload Samples{%endblock%} + +{%block css%}{%endblock%} + +{%block contents%} +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 | +Name2 | +Symbol | +Alias | +
---|---|---|---|
+ Please make some selections to preview the data. | +
+status:
+{{job["status"]}} ({{job.get("message", "-")}})
+
Successfully uploaded the samples.
+ +{{cli_output(job, "stdout")}} + +{%endblock%} -- cgit v1.2.3