Some internationzalization and UI pagination

This commit is contained in:
Gonzalo Bellver 2011-10-11 16:55:13 -03:00
parent 16f78d46cc
commit 7ee850acc8
3 changed files with 15 additions and 10 deletions

View File

@ -86,7 +86,11 @@ body {
#map-table {
width: 100% !important;
display: inline-block;
}
input#selectAll {
position: relative;
left: 4px;
}
/* ----------------------------- Toolbar -------------------------------- */

View File

@ -7,6 +7,7 @@
@red: #FF0000;
@base-border-size: 1px;
@base-color: #111;
@base-margin: 10px;
@th-background-color: #FFFFFF;
@ -40,25 +41,26 @@
}
.dataTables_length {
width: 40%;
float: left;
float: right;
margin-bottom: 10px;
}
.dataTables_filter {
text-align: right;
margin-bottom: 10px;
margin-bottom: @base-margin;
}
.dataTables_info {
width: 60%;
float: left;
margin-top: @base-margin;
}
.dataTables_paginate {
width: 44px;
float: right;
text-align: right;
margin-top: @base-margin;
}
/* Pagination nested */
@ -170,9 +172,6 @@ tr.even {
margin-top: -1px;
}
.top, .bottom {
}
.top .dataTables_info {
float: none;
}

View File

@ -73,15 +73,17 @@
],
"bAutoWidth" : false,
"bLengthChange": false,
"bInfo": false,
"bPaginate": false,
// "bLengthChange": false,
// "bInfo": false,
// "bPaginate": false,
"oLanguage" : {
"sSearch" : "Rechercher"
"sSearch" : "Rechercher",
"sInfo" : "Affichage de _START_ &#224 _END_ de _TOTAL_ entrées"
}
});
$('#maps_filter').appendTo("#toolbar");
$("#maps_length").appendTo("#buttons");
$('input:checkbox[id="selectAll"]').click(function() {
$("#maps").dataTableExt.selectAllMaps();