diff options
Diffstat (limited to 'client/src/app/videos/+video-edit/video-add.component.html')
-rw-r--r-- | client/src/app/videos/+video-edit/video-add.component.html | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/client/src/app/videos/+video-edit/video-add.component.html b/client/src/app/videos/+video-edit/video-add.component.html index 4e9b78cf2..a3a41aa12 100644 --- a/client/src/app/videos/+video-edit/video-add.component.html +++ b/client/src/app/videos/+video-edit/video-add.component.html | |||
@@ -32,17 +32,15 @@ | |||
32 | </div> | 32 | </div> |
33 | </div> | 33 | </div> |
34 | 34 | ||
35 | <div | 35 | <div *ngIf="isUploadingVideo" class="upload-progress-cancel"> |
36 | *ngIf="isUploadingVideo" | ||
37 | > | ||
38 | <p-progressBar | 36 | <p-progressBar |
39 | [value]="videoUploadPercents" | 37 | [value]="videoUploadPercents" |
40 | [ngClass]="{ processing: videoUploadPercents === 100 && videoUploaded === false }" | 38 | [ngClass]="{ processing: videoUploadPercents === 100 && videoUploaded === false }" |
41 | ></p-progressBar> | 39 | ></p-progressBar> |
42 | <input type="button" value="Cancel" (click)="cancelUpload()" /> | 40 | <input *ngIf="videoUploaded === false" type="button" value="Cancel" (click)="cancelUpload()" /> |
43 | </div> | 41 | </div> |
44 | 42 | ||
45 | <!-- Hidden because we need to load the component --> | 43 | <!-- Hidden because we want to load the component --> |
46 | <form [hidden]="!isUploadingVideo" novalidate [formGroup]="form"> | 44 | <form [hidden]="!isUploadingVideo" novalidate [formGroup]="form"> |
47 | <my-video-edit | 45 | <my-video-edit |
48 | [form]="form" [formErrors]="formErrors" | 46 | [form]="form" [formErrors]="formErrors" |