added second paginator to client page

pull/567/head
Justin Richer 2014-03-19 21:22:33 -04:00
parent c620917d53
commit 95a876ffec
2 changed files with 3 additions and 0 deletions

View File

@ -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();

View File

@ -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>