datagrid: fix some styling and processing text.
This commit is contained in:
parent
3f64f3f41f
commit
48aabd779d
2 changed files with 17 additions and 1 deletions
|
|
@ -555,6 +555,11 @@ ul#context-pages {
|
|||
}
|
||||
}
|
||||
|
||||
.dataTables_processing {
|
||||
text-align: center;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
.dataTables_paginate, .pagination-wh {
|
||||
text-align: left;
|
||||
display: inline-block;
|
||||
|
|
@ -579,6 +584,15 @@ ul#context-pages {
|
|||
color: @grey3;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.ellipsis {
|
||||
display: inline-block;
|
||||
text-align: left;
|
||||
padding: @menupadding/4 @menupadding;
|
||||
border: 1px solid @rcblue;
|
||||
border-left: 0;
|
||||
float: left;
|
||||
}
|
||||
}
|
||||
|
||||
// SIDEBAR
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@
|
|||
</%def>
|
||||
|
||||
<%def name="main()">
|
||||
|
||||
<div class="box">
|
||||
|
||||
<div class="title">
|
||||
|
|
@ -50,7 +51,7 @@ $(document).ready(function() {
|
|||
|
||||
// user list
|
||||
$('#user_list_table').DataTable({
|
||||
processing: false,
|
||||
processing: true,
|
||||
serverSide: true,
|
||||
ajax: "${h.route_path('users_data')}",
|
||||
dom: 'rtp',
|
||||
|
|
@ -79,6 +80,7 @@ $(document).ready(function() {
|
|||
],
|
||||
language: {
|
||||
paginate: DEFAULT_GRID_PAGINATION,
|
||||
sProcessing: _gettext('loading...'),
|
||||
emptyTable: _gettext("No users available yet.")
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue