mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-22 09:26:27 +02:00
use correct model and fix style
This commit is contained in:
parent
e21b89cc7c
commit
e957c9feb7
29 changed files with 105 additions and 111 deletions
|
@ -83,6 +83,7 @@ jQuery(document).ready(function ()
|
|||
"language": {
|
||||
"url": HTTP_PWD + "/assets/js/datatables/french.json",
|
||||
},
|
||||
"orderMulti": false,
|
||||
"columnDefs": [{
|
||||
'targets': 'checkcolumn',
|
||||
'orderable': false,
|
||||
|
|
|
@ -73,6 +73,7 @@ jQuery(document).ready(function ()
|
|||
"language": {
|
||||
"url": HTTP_PWD + "/assets/js/datatables/french.json",
|
||||
},
|
||||
"orderMulti": false,
|
||||
"columnDefs": [{
|
||||
'targets': 'checkcolumn',
|
||||
'orderable': false,
|
||||
|
|
|
@ -86,9 +86,9 @@ jQuery(document).ready(function ()
|
|||
"columns" : [
|
||||
{
|
||||
data: 'number_formatted',
|
||||
},
|
||||
}
|
||||
<?php if ($_SESSION['user']['admin'] ?? false) { ?>
|
||||
{
|
||||
,{
|
||||
data: 'id',
|
||||
render: function (data, type, row, meta) {
|
||||
return '<input name="ids[]" type="checkbox" value="' + data + '">';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue