aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/+video-edit/video-add.component.html
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-01-23 15:15:03 +0100
committerChocobozzz <me@florianbigard.com>2018-01-23 15:15:03 +0100
commite494f91e6798cd1f3c640f2f28aa2c8436501e20 (patch)
treecdac0f501c10a1d64474dae29aa8a70f25ccb063 /client/src/app/videos/+video-edit/video-add.component.html
parent531ab5b6279707b2d0d01d3153e62c4bdfca8480 (diff)
downloadPeerTube-e494f91e6798cd1f3c640f2f28aa2c8436501e20.tar.gz
PeerTube-e494f91e6798cd1f3c640f2f28aa2c8436501e20.tar.zst
PeerTube-e494f91e6798cd1f3c640f2f28aa2c8436501e20.zip
Add style to cancel button
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.html8
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"