aboutsummaryrefslogtreecommitdiff
path: root/qc_app/templates/job_progress.html
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-06-02 12:57:18 +0300
committerFrederick Muriuki Muriithi2022-06-02 12:57:18 +0300
commit2f84b2eb1fecab4c381ad2dfd31277717cc9df2d (patch)
treec8a9080401ba40869454f55c88cd359bdbc393dd /qc_app/templates/job_progress.html
parent219248568252e7291f20105ce589c87c5a85f433 (diff)
downloadgn-uploader-2f84b2eb1fecab4c381ad2dfd31277717cc9df2d.tar.gz
Enable user abortion of file parsing
Enable the user to abort the background parsing of the file.
Diffstat (limited to 'qc_app/templates/job_progress.html')
-rw-r--r--qc_app/templates/job_progress.html7
1 files changed, 7 insertions, 0 deletions
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
@@ -18,6 +18,13 @@
<span>{{"%.2f" | format(progress)}}%</span>
<div>
+ <form action="{{url_for('parse.abort')}}" method="POST">
+ <input type="hidden" name="job_id" value="{{job_id}}" />
+ <input type="submit" value="Abort" class="btn btn-danger" />
+ </form>
+</div>
+
+<div>
{{errors_display(errors, "No errors found so far", "We have found the following errors so far")}}
</div>