aboutsummaryrefslogtreecommitdiff
path: root/qc_app/templates
diff options
context:
space:
mode:
Diffstat (limited to 'qc_app/templates')
-rw-r--r--qc_app/templates/final_confirmation.html2
-rw-r--r--qc_app/templates/insert_progress.html24
2 files changed, 25 insertions, 1 deletions
diff --git a/qc_app/templates/final_confirmation.html b/qc_app/templates/final_confirmation.html
index f2de028..018f8d6 100644
--- a/qc_app/templates/final_confirmation.html
+++ b/qc_app/templates/final_confirmation.html
@@ -35,7 +35,7 @@
</ul>
</div>
-<form method="POST" action="#">
+<form method="POST" action="{{url_for('dbinsert.insert_data')}}">
{{hidden_fields(
filename, filetype, species=species, genechipid=genechipid,
studyid=studyid,datasetid=datasetid)}}
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%}