aboutsummaryrefslogtreecommitdiff
path: root/qc_app/templates/parse_results.html
blob: d78bae62227d3b3f5b7f4c755c58593f40bec2b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{%extends "base.html"%}
{%from "errors_display.html" import errors_display%}

{%block title%}Parse Results{%endblock%}

{%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", True)}}

{%if errors | length == 0 and not user_aborted %}
<form method="post" action="{{url_for('dbinsert.select_platform')}}">
  <input type="hidden" name="job_id" value="{{job_id}}" />
  <input type="submit" value="update database" class="btn btn-main" />
</form>
{%endif%}

{%if errors | length > 0 or user_aborted %}
<br />
<a href="{{url_for('entry.upload_file')}}" title="Back to index page."
   class="btn btn-main">
  Go back
</a>
{%endif%}

{%endblock%}