-
-
Notifications
You must be signed in to change notification settings - Fork 350
Expand file tree
/
Copy pathteam-selector.component.html
More file actions
31 lines (31 loc) · 1.17 KB
/
team-selector.component.html
File metadata and controls
31 lines (31 loc) · 1.17 KB
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
<div class="config-section">
<h3>{{ settings.getTeamLabelPlural() }}</h3>
<p class="config-hint">
Select which {{ settings.getTeamLabelPlural() | lowercase }} to include in the report.
</p>
<div class="select-all-actions">
<button mat-button color="primary" (click)="selectAllTeams()">Select All</button>
<button mat-button (click)="deselectAllTeams()">Deselect All</button>
<span *ngIf="groupNames.length > 0" class="group-section">
<span class="group-label">{{ settings.getGroupLabel() }}:</span>
<button mat-stroked-button [matMenuTriggerFor]="groupMenu" class="group-dropdown-btn">
<mat-icon>group</mat-icon>
{{ selectedGroupName || 'Select ' + settings.getGroupLabel() }}
<mat-icon>arrow_drop_down</mat-icon>
</button>
</span>
<mat-menu #groupMenu="matMenu">
<button mat-menu-item *ngFor="let group of groupNames" (click)="selectGroup(group)">
{{ group }}
</button>
</mat-menu>
</div>
<div class="checkbox-grid">
<mat-checkbox
*ngFor="let team of allTeams"
[checked]="isTeamSelected(team)"
(change)="toggleTeam(team)">
{{ team }}
</mat-checkbox>
</div>
</div>