3 <thead class="thead-light">
5 <th class="col-3">Role</th>
6 <th class="col-2">Scope</th>
7 <th class="col-1">Assign</th>
11 <tr *ngFor="let baseRole of baseRoles" class="d-flex">
12 <td class="col-3" [innerHTML]="getRoleContent(baseRole)"></td>
14 {{baseRole.application_id}}
17 <div class="form-check form-check-inline"><input class="form-check-input" type="checkbox"
18 [attr.disabled]="baseRole.enabled?null:true"
19 [attr.id]="baseRole.id"
20 [(ngModel)]="baseRole.assigned"
21 (change)="changeBaseAssignment(baseRole, $event)"
30 <h3>Repository Roles</h3>
32 <thead class="thead-light">
34 <th scope="row" class="col-1">Repository</th>
35 <th scope="col" class="col-1" *ngFor="let templateRole of templateRoles$ | async">{{templateRole.name}}</th>
39 <tr class="d-flex" *ngFor="let res of templateRoleInstances | keyvalue" >
40 <td class="table-secondary col-1">{{res.key}}</td>
41 <td class="col-1 text-center" *ngFor="let templateRole of templateRoles$ | async">
42 <div class="form-check form-check-inline" *ngIf="getInstanceContent(templateRole, res.value) as role">
43 <input class="form-check-input" type="checkbox" [attr.id]="role.id"
44 [(ngModel)]="role.assigned" (ngModelChange)="changeInstAssignment(role, $event)"/>