From 3da6848381b6103fbb58eeab8d7051cba0bded58 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 4 Aug 2022 08:51:15 +0300 Subject: Implement data insertion - Hook up external data insertion script to webserver code - Provide rudimentary status indication - Generalise some job creation details --- qc_app/templates/final_confirmation.html | 2 +- qc_app/templates/insert_progress.html | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 qc_app/templates/insert_progress.html (limited to 'qc_app/templates') 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 @@ -
+ {{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%} + +{%endblock%} + +{%block title%}Job Status{%endblock%} + +{%block contents%} +

{{job_name}}

+ + +{{job_status}}: {{message}}
+ +{{job}} + +{{job["percent"]}} +{{"%.2f" | format(job['percent'] | float)}}% + +
+ {{job.stderr}} +
+ +{%endblock%} -- cgit v1.2.3