1
0
Fork 0

added first&last btns for log pagination

This commit is contained in:
Heiko Kernbach 2013-03-14 15:54:35 +01:00
parent ff9ce85f93
commit 0d51c6a73a
2 changed files with 3 additions and 1 deletions

View File

@ -276,7 +276,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>');
//$('#documentsToolbarF2').append('<a>Total: ' + this.documentsCount + ' documents</a>');
},
breadcrumb: function () {
var name = window.location.hash.split("/")[1];

View File

@ -161,6 +161,8 @@ var logsView = Backbone.View.extend({
}
};
target.pagination(options);
$('#logtestdiv').prepend('<ul class="prePagi"><li><a id="logTableID_first"><i class="icon icon-step-backward"></i></a></li></ul>');
$('#logtestdiv').append('<ul class="lasPagi"><li><a id="logTableID_last"><i class="icon icon-step-forward"></i></a></li></ul>');
},
drawTable: function () {
var self = this;