Improve table widget pagination UI

This commit is contained in:
Alon Horev 2015-11-30 19:43:43 +02:00
parent 740b305910
commit ad2642e9e5
2 changed files with 12 additions and 1 deletions

View File

@ -718,7 +718,7 @@ angular.module("partials/smartTable.html", []).run(["$templateCache", function (
" </tbody>\n" +
" <tfoot ng-show=\"isPaginationEnabled\">\n" +
" <tr class=\"smart-table-footer-row\">\n" +
" <td colspan=\"{{columns.length}}\">\n" +
" <td class=\"text-center\" colspan=\"{{columns.length}}\">\n" +
" <div pagination-smart-table=\"\" num-pages=\"numberOfPages\" max-size=\"maxSize\" current-page=\"currentPage\"></div>\n" +
" </td>\n" +
" </tr>\n" +

View File

@ -472,3 +472,14 @@ div.table-name {
[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
display: none !important;
}
/* Smart Table */
.smart-table {
margin-bottom: 0px;
}
.smart-table .pagination {
margin-bottom: 5px;
margin-top: 10px;
}