aboutsummaryrefslogtreecommitdiff
path: root/qc_app/templates/insert_progress.html
diff options
context:
space:
mode:
Diffstat (limited to 'qc_app/templates/insert_progress.html')
-rw-r--r--qc_app/templates/insert_progress.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/qc_app/templates/insert_progress.html b/qc_app/templates/insert_progress.html
new file mode 100644
index 0000000..1ac6212
--- /dev/null
+++ b/qc_app/templates/insert_progress.html
@@ -0,0 +1,24 @@
+{%extends "base.html"%}
+
+{%block extrameta%}
+<meta http-equiv="refresh" content="5">
+{%endblock%}
+
+{%block title%}Job Status{%endblock%}
+
+{%block contents%}
+<h1 class="heading">{{job_name}}</h2>
+
+<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>
+
+{%endblock%}