Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
kac89 committed Sep 6, 2024
1 parent c2faf0d commit feae594
Showing 1 changed file with 16 additions and 19 deletions.
35 changes: 16 additions & 19 deletions src/app/dialog-pass/dialog-pass.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,22 @@ <h2 mat-dialog-title>
<mat-icon class="vertical-align-middle size-45">https</mat-icon> Decrypt report</h2>
<mat-dialog-content>
<div>

<form class="example-form">

<mat-form-field class="example-full-width" color="accent">
<input matInput placeholder="Report security key" #pass [formControl]="insertpass"
(keydown)="onKeydown($event,pass.value,data.report_id)" [type]="hide ? 'password' : 'text'">
<mat-icon matSuffix (click)="hide = !hide">{{hide ? 'visibility_off' : 'visibility'}}</mat-icon>
<mat-error *ngIf="insertpass.hasError('incorrect')">
<strong>
<mat-icon class="vertical-align-middle size-45">https</mat-icon> Security key is incorrect!
</strong>
</mat-error>
</mat-form-field>
<br>
<div *ngIf="msg != ''">
{{msg}}<mat-progress-bar color="accent" mode="indeterminate"></mat-progress-bar>
<br>
</div>
</form>
<form class="example-form">
<mat-form-field class="example-full-width" color="accent">
<input matInput placeholder="Report security key" #pass [formControl]="insertpass"
(keydown)="onKeydown($event,pass.value,data.report_id)" [type]="hide ? 'password' : 'text'">
<mat-icon matSuffix (click)="hide = !hide">{{hide ? 'visibility_off' : 'visibility'}}</mat-icon>
<mat-error *ngIf="insertpass.hasError('incorrect')">
<strong>
<mat-icon class="vertical-align-middle size-45">https</mat-icon> Security key is incorrect!
</strong>
</mat-error>
</mat-form-field>

<div *ngIf="msg != ''">
{{msg}}<mat-progress-bar color="accent" mode="indeterminate"></mat-progress-bar>
</div>
</form>
</div>
</mat-dialog-content>
<mat-dialog-actions style="padding-left: 24px;">
Expand Down

0 comments on commit feae594

Please sign in to comment.