Skip to content
Permalink
Browse files

Make policies filterable.

  • Loading branch information...
NuvandaPV committed Oct 28, 2019
1 parent f68d412 commit 194f45ace2cd55e0ee49a419d81576cb24281edd
@@ -8,11 +8,13 @@
<th>
<button class="btn btn-default unsorted" pi-sort-by="active" translate>Active</button>
</th>
<th>
<th class="pifilter">
<button class="btn btn-default unsorted" pi-sort-by="name" translate>Policy Name</button>
<pi-filter ng-model="filter.name" ng-change="$apply()"></pi-filter>
</th>
<th>
<th class="pifilter">
<button class="btn btn-default unsorted" pi-sort-by="scope" translate>Scope</button>
<pi-filter ng-model="filter.scope" ng-change="$apply()"></pi-filter>
</th>
<th translate>Action</th>
<th translate>Realm</th>
@@ -22,7 +24,7 @@
</tr>
</thead>
<tbody>
<tr ng-repeat="policy in policies | orderBy:sortby:reverse">
<tr ng-repeat="policy in policies | filter:filter | orderBy:sortby:reverse">
<td>
<input type="number" ng-model="policy.priority"
class="form-control" min="1"
@@ -1,6 +1 @@
#tablemachinelist th.pifilter { white-space: nowrap; }
#tableauditlog th.pifilter { white-space: nowrap; }
#tableuserlist th.pifilter { white-space: nowrap; }
#tabletokenchallenges th.pifilter { white-space: nowrap; }
#tabletokenlist th.pifilter { white-space: nowrap; }

th.pifilter { white-space: nowrap; }

0 comments on commit 194f45a

Please sign in to comment.
You can’t perform that action at this time.