mirror of https://gitee.com/bigwinds/arangodb
added count of totaldocuments
This commit is contained in:
parent
3e84d365db
commit
7f43cf4095
|
@ -28,6 +28,13 @@ table.dataTable td {
|
||||||
padding-bottom: 15px;
|
padding-bottom: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#totalDocuments{
|
||||||
|
float: left;
|
||||||
|
color: black;
|
||||||
|
padding-left: 20px;
|
||||||
|
margin-top: -65px !important;
|
||||||
|
}
|
||||||
|
|
||||||
#documentsStatus {
|
#documentsStatus {
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
float:left;
|
float:left;
|
||||||
|
|
Binary file not shown.
|
@ -191,6 +191,7 @@ var documentsView = Backbone.View.extend({
|
||||||
"aaSorting": [[ 1, "asc" ]],
|
"aaSorting": [[ 1, "asc" ]],
|
||||||
"bFilter": false,
|
"bFilter": false,
|
||||||
"bPaginate":false,
|
"bPaginate":false,
|
||||||
|
"bRetrieve": true,
|
||||||
"bSortable": false,
|
"bSortable": false,
|
||||||
"bSort": false,
|
"bSort": false,
|
||||||
"bLengthChange": false,
|
"bLengthChange": false,
|
||||||
|
@ -198,9 +199,9 @@ var documentsView = Backbone.View.extend({
|
||||||
"iDisplayLength": -1,
|
"iDisplayLength": -1,
|
||||||
"bJQueryUI": false,
|
"bJQueryUI": false,
|
||||||
"aoColumns": [
|
"aoColumns": [
|
||||||
{ "sClass":"read_only leftCell docleftico", "bSortable": false, "sWidth":"30px"},
|
{ "sClass":"", "bSortable": false, "sWidth":"30px"},
|
||||||
{ "sClass":"read_only arangoTooltip","bSortable": false},
|
{ "sClass":"","bSortable": false},
|
||||||
{ "bSortable": false, "sClass": "cuttedContent rightCell"}
|
{ "bSortable": false, "sClass": ""}
|
||||||
],
|
],
|
||||||
"oLanguage": { "sEmptyTable": "No documents"}
|
"oLanguage": { "sEmptyTable": "No documents"}
|
||||||
});
|
});
|
||||||
|
@ -283,7 +284,7 @@ var documentsView = Backbone.View.extend({
|
||||||
target.pagination(options);
|
target.pagination(options);
|
||||||
$('#documentsToolbarF').prepend('<ul class="prePagi"><li><a id="documents_first"><i class="icon icon-step-backward"></i></a></li></ul>');
|
$('#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>');
|
$('#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 () {
|
breadcrumb: function () {
|
||||||
var name = window.location.hash.split("/")[1];
|
var name = window.location.hash.split("/")[1];
|
||||||
|
|
Loading…
Reference in New Issue