Files
cbsnexora/src/app/profile/profile.component.html
T
Adam Saghy 19a14e5b5b Upgrade to Angular 16
Merge `angular-update-16` into `dev` branch
2025-05-23 18:47:20 +02:00

82 lines
2.4 KiB
HTML

<div class="container m-b-20 layout-row layout-lt-md-column align-end gap-2percent">
<button mat-raised-button color="primary" [routerLink]="['/system', 'roles-and-permissions']">
<fa-icon icon="check" class="m-r-10"></fa-icon>
{{ 'labels.buttons.Permissions' | translate }}
</button>
<button mat-raised-button color="primary" (click)="changeUserPassword()">
<fa-icon icon="cog" class="m-r-10"></fa-icon>
{{ 'labels.buttons.Change Password' | translate }}
</button>
</div>
<div class="container layout-column gap-2percent">
<mat-card>
<div class="layout-row-wrap">
<div class="flex-50 header">
{{ 'labels.inputs.Tenant Id' | translate }}
</div>
<div class="flex-50">
{{ tenantIdentifier }}
</div>
<div class="flex-50 header">
{{ 'labels.inputs.User Id' | translate }}
</div>
<div class="flex-50">
{{ profileData.userId }}
</div>
<div class="flex-50 header">
{{ 'labels.inputs.User Name' | translate }}
</div>
<div class="flex-50">
{{ profileData.username }}
</div>
<div class="flex-50 header">
{{ 'labels.inputs.Office' | translate }}
</div>
<div class="flex-50">
{{ profileData.officeName }}
</div>
<div class="flex-50 header">
{{ 'labels.inputs.Status' | translate }}
</div>
<div class="flex-50">
{{ profileData.authenticated ? 'Authenticated' : 'Not Authenticated' }}
</div>
<div class="flex-50 header">
{{ 'labels.inputs.Language' | translate }}
</div>
<div class="flex-50">
{{ language }}
</div>
</div>
</mat-card>
<mat-card>
<table class="mat-elevation-z1" mat-table [dataSource]="dataSource">
<ng-container matColumnDef="role">
<th mat-header-cell *matHeaderCellDef>{{ 'labels.inputs.Role' | translate }}</th>
<td mat-cell *matCellDef="let role">{{ role.name }}</td>
</ng-container>
<ng-container matColumnDef="description">
<th mat-header-cell *matHeaderCellDef>{{ 'labels.inputs.Description' | translate }}</th>
<td mat-cell *matCellDef="let role">{{ role.description }}</td>
</ng-container>
<tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
<tr mat-row *matRowDef="let row; columns: displayedColumns"></tr>
</table>
</mat-card>
</div>