52 lines
1.6 KiB
Twig
52 lines
1.6 KiB
Twig
{% extends "base.html.twig" %}
|
|
|
|
{% block body %}
|
|
<h1 class="page-header">
|
|
CRON JOBS
|
|
</h1>
|
|
{% if auditUse and (access=="admin" or access=="audit") %}
|
|
<a class="btn btn-secondary float-end" href="{{ path("app_"~access~"_audit_render",{entityname:"Cron"}) }}"><i class="fas fa-eye fa-fw"></i> Audit</a>
|
|
</br><br>
|
|
{% endif %}
|
|
|
|
<div class="card">
|
|
<div class="card-header">
|
|
<i class="fa fa-table fa-fw"></i> Liste des Jobs
|
|
</div>
|
|
|
|
<div class="card-body">
|
|
<div class="dataTable_wrapper">
|
|
<table class="table table-striped table-bordered table-hover" id="dataTables" style="width:100%">
|
|
<thead>
|
|
<tr>
|
|
<th width="70px" class="no-sort">Action</th>
|
|
<th>Prochaine exécution</th>
|
|
<th>Command</th>
|
|
<th class="no-sort">Description</th>
|
|
<th class="no-sort">Statut</th>
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% block localscript %}
|
|
<script>
|
|
$(document).ready(function() {
|
|
$('#dataTables').DataTable({
|
|
columnDefs: [ { "targets": 'no-sort', "orderable": false } ],
|
|
responsive: true,
|
|
iDisplayLength: 100,
|
|
order: [[ 1, "asc" ]],
|
|
processing: true,
|
|
serverSide: true,
|
|
ajax: "{{ path('app_admin_cron_tablelist') }}",
|
|
});
|
|
});
|
|
</script>
|
|
{% endblock %}
|
|
|
|
|