move pager to top of table

This commit is contained in:
Oliver Gorwits
2014-08-18 22:54:41 +01:00
parent 2ff8c8d1e3
commit 085752550d
2 changed files with 8 additions and 1 deletions

View File

@@ -662,3 +662,8 @@ form .clearfix.success input {
div.nd_clear-both { div.nd_clear-both {
clear:both; clear:both;
} }
div.nd_datatables-pager {
float: left;
margin-left: 50px;
}

View File

@@ -34,6 +34,8 @@ $(document).ready(function() {
"processing": true, "processing": true,
"stateSave": true, "stateSave": true,
"pageLength": [% settings.table_pagesize %], "pageLength": [% settings.table_pagesize %],
"sDom": '<"top"l<"nd_datatables-pager"p>f>rt<"bottom"><"clear">',
// "pagingType": "full_numbers",
"language": { "language": {
"search": '_INPUT_', "search": '_INPUT_',
"searchPlaceholder": 'Filter records...' "searchPlaceholder": 'Filter records...'