aboutsummaryrefslogtreecommitdiff
path: root/uploader/templates/populations/rqtl2/rqtl2-qc-job-status.html
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-09-23 14:30:15 -0500
committerFrederick Muriuki Muriithi2024-09-23 16:35:39 -0500
commit4285cc10e24d6410206329ba079406e9aa21cc30 (patch)
tree70f785460b14731634d0a4bd93ad5bbb9c5ba833 /uploader/templates/populations/rqtl2/rqtl2-qc-job-status.html
parent0b37b9b3fa4fead86787a705713645fa14530a54 (diff)
downloadgn-uploader-4285cc10e24d6410206329ba079406e9aa21cc30.tar.gz
Move R/qtl2 upload code under the populations package.
Diffstat (limited to 'uploader/templates/populations/rqtl2/rqtl2-qc-job-status.html')
-rw-r--r--uploader/templates/populations/rqtl2/rqtl2-qc-job-status.html41
1 files changed, 41 insertions, 0 deletions
diff --git a/uploader/templates/populations/rqtl2/rqtl2-qc-job-status.html b/uploader/templates/populations/rqtl2/rqtl2-qc-job-status.html
new file mode 100644
index 0000000..f4a6266
--- /dev/null
+++ b/uploader/templates/populations/rqtl2/rqtl2-qc-job-status.html
@@ -0,0 +1,41 @@
+{%extends "base.html"%}
+{%from "flash_messages.html" import flash_messages%}
+
+{%block title%}Job Status{%endblock%}
+
+{%block extrameta%}
+<meta http-equiv="refresh" content="3">
+{%endblock%}
+
+{%block contents%}
+<h1 class="heading">R/qtl2 bundle: QC job status</h1>
+
+{%if geno_percent%}
+<p>
+ <h2>Checking 'geno' file:</h2>
+ <progress id="prg-geno-checking" value="{{geno_percent}}" max="100">
+ {{geno_percent}}%</progress>
+ {{geno_percent}}%</p>
+{%endif%}
+
+{%if pheno_percent%}
+<p>
+ <h2>Checking 'pheno' file:</h2>
+ <progress id="prg-pheno-checking" value="{{pheno_percent}}" max="100">
+ {{pheno_percent}}%</progress>
+ {{pheno_percent}}%</p>
+{%endif%}
+
+{%if phenose_percent%}
+<p>
+ <h2>Checking 'phenose' file:</h2>
+ <progress id="prg-phenose-checking" value="{{phenose_percent}}" max="100">
+ {{phenose_percent}}%</progress>
+ {{phenose_percent}}%</p>
+{%endif%}
+
+<h4>Log</h4>
+<div class="cli-output">
+ <pre>{{"\n".join(messages)}}</pre>
+</div>
+{%endblock%}