blob: 5c4073904eed9603af99b7545c73ca1d608201e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
<div id="page-content">
<div>
<h1 class="heading-page" id="Roles">Roles</h1>
</div>
<div ng-show="showLoader" class="span loader-container">
<i class="icon-primary-spinner" role="img"
aria-label="Please wait while we load your content"></i>
</div>
<div ng-hide="showLoader">
<div>
<button type="submit" onClick="window.location='admin#/role/0';" class="btn btn-alt btn-small">Add New Role</button>
</div>
<h2 class="heading-small">Click on a Role to view its details.</h2>
<table class="striped" ng-if="availableRoleFunctions" style="width: auto;">
<thead>
<tr>
<th>Name</th>
<th>Priority</th>
<th>Edit</th>
<th>Active?</th>
<th>Delete?</th>
</tr>
</thead>
<tbody type="body" ng-repeat="availableRole in ociavailableRoles">
<tr>
<td>{{ availableRole.name }}</td>
<td>{{ availableRole.priority }}</td>
<td>
<a href="admin#/role/{{availableRole.id}}" class="icon-misc-pen"></a>
</td>
<td>
<div >
<label class="btn-switch-label" tabindex="0" role="option">
<input type="checkbox" b2b-switches ng-model="availableRole.active" ng-click="activateRoleConfirmPopUp(availableRole.active,availableRole);" >
</label>
</div>
</td>
<td width="10%">
<div ng-click="delRoleConfirmPopUp(availableRole);"><a href="javascript:void(0)" class="icon-misc-trash"></a></div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
|