43 lines
1.3 KiB
Twig
43 lines
1.3 KiB
Twig
|
{% extends 'base.html.twig' %}
|
||
|
|
||
|
{% block body %}
|
||
|
<h1 class="page-header">Gestion des Listes Blanche</h1>
|
||
|
|
||
|
<p><a class="btn btn-success" href={{ path('app_admin_whitelist_submit') }}>Ajouter</a></p>
|
||
|
|
||
|
<div class="card">
|
||
|
<div class="card-header">
|
||
|
<i class="fa fa-table fa-fw"></i> Liste des Listes Blanche
|
||
|
</div>
|
||
|
|
||
|
<div class="card-body">
|
||
|
<div class="dataTable_wrapper">
|
||
|
<table class="table table-striped table-bordered table-hover" id="dataTables" style="width:100%; font-size:11px;">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th width="70px" class="no-sort">Action</th>
|
||
|
<th>Label</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_whitelist_tablelist') }}",
|
||
|
});
|
||
|
});
|
||
|
</script>
|
||
|
{% endblock %}
|