]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/shared/shared-video-live/live-stream-information.component.html
unify inputs requiring buttons like password inputs
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-video-live / live-stream-information.component.html
CommitLineData
d846d99c
C
1<ng-template #modal let-close="close" let-dismiss="dismiss">
2 <div class="modal-header">
3 <h4 i18n class="modal-title">Live information</h4>
4
5 <my-global-icon iconName="cross" aria-label="Close" role="button" (click)="dismiss()"></my-global-icon>
6 </div>
7
312644ce
C
8 <div class="modal-body" *ngIf="live">
9 <div>
10 <div class="badge badge-info" *ngIf="live.permanentLive" i18n>Permanent live</div>
11 <div class="badge badge-info" *ngIf="live.saveReplay" i18n>Replay will be saved</div>
12 </div>
13
d846d99c
C
14 <div class="form-group">
15 <label for="liveVideoRTMPUrl" i18n>Live RTMP Url</label>
f8b530e0 16 <my-input-toggle-hidden id="liveVideoRTMPUrl" [value]="live.rtmpUrl" [withToggle]="false" [withCopy]="true" [show]="true" [readonly]="true"></my-input-toggle-hidden>
d846d99c
C
17 </div>
18
19 <div class="form-group">
20 <label for="liveVideoStreamKey" i18n>Live stream key</label>
f8b530e0 21 <my-input-toggle-hidden id="liveVideoStreamKey" [value]="live.streamKey" [withCopy]="true" [readonly]="true"></my-input-toggle-hidden>
c29039e7
C
22
23 <div class="form-group-description" i18n>⚠️ Never share your stream key with anyone.</div>
d846d99c
C
24 </div>
25 </div>
26
27 <div class="modal-footer">
28 <div class="form-group inputs">
29 <input
30 type="button" role="button" i18n-value value="Close" class="action-button action-button-cancel"
31 (click)="dismiss()"
32 >
33
34 <my-edit-button
35 i18n-label label="Update live settings"
36 [routerLink]="[ '/videos', 'update', video.uuid ]" (click)="dismiss()"
37 ></my-edit-button>
38 </div>
39 </div>
40</ng-template>