6be1dd5a3a
---- Pending * Table width for the points column in incentive * Linting * keyboard navigation where it was used earlier * can remove the unused totals calculated serverside in productledger * spinner and loading bars * Activate Guard for Employee Function tabs * Progress for Fingerprint uploads * deleted reconcile and receipe features as they were not being used * focus the right control on component load
42 lines
1.5 KiB
HTML
42 lines
1.5 KiB
HTML
<mat-card>
|
|
<mat-card-title-group>
|
|
<mat-card-title>Users</mat-card-title>
|
|
</mat-card-title-group>
|
|
<mat-card-content>
|
|
<mat-table #table [dataSource]="dataSource" matSort aria-label="Elements">
|
|
|
|
<!-- Name Column -->
|
|
<ng-container matColumnDef="name">
|
|
<mat-header-cell *matHeaderCellDef mat-sort-header>Name</mat-header-cell>
|
|
<mat-cell *matCellDef="let row"><a [routerLink]="['/User', row.name]">{{row.name}}</a></mat-cell>
|
|
</ng-container>
|
|
|
|
<!-- Locked Out Column -->
|
|
<ng-container matColumnDef="lockedOut">
|
|
<mat-header-cell *matHeaderCellDef mat-sort-header>Is Locked Out?</mat-header-cell>
|
|
<mat-cell *matCellDef="let row">{{row.lockedOut}}</mat-cell>
|
|
</ng-container>
|
|
|
|
<!-- Groups Column -->
|
|
<ng-container matColumnDef="groups">
|
|
<mat-header-cell *matHeaderCellDef mat-sort-header>Groups</mat-header-cell>
|
|
<mat-cell *matCellDef="let row">
|
|
<ul>
|
|
<li *ngFor="let group of row.groups">{{group}}</li>
|
|
</ul>
|
|
</mat-cell>
|
|
</ng-container>
|
|
|
|
<mat-header-row *matHeaderRowDef="displayedColumns"></mat-header-row>
|
|
<mat-row *matRowDef="let row; columns: displayedColumns;"></mat-row>
|
|
</mat-table>
|
|
|
|
<mat-paginator #paginator
|
|
[length]="dataSource.data.length"
|
|
[pageIndex]="0"
|
|
[pageSize]="50"
|
|
[pageSizeOptions]="[25, 50, 100, 250]">
|
|
</mat-paginator>
|
|
</mat-card-content>
|
|
</mat-card>
|