aboutsummaryrefslogtreecommitdiff
path: root/qc_app/templates
diff options
context:
space:
mode:
Diffstat (limited to 'qc_app/templates')
-rw-r--r--qc_app/templates/job_progress.html7
-rw-r--r--qc_app/templates/parse_results.html4
2 files changed, 11 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>
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%}
<h1 class="heading">{{job_name}}: parse results</h2>
+{%if user_aborted%}
+<span class="alert-warning">Job aborted by the user</span>
+{%endif%}
+
{{errors_display(errors, "No errors found in the file", "We found the following errors")}}
{%endblock%}