diff options
Diffstat (limited to 'qc_app/templates')
-rw-r--r-- | qc_app/templates/base.html | 1 | ||||
-rw-r--r-- | qc_app/templates/job_progress.html | 19 | ||||
-rw-r--r-- | qc_app/templates/no_such_job.html | 14 |
3 files changed, 34 insertions, 0 deletions
diff --git a/qc_app/templates/base.html b/qc_app/templates/base.html index 67ba6b5..623141a 100644 --- a/qc_app/templates/base.html +++ b/qc_app/templates/base.html @@ -4,6 +4,7 @@ <meta charset="UTF-8" /> <meta application-name="GeneNetwork Quality-Control Application" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + {%block extrameta%}{%endblock%} <title>QC: {%block title%}{%endblock%}</title> diff --git a/qc_app/templates/job_progress.html b/qc_app/templates/job_progress.html new file mode 100644 index 0000000..1c6aa32 --- /dev/null +++ b/qc_app/templates/job_progress.html @@ -0,0 +1,19 @@ +{%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}}</span><br /> + +<label for="job_{{job_id}}">parsing: </label> +<progress id="job_{{job_id}}" value="{{progress}}">{{progress}}</progress> +<span>{{"%.2f" | format(progress)}}%</span> + +{%endblock%} diff --git a/qc_app/templates/no_such_job.html b/qc_app/templates/no_such_job.html new file mode 100644 index 0000000..42a2d48 --- /dev/null +++ b/qc_app/templates/no_such_job.html @@ -0,0 +1,14 @@ +{%extends "base.html"%} + +{%block extrameta%} +<meta http-equiv="refresh" content="5;url={{url_for('entry.upload_file')}}"> +{%endblock%} + +{%block title%}No Such Job{%endblock%} + +{%block contents%} +<h1 class="heading">No Such Job: {{job_id}}</h2> + +<p>No job, with the id '<em>{{job_id}}</em>' was found!</p> + +{%endblock%} |