Add option in settings to view PMS logs, shows last 1000 lines.

Table styling fix.
This commit is contained in:
Tim 2015-07-04 00:41:37 +02:00
parent 349a850451
commit 0810584b46
9 changed files with 212 additions and 24 deletions

View file

@ -1,16 +1,14 @@
$('#log_table').dataTable( {
var log_table_options = {
"destroy": true,
"responsive": {
details: false
},
"processing": false,
"serverSide": true,
"ajax": {
"url": "getLog"
},
"processing": false,
"sPaginationType": "bootstrap",
"order": [ 0, 'desc'],
"pageLength": 10,
"stateSave": true,
"stateSave": false,
"language": {
"search":"Search: ",
"lengthMenu":"Show _MENU_ lines per page",
@ -41,4 +39,4 @@ $('#log_table').dataTable( {
$('#ajaxMsg').html("<div class='msg'><i class='fa fa-refresh fa-spin'></i>&nbspFetching rows...</div>");
$('#ajaxMsg').addClass('success').fadeIn();
}
});
}