Skip to content

Commit 95a876f

Browse files
committed
added second paginator to client page
1 parent c620917 commit 95a876f

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

openid-connect-server-webapp/src/main/webapp/resources/js/client.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,7 @@ var ClientListView = Backbone.View.extend({
377377
},
378378

379379
changePage:function(event, num) {
380+
$('.paginator', this.el).bootpag({page:num});
380381
$('#client-table tbody tr', this.el).each(function(index, element) {
381382
if (Math.ceil((index + 1) / 10) != num) {
382383
$(element).hide();

openid-connect-server-webapp/src/main/webapp/resources/template/client.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@
101101
There are no registered clients on this server.
102102
</div>
103103

104+
<div class="pagination paginator"></div>
105+
104106
<table id="client-table" class="table table-hover table-striped">
105107
<thead>
106108
<tr>

0 commit comments

Comments
 (0)