mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-20 16:37:48 +02:00
Change all lists to use ajax data source and high perf datatable + improve all consuming listing queries + add indexes on numbers for perf improvment
This commit is contained in:
parent
52ac5b459b
commit
b98d5a22ef
34 changed files with 1238 additions and 767 deletions
|
@ -74,23 +74,10 @@ function playReceptionSound ()
|
|||
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
jQuery('.datatable').DataTable({
|
||||
"pageLength": 25,
|
||||
"bLengthChange": false,
|
||||
"language": {
|
||||
"url": HTTP_PWD + "/assets/js/datatables/french.json",
|
||||
},
|
||||
"columnDefs": [{
|
||||
'targets': 'checkcolumn',
|
||||
'orderable': false,
|
||||
}],
|
||||
});
|
||||
|
||||
jQuery('.datatable').on('draw.dt', function (){
|
||||
jQuery('body :checkbox').off('shiftcheckbox');
|
||||
jQuery('body :checkbox').shiftcheckbox();
|
||||
});
|
||||
|
||||
|
||||
var verifReceivedInterval = setInterval(verifReceived, 10000);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue