mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* pdf password dialog * PDF viewer onPassword test * pdf password dialog * PDF viewer onPassword test * test * test * test * test * test * test * test * fix password test * travis improvements
29 lines
947 B
HTML
29 lines
947 B
HTML
<div mat-dialog-title>
|
|
<mat-icon>lock</mat-icon>
|
|
</div>
|
|
|
|
<mat-dialog-content>
|
|
<form (submit)="submit()">
|
|
<mat-input-container class="adf-full-width">
|
|
<input matInput
|
|
type="password"
|
|
placeholder="{{ 'ADF_VIEWER.PDF_DIALOG.PLACEHOLDER' | translate }}"
|
|
[formControl]="passwordFormControl" />
|
|
</mat-input-container>
|
|
|
|
<mat-error *ngIf="isError()">{{ 'ADF_VIEWER.PDF_DIALOG.ERROR' | translate }}</mat-error>
|
|
</form>
|
|
</mat-dialog-content>
|
|
|
|
<mat-dialog-actions class="adf-dialog-buttons">
|
|
<span class="adf-fill-remaining-space"></span>
|
|
|
|
<button mat-button mat-dialog-close>{{ 'ADF_VIEWER.PDF_DIALOG.CLOSE' | translate }}</button>
|
|
|
|
<button mat-button
|
|
class="adf-dialog-action-button"
|
|
[disabled]="!isValid()"
|
|
(click)="submit()">
|
|
{{ 'ADF_VIEWER.PDF_DIALOG.SUBMIT' | translate }}
|
|
</button>
|
|
</mat-dialog-actions> |