users: adds search and pagination (#7753)

ref #7469. Follow up change that adds proper paging with 50 results
per page as well as a search box to search by name, login or email.
This commit is contained in:
Daniel Lee
2017-03-07 16:03:54 +01:00
committed by Torkel Ödegaard
parent 8e3f22d307
commit 9efb6e76e9
5 changed files with 73 additions and 6 deletions

View File

@@ -14,6 +14,12 @@
Add new user
</a>
</div>
<div class="search-field-wrapper pull-right width-18">
<span style="position: relative;">
<input type="text" placeholder="Find user by name/login/email" tabindex="1" give-focus="true"
ng-model="ctrl.query" ng-model-options="{ debounce: 500 }" spellcheck='false' ng-change="ctrl.getUsers()" />
</span>
</div>
<div class="admin-list-table">
<table class="filter-table form-inline">
<thead>