diff options
author | Chocobozzz <me@florianbigard.com> | 2018-02-16 17:24:47 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-02-16 17:24:47 +0100 |
commit | 68e24d727969a73a13e3c29b4d3bcfe50c3c52be (patch) | |
tree | 9908a5b6f26dfc0fd80aa123e843ea11f39c7501 /client/src/app/videos/+video-edit/video-add.component.html | |
parent | 6de36768980ef6063b8fcd730b59fa685dd2b99c (diff) | |
download | PeerTube-68e24d727969a73a13e3c29b4d3bcfe50c3c52be.tar.gz PeerTube-68e24d727969a73a13e3c29b4d3bcfe50c3c52be.tar.zst PeerTube-68e24d727969a73a13e3c29b4d3bcfe50c3c52be.zip |
Add loading bar when updating a video
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 | 5 |
1 files changed, 4 insertions, 1 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 a3a41aa12..6dcf5bf75 100644 --- a/client/src/app/videos/+video-edit/video-add.component.html +++ b/client/src/app/videos/+video-edit/video-add.component.html | |||
@@ -50,7 +50,10 @@ | |||
50 | <div class="submit-container"> | 50 | <div class="submit-container"> |
51 | <div *ngIf="videoUploaded === false" class="message-submit">Publish will be available when upload is finished</div> | 51 | <div *ngIf="videoUploaded === false" class="message-submit">Publish will be available when upload is finished</div> |
52 | 52 | ||
53 | <div class="submit-button" (click)="updateSecondStep()" [ngClass]="{ disabled: !form.valid || videoUploaded !== true }"> | 53 | <div class="submit-button" |
54 | (click)="updateSecondStep()" | ||
55 | [ngClass]="{ disabled: !form.valid || isUpdatingVideo === true || videoUploaded !== true }" | ||
56 | > | ||
54 | <span class="icon icon-validate"></span> | 57 | <span class="icon icon-validate"></span> |
55 | <input type="button" value="Publish" /> | 58 | <input type="button" value="Publish" /> |
56 | </div> | 59 | </div> |