formatting

This commit is contained in:
2022-08-03 17:54:16 +10:00
parent 70521501ab
commit d833f724f1

View File

@@ -78,13 +78,13 @@
</table>
</div class="container-fluid">
<script>
for(el in active_rows)
$('#job_tbl_body').append(active_rows[el])
<script>
for(el in active_rows)
$('#job_tbl_body').append(active_rows[el])
{% if 'Stale' not in page_title %}
$('#job_tbl_body').append( '<tr class="table-primary"><th>Completed Jobs</th><th>Job Started</th><th>Job Completed</th></tr>' )
for(el in completed_rows)
$('#job_tbl_body').append(completed_rows[el])
$('#job_tbl_body').append( '<tr class="table-primary"><th>Completed Jobs</th><th>Job Started</th><th>Job Completed</th></tr>' )
for(el in completed_rows)
$('#job_tbl_body').append(completed_rows[el])
{% endif %}
{% if 'recent' in page_title %}
tr=`
@@ -94,6 +94,5 @@
</tr>`
$('#job_tbl_body').append( tr )
{% endif %}
</script>
</script>
{% endblock main_content %}