aboutsummaryrefslogtreecommitdiff
path: root/qc_app/templates
diff options
context:
space:
mode:
Diffstat (limited to 'qc_app/templates')
-rw-r--r--qc_app/templates/insert_progress.html9
1 files changed, 4 insertions, 5 deletions
diff --git a/qc_app/templates/insert_progress.html b/qc_app/templates/insert_progress.html
index 1ac6212..52beaa4 100644
--- a/qc_app/templates/insert_progress.html
+++ b/qc_app/templates/insert_progress.html
@@ -1,4 +1,5 @@
{%extends "base.html"%}
+{%from "stdout_output.html" import stdout_output%}
{%block extrameta%}
<meta http-equiv="refresh" content="5">
@@ -7,18 +8,16 @@
{%block title%}Job Status{%endblock%}
{%block contents%}
-<h1 class="heading">{{job_name}}</h2>
+<h1 class="heading">{{job_name}}</h1>
<label for="job_status">status:</label>
<span>{{job_status}}: {{message}}</span><br />
-{{job}}
<label for="job_{{job_id}}">inserting: </label>
<progress id="job_{{job_id}}" value="{{(job['percent'] | float) / 100}}">{{job["percent"]}}</progress>
<span>{{"%.2f" | format(job['percent'] | float)}}%</span>
-<div>
- {{job.stderr}}
-</div>
+
+{{stdout_output(job)}}
{%endblock%}