implemented job archiving (via a Setting, and just viewing recent or all)
This commit is contained in:
@@ -86,5 +86,14 @@
|
||||
for(el in completed_rows)
|
||||
$('#job_tbl_body').append(completed_rows[el])
|
||||
{% endif %}
|
||||
{% if 'recent' in page_title %}
|
||||
tr=`
|
||||
<tr>
|
||||
<td><button type="button" class="btn btn-outline-info my-0 py-1" onClick="document.body.innerHTML+='<form id=_fm method=POST action={{url_for('jobs')}}></form>';document.getElementById('_fm').submit();">Show all jobs</button>
|
||||
</td>
|
||||
</tr>`
|
||||
$('#job_tbl_body').append( tr )
|
||||
{% endif %}
|
||||
|
||||
</script>
|
||||
{% endblock main_content %}
|
||||
|
||||
Reference in New Issue
Block a user