1
0
Fork 0

added count of totaldocuments

This commit is contained in:
Heiko Kernbach 2013-03-18 17:49:21 +01:00
parent 3e84d365db
commit 7f43cf4095
3 changed files with 12 additions and 4 deletions

View File

@ -28,6 +28,13 @@ table.dataTable td {
padding-bottom: 15px;
}
#totalDocuments{
float: left;
color: black;
padding-left: 20px;
margin-top: -65px !important;
}
#documentsStatus {
padding-top: 10px;
float:left;

Binary file not shown.

View File

@ -191,6 +191,7 @@ var documentsView = Backbone.View.extend({
"aaSorting": [[ 1, "asc" ]],
"bFilter": false,
"bPaginate":false,
"bRetrieve": true,
"bSortable": false,
"bSort": false,
"bLengthChange": false,
@ -198,9 +199,9 @@ var documentsView = Backbone.View.extend({
"iDisplayLength": -1,
"bJQueryUI": false,
"aoColumns": [
{ "sClass":"read_only leftCell docleftico", "bSortable": false, "sWidth":"30px"},
{ "sClass":"read_only arangoTooltip","bSortable": false},
{ "bSortable": false, "sClass": "cuttedContent rightCell"}
{ "sClass":"", "bSortable": false, "sWidth":"30px"},
{ "sClass":"","bSortable": false},
{ "bSortable": false, "sClass": ""}
],
"oLanguage": { "sEmptyTable": "No documents"}
});
@ -283,7 +284,7 @@ var documentsView = Backbone.View.extend({
target.pagination(options);
$('#documentsToolbarF').prepend('<ul class="prePagi"><li><a id="documents_first"><i class="icon icon-step-backward"></i></a></li></ul>');
$('#documentsToolbarF').append('<ul class="lasPagi"><li><a id="documents_last"><i class="icon icon-step-forward"></i></a></li></ul>');
//$('#documentsToolbarF2').append('<a>Total: ' + this.documentsCount + ' documents</a>');
$('#documentsToolbarFL').append('<a id="totalDocuments">Total: ' + this.documentsCount + ' documents </a>');
},
breadcrumb: function () {
var name = window.location.hash.split("/")[1];