2020-05-13 14:41:43 +02:00
|
|
|
<app-card title="{{'USER.MFA.TITLE' | translate}}" description="{{'USER.MFA.DESCRIPTION' | translate}}">
|
fix(console): cleanup contributor module, move loading state to shared module, button visibility in light theme (#504)
* refreshtable component
* project grant refresh table
* project role refresh, user grant, i18n
* lint
* auth user mfa table
* auth mfa table
* rm unused 404 page, add mgmt mfa table
* change light accent color
* add actions to mfa table
* user detail mfa table
* clear selection on refresh, bind data length
* member table
* fix padding mfa table
* Update console/src/assets/i18n/en.json
Co-authored-by: Florian Forster <florian@caos.ch>
* Update console/src/assets/i18n/en.json
Co-authored-by: Florian Forster <florian@caos.ch>
* z-index, new colors
* new senf color
* create stepper
* app create stepper
* i18n
* i18n sections, header titles
* lint
* add pro mode
* main contributor component
* drop project members shared module
* project detail members
* org contributors, iam contributors
* invert card and background colors in light design
* changes card design
* lighten meta background
* account card radius
* fix imports, global user email link
* move spinner to refresh-table component
* Update console/src/assets/i18n/de.json
Co-authored-by: Florian Forster <florian@caos.ch>
* Update console/src/assets/i18n/de.json
Co-authored-by: Florian Forster <florian@caos.ch>
* Update console/src/assets/i18n/de.json
Co-authored-by: Florian Forster <florian@caos.ch>
* Update console/src/assets/i18n/en.json
Co-authored-by: Florian Forster <florian@caos.ch>
* Update console/src/assets/i18n/de.json
Co-authored-by: Florian Forster <florian@caos.ch>
* Update console/src/assets/i18n/de.json
Co-authored-by: Florian Forster <florian@caos.ch>
* Update console/src/assets/i18n/en.json
Co-authored-by: Florian Forster <florian@caos.ch>
* Update console/src/assets/i18n/en.json
Co-authored-by: Florian Forster <florian@caos.ch>
* Update console/src/assets/i18n/en.json
Co-authored-by: Florian Forster <florian@caos.ch>
* light background on light design
* Update console/src/assets/i18n/de.json
Co-authored-by: Florian Forster <florian@caos.ch>
* Update console/src/assets/i18n/de.json
Co-authored-by: Florian Forster <florian@caos.ch>
Co-authored-by: Florian Forster <florian@caos.ch>
2020-07-22 13:47:31 +02:00
|
|
|
<app-refresh-table [loading]="loading$ | async" (refreshed)="getOTP()" [dataSize]="dataSource?.data?.length">
|
2020-07-20 15:23:29 +02:00
|
|
|
<table class="background-style" mat-table [dataSource]="dataSource">
|
|
|
|
|
<ng-container matColumnDef="type">
|
|
|
|
|
<th mat-header-cell *matHeaderCellDef> {{ 'USER.MFA.TABLETYPE' | translate }} </th>
|
|
|
|
|
<td mat-cell *matCellDef="let mfa"> {{'USER.MFA.TYPE.'+ mfa.type | translate}} </td>
|
|
|
|
|
</ng-container>
|
|
|
|
|
|
|
|
|
|
<ng-container matColumnDef="state">
|
|
|
|
|
<th mat-header-cell *matHeaderCellDef> {{ 'USER.MFA.TABLESTATE' | translate }} </th>
|
|
|
|
|
<td mat-cell *matCellDef="let mfa"><span class="centered">
|
|
|
|
|
{{'USER.MFA.STATE.'+ mfa.state | translate}}
|
|
|
|
|
<i matTooltip="verified" *ngIf="mfa.state === MFAState.MFASTATE_READY"
|
|
|
|
|
class="verified las la-check-circle"></i>
|
|
|
|
|
</span>
|
|
|
|
|
</td>
|
|
|
|
|
</ng-container>
|
|
|
|
|
|
|
|
|
|
<ng-container matColumnDef="actions">
|
|
|
|
|
<th mat-header-cell *matHeaderCellDef> {{ 'USER.MFA.TABLEACTIONS' | translate }} </th>
|
|
|
|
|
<td mat-cell *matCellDef="let mfa">
|
|
|
|
|
<button matTooltip="{{'ACTIONS.REMOVE' | translate}}" color="warn" mat-icon-button
|
|
|
|
|
(click)="deleteMFA(mfa.type)">
|
|
|
|
|
<i class="las la-trash"></i>
|
|
|
|
|
</button>
|
|
|
|
|
</td>
|
|
|
|
|
</ng-container>
|
|
|
|
|
|
|
|
|
|
<tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
|
|
|
|
|
<tr class="data-row" mat-row *matRowDef="let row; columns: displayedColumns;"
|
|
|
|
|
[routerLink]="['/users', row.id]">
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</app-refresh-table>
|
2020-05-13 14:41:43 +02:00
|
|
|
<div class="add-row">
|
fix(console): cleanup structure, role guard, paginated requests, cleanup policies, toast i18n, view timestamp, preloading strategy, maennchenfindings, fix passwordchange (#483)
* routes, move grid to list comopnent
* rename app list component, move to project sub
* add owned-project-detail child module
* seperate pipes
* set password validators only if needed
* create org initialize without pwd
* no caps
* self xss message
* fix user table
* fix project member paginator
* fix project members pagination, user grant pag
* move project grants, fix imports
* fix owned project detail imports
* use pipe and directives
* ng content bindings, rem custom schemas
* i18n, fix error toast parameter
* toast i18n
* side background
* fix: sequence, add timestamp
* audit
* fix metanav background
* org domain label
* cleanup policy component
* shorten user grant roles, mk cols visible as bind
* move user components, show otp only if available
* preload modules
* fix password change
* fix org create buttons
* class css
2020-07-16 15:13:36 +02:00
|
|
|
<button *ngIf="otpAvailable" (click)="addOTP()" mat-stroked-button color="primary"
|
|
|
|
|
matTooltip="{{'ACTIONS.NEW' | translate}}">
|
2020-05-13 14:41:43 +02:00
|
|
|
<mat-icon svgIcon="mdi_radar"></mat-icon>{{'USER.MFA.OTP' | translate}}
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="table-wrapper">
|
|
|
|
|
<div class="spinner-container" *ngIf="loading$ | async">
|
|
|
|
|
<mat-spinner diameter="50"></mat-spinner>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</app-card>
|