Skip to content

Commit

Permalink
more user status styling updates
Browse files Browse the repository at this point in the history
  • Loading branch information
sei-aschlackman committed Dec 14, 2021
1 parent db1435c commit 863fd86
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 44 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ Copyright 2021 Carnegie Mellon University. All Rights Reserved.

mat-header-cell {
font-size: 15px;
font-weight: bold;
}

mat-panel-title {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,48 +4,47 @@
-->

<div>
<div fxLayout="row" fxLayoutAlign="start center" fxLayoutGap="0.5em">
<mat-icon svgIcon="ic_magnify_search"></mat-icon>
<mat-form-field fxFlex="20">
<input
matInput
[(ngModel)]="searchTerm"
(keyup)="applyFilter($event.target.value)"
placeholder="Search"
/>
<button
matSuffix
*ngIf="searchTerm != ''"
mat-icon-button
(click)="clearFilter()"
matTooltip="Clear Search"
>
<mat-icon svgIcon="ic_cancel_circle"></mat-icon>
</button>
</mat-form-field>
<button mat-raised-button color="primary" (click)="accordion.openAll()">
Expand All
</button>
<button mat-raised-button color="primary" (click)="accordion.closeAll()">
Collapse All
</button>
<mat-checkbox
class="search-checkbox text"
color="primary"
(change)="setHideInactive($event.checked)"
>Hide Inactive</mat-checkbox
<div fxLayout="row" fxLayoutAlign="start center" fxLayoutGap="0.5em">
<mat-icon svgIcon="ic_magnify_search"></mat-icon>
<mat-form-field fxFlex="20">
<input
matInput
[(ngModel)]="searchTerm"
(keyup)="applyFilter($event.target.value)"
placeholder="Search"
/>
<button
matSuffix
*ngIf="searchTerm != ''"
mat-icon-button
(click)="clearFilter()"
matTooltip="Clear Search"
>
</div>

<mat-accordion multi>
<div *ngFor="let team of _teams | async; trackBy: trackByTeamId">
<app-team-user-presence
[team]="team"
[users]="getPresenceByTeamId(team.id) | async"
[searchTerm]="searchTerm$ | async"
[hideInactive]="hideInactive"
></app-team-user-presence>
</div>
</mat-accordion>
<mat-icon svgIcon="ic_cancel_circle"></mat-icon>
</button>
</mat-form-field>
<button mat-raised-button color="primary" (click)="accordion.openAll()">
Expand All
</button>
<button mat-raised-button color="primary" (click)="accordion.closeAll()">
Collapse All
</button>
<mat-checkbox
class="search-checkbox text"
color="primary"
(change)="setHideInactive($event.checked)"
>Hide Offline</mat-checkbox
>
</div>


<mat-accordion multi>
<div *ngFor="let team of _teams | async; trackBy: trackByTeamId">
<app-team-user-presence
[team]="team"
[users]="getPresenceByTeamId(team.id) | async"
[searchTerm]="searchTerm$ | async"
[hideInactive]="hideInactive"
></app-team-user-presence>
</div>
</mat-accordion>
</div>

0 comments on commit 863fd86

Please sign in to comment.