From 2f84b2eb1fecab4c381ad2dfd31277717cc9df2d Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 2 Jun 2022 12:57:18 +0300 Subject: Enable user abortion of file parsing Enable the user to abort the background parsing of the file. --- qc_app/templates/job_progress.html | 7 +++++++ qc_app/templates/parse_results.html | 4 ++++ 2 files changed, 11 insertions(+) (limited to 'qc_app/templates') diff --git a/qc_app/templates/job_progress.html b/qc_app/templates/job_progress.html index accdc1c..acced9b 100644 --- a/qc_app/templates/job_progress.html +++ b/qc_app/templates/job_progress.html @@ -17,6 +17,13 @@ {{progress}} {{"%.2f" | format(progress)}}% +
+
+ + +
+
+
{{errors_display(errors, "No errors found so far", "We have found the following errors so far")}}
diff --git a/qc_app/templates/parse_results.html b/qc_app/templates/parse_results.html index 8d39359..358c5e8 100644 --- a/qc_app/templates/parse_results.html +++ b/qc_app/templates/parse_results.html @@ -6,6 +6,10 @@ {%block contents%}

{{job_name}}: parse results

+{%if user_aborted%} +Job aborted by the user +{%endif%} + {{errors_display(errors, "No errors found in the file", "We found the following errors")}} {%endblock%} -- cgit v1.2.3