]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+videos/+video-edit/video-update.component.html
fix video update button, add color to danger zone
[github/Chocobozzz/PeerTube.git] / client / src / app / +videos / +video-edit / video-update.component.html
CommitLineData
4cc66133 1<div class="margin-content">
2ba5ac33
RK
2 <div class="title-page title-page-single">
3 <span class="mr-1" i18n>Update</span>
4 <a [routerLink]="[ '/videos/watch', video.uuid ]">{{ video?.name }}</a>
4cc66133 5 </div>
1cdb5c0f 6
897ec54d 7 <form novalidate [formGroup]="form">
6e07c3de 8
ff249f49 9 <my-video-edit
bbe0f064 10 [form]="form" [formErrors]="formErrors" [schedulePublicationPossible]="schedulePublicationPossible"
851f5daa 11 [validationMessages]="validationMessages" [userVideoChannels]="userVideoChannels"
14e2014a 12 [videoCaptions]="videoCaptions" [waitTranscodingEnabled]="waitTranscodingEnabled"
ff249f49 13 ></my-video-edit>
dc8bc31b 14
4cc66133 15 <div class="submit-container">
1fe1e14c
RK
16 <my-button className="orange-button" i18n-label label="Update" icon="circle-tick"
17 (click)="update()" (keydown.enter)="update()"
18 [disabled]="!form.valid || isUpdatingVideo === true"
19 ></my-button>
897ec54d
C
20 </div>
21 </form>
897ec54d 22</div>