update
This commit is contained in:
@@ -1,18 +1,20 @@
|
||||
<h1 mat-dialog-title>{{data.username}}</h1>
|
||||
<div mat-dialog-content>
|
||||
<h3>Permissions</h3>
|
||||
<h3>{{'permissions' | i18n}}</h3>
|
||||
<app-permissions [permissions]="data.permissions"></app-permissions>
|
||||
<h3>Quotas</h3>
|
||||
<h3>{{'quotas' | i18n}}</h3>
|
||||
<app-quotas [quotas]="data.quotas"></app-quotas>
|
||||
<h3>{{'pgp.privateKey' | i18n}}</h3>
|
||||
<mat-form-field>
|
||||
<mat-label>Private PGP key</mat-label>
|
||||
<qrcode [qrdata]="data.privateKey" [width]="400" [errorCorrectionLevel]="'M'"></qrcode>
|
||||
<mat-label>{{'pgp.privateKey' | i18n}}</mat-label>
|
||||
<textarea matInput readonly [(ngModel)]="data.privateKey"></textarea>
|
||||
</mat-form-field>
|
||||
</div>
|
||||
<div mat-dialog-actions>
|
||||
<mat-slide-toggle [(ngModel)]="data.confirmClose">
|
||||
I have saved my private key securely!
|
||||
{{'pgp.privateKey.confirmStore' | i18n}}
|
||||
</mat-slide-toggle>
|
||||
|
||||
<button mat-button (click)="onOkClick()" [disabled]="!data.confirmClose">Ok</button>
|
||||
<button mat-button [disabled]="!data.confirmClose" [mat-dialog-close]="true">{{'ok' | i18n}}</button>
|
||||
</div>
|
||||
Reference in New Issue
Block a user