aboutsummaryrefslogtreecommitdiff
path: root/qc_app/templates/job_progress.html
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-06-02 09:58:05 +0300
committerFrederick Muriuki Muriithi2022-06-02 09:58:05 +0300
commitdfb56175278409fc56298890b1ca617d0e00992c (patch)
tree5db7fe8622c329bafaeaf3fa9e1f4ec0067c2869 /qc_app/templates/job_progress.html
parent8bb941deef5208bdccd3805af93c982aac627752 (diff)
downloadgn-uploader-dfb56175278409fc56298890b1ca617d0e00992c.tar.gz
Add an error display to the progress status report
Enable the progress status page to show all the errors found at any point during the processing of the file.
Diffstat (limited to 'qc_app/templates/job_progress.html')
-rw-r--r--qc_app/templates/job_progress.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/qc_app/templates/job_progress.html b/qc_app/templates/job_progress.html
index 8a9256f..accdc1c 100644
--- a/qc_app/templates/job_progress.html
+++ b/qc_app/templates/job_progress.html
@@ -1,4 +1,5 @@
{%extends "base.html"%}
+{%from "errors_display.html" import errors_display%}
{%block extrameta%}
<meta http-equiv="refresh" content="5">
@@ -16,4 +17,8 @@
<progress id="job_{{job_id}}" value="{{progress/100}}">{{progress}}</progress>
<span>{{"%.2f" | format(progress)}}%</span>
+<div>
+ {{errors_display(errors, "No errors found so far", "We have found the following errors so far")}}
+</div>
+
{%endblock%}