KEYCLOAK-198 Search or apps

This commit is contained in:
Stian Thorgersen 2013-12-06 19:33:28 +00:00
parent c514e6c152
commit 805863dde6

View file

@ -21,7 +21,7 @@
<tr>
<th class="rcue-table-actions" colspan="3">
<div class="search-comp clearfix">
<input type="text" placeholder="Search..." class="search"
<input type="text" placeholder="Search..." class="search" data-ng-model="search.name"
onkeyup="if(event.keyCode == 13){$(this).next('button').click();}">
<button class="icon-search" tooltip-placement="right"
tooltip="Search by application name.">
@ -52,7 +52,7 @@
</tr>
</tfoot>
<tbody>
<tr ng-repeat="app in applications">
<tr ng-repeat="app in applications | filter:search">
<td><a href="#/realms/{{realm.id}}/applications/{{app.id}}">{{app.name}}</a></td>
<td>{{app.enabled}}</td>
<td ng-class="{'text-muted': !app.baseUrl}">{{app.baseUrl || "Not defined"}}</td>