diff --git a/templates/jobs.html b/templates/jobs.html
index 16a8175..539581d 100644
--- a/templates/jobs.html
+++ b/templates/jobs.html
@@ -7,21 +7,28 @@
var completed_rows=Array()
{% for job in jobs %}
- row='
| {{job.name}}'
+ row=' |
| Job #{{job.id}} - {{job.name}}'
{% for ex in job.extra %}
row+=' ({{ex.name}} == {{ ex.value }})'
{% endfor %}
row+= ' | {{job.start_time}} | '
{% if job.pa_job_state != "Completed" %}
- row +=`
- In Progress (no details yet)
- |
- `
+ {% if job.num_files and job.num_files > 0 %}
+ {% set prog=(job.current_file_num/job.num_files*100)|round|int %}
+ row +=`
+
+
+ {{job.current_file_num}} of {{job.num_files}} - {{prog}}%
+
+
+
+ `
+ {% else %}
+ row += 'In Progress'
+ {% endif %}
active_rows.push(row)
{% else %}
- row +=`
- {{job.last_update}}
- `
+ row += '{{job.last_update}}'
completed_rows.push(row)
{% endif %}
{% endfor %}
@@ -30,7 +37,7 @@
{{page_title}}
- | Active Jobs | Job Started | Passes |
+ | Active Jobs | Job Started | Progress |