extract common DT options to template

This commit is contained in:
Oliver Gorwits
2014-09-15 22:01:41 +01:00
parent 374a668d38
commit b63cd0b643
39 changed files with 90 additions and 251 deletions

View File

@@ -0,0 +1,11 @@
"processing": true,
"stateSave": true,
"pageLength": [% settings.table_pagesize %],
"lengthMenu": [ [10, 25, 50, 100, -1], [10, 25, 50, 100, "All"] ],
"dom": '<"top"l<"nd_datatables-pager"p>f>rt<"bottom"><"clear">',
"language": {
"search": '_INPUT_',
"searchPlaceholder": 'Filter records...',
"lengthMenu": "Show _MENU_ records."
}