From f875926183e2e26881c3288e2f5c3d8ffe6397b8 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 22 Jan 2024 08:54:29 +0300 Subject: UI: Show progress of R/qtl2 bundle processing. --- qc_app/templates/rqtl2/no-such-job.html | 13 +++++++++++ qc_app/templates/rqtl2/rqtl2-job-error.html | 33 +++++++++++++++++++++++++++ qc_app/templates/rqtl2/rqtl2-job-results.html | 24 +++++++++++++++++++ qc_app/templates/rqtl2/rqtl2-job-status.html | 24 +++++++++++++++++++ 4 files changed, 94 insertions(+) create mode 100644 qc_app/templates/rqtl2/no-such-job.html create mode 100644 qc_app/templates/rqtl2/rqtl2-job-error.html create mode 100644 qc_app/templates/rqtl2/rqtl2-job-results.html create mode 100644 qc_app/templates/rqtl2/rqtl2-job-status.html (limited to 'qc_app/templates/rqtl2') diff --git a/qc_app/templates/rqtl2/no-such-job.html b/qc_app/templates/rqtl2/no-such-job.html new file mode 100644 index 0000000..b56980b --- /dev/null +++ b/qc_app/templates/rqtl2/no-such-job.html @@ -0,0 +1,13 @@ +{%extends "base.html"%} +{%from "flash_messages.html" import flash_messages%} + +{%block title%}Job Status{%endblock%} + +{%block contents%} +

R/qtl2 job status

+ +

R/qtl2 Upload: No Such Job

+ +

No job with ID {{jobid}} was found.

+ +{%endblock%} diff --git a/qc_app/templates/rqtl2/rqtl2-job-error.html b/qc_app/templates/rqtl2/rqtl2-job-error.html new file mode 100644 index 0000000..72a334b --- /dev/null +++ b/qc_app/templates/rqtl2/rqtl2-job-error.html @@ -0,0 +1,33 @@ +{%extends "base.html"%} +{%from "cli-output.html" import cli_output%} + +{%block title%}Job Status{%endblock%} + +{%block contents%} +

R/qtl2 job status

+ +

R/qtl2 Upload: Job Status

+ +
+

The processing of the R/qtl2 bundle you uploaded has failed. We have + provided some information below to help you figure out what the problem + could be.

+

If you find that you cannot figure out what the problem is on your own, + please contact the team running the system for assistance, providing the + R/qtl2 bundle you uploaded, and a screenshot of this page.

+
+ +

stdout

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

stderr

+{{cli_output(job, "stderr")}} + +

Log

+
+ {%for msg in messages%} + {{msg}}
+ {%endfor%} +
+ +{%endblock%} diff --git a/qc_app/templates/rqtl2/rqtl2-job-results.html b/qc_app/templates/rqtl2/rqtl2-job-results.html new file mode 100644 index 0000000..4ecd415 --- /dev/null +++ b/qc_app/templates/rqtl2/rqtl2-job-results.html @@ -0,0 +1,24 @@ +{%extends "base.html"%} +{%from "cli-output.html" import cli_output%} + +{%block title%}Job Status{%endblock%} + +{%block contents%} +

R/qtl2 job status

+ +

R/qtl2 Upload: Job Status

+ +
+

The processing of the R/qtl2 bundle you uploaded has completed + successfully.

+

You should now be able to use GeneNetwork to run analyses on your data.

+
+ +

Log

+
+ {%for msg in messages%} + {{msg}}
+ {%endfor%} +
+ +{%endblock%} diff --git a/qc_app/templates/rqtl2/rqtl2-job-status.html b/qc_app/templates/rqtl2/rqtl2-job-status.html new file mode 100644 index 0000000..a8bc640 --- /dev/null +++ b/qc_app/templates/rqtl2/rqtl2-job-status.html @@ -0,0 +1,24 @@ +{%extends "base.html"%} +{%from "flash_messages.html" import flash_messages%} + +{%block title%}Job Status{%endblock%} + +{%block extrameta%} + +{%endblock%} + +{%block contents%} +

R/qtl2 job status

+ +

R/qtl2 Upload: Job Status

+ +{{job}} + +

Log

+
+ {%for msg in messages%} + {{msg}}
+ {%endfor%} +
+ +{%endblock%} -- cgit v1.2.3