added second paginator to client page
parent
c620917d53
commit
95a876ffec
|
@ -377,6 +377,7 @@ var ClientListView = Backbone.View.extend({
|
|||
},
|
||||
|
||||
changePage:function(event, num) {
|
||||
$('.paginator', this.el).bootpag({page:num});
|
||||
$('#client-table tbody tr', this.el).each(function(index, element) {
|
||||
if (Math.ceil((index + 1) / 10) != num) {
|
||||
$(element).hide();
|
||||
|
|
|
@ -101,6 +101,8 @@
|
|||
There are no registered clients on this server.
|
||||
</div>
|
||||
|
||||
<div class="pagination paginator"></div>
|
||||
|
||||
<table id="client-table" class="table table-hover table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
Loading…
Reference in New Issue