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> </table>
</div class="container-fluid"> </div class="container-fluid">
<script> <script>
for(el in active_rows) for(el in active_rows)
$('#job_tbl_body').append(active_rows[el]) $('#job_tbl_body').append(active_rows[el])
{% if 'Stale' not in page_title %} {% 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>' ) $('#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) for(el in completed_rows)
$('#job_tbl_body').append(completed_rows[el]) $('#job_tbl_body').append(completed_rows[el])
{% endif %} {% endif %}
{% if 'recent' in page_title %} {% if 'recent' in page_title %}
tr=` tr=`
@@ -94,6 +94,5 @@
</tr>` </tr>`
$('#job_tbl_body').append( tr ) $('#job_tbl_body').append( tr )
{% endif %} {% endif %}
</script>
</script>
{% endblock main_content %} {% endblock main_content %}