|
|
|
@ -7,9 +7,9 @@
|
|
|
|
|
<h2 *ngIf="localFileUrl">Preview:</h2>
|
|
|
|
|
<img *ngIf="localFileUrl" id="inputPreview" [src]="localFileUrl"/>
|
|
|
|
|
</div>
|
|
|
|
|
<mat-progress-bar *ngIf="uploading" mode="indeterminate"></mat-progress-bar>
|
|
|
|
|
<mat-progress-bar id="progress-bar" *ngIf="uploading" mode="indeterminate"></mat-progress-bar>
|
|
|
|
|
</div>
|
|
|
|
|
<mat-error *ngIf="errorOccurred">{{getErrorMessage()}}</mat-error>
|
|
|
|
|
<mat-error id="error" *ngIf="errorOccurred">{{getErrorMessage()}}</mat-error>
|
|
|
|
|
<div mat-dialog-actions align="end">
|
|
|
|
|
<button mat-button (click)="onCancelClicked()">Cancel</button>
|
|
|
|
|
<button class="confirmationButton" mat-raised-button cdkFocusInitial (click)="onOkClicked()">Upload</button>
|
|
|
|
|