aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+my-account/my-account-videos/modals/live-stream-information.component.html
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-10-28 10:49:20 +0100
committerChocobozzz <chocobozzz@cpy.re>2020-11-09 15:33:04 +0100
commitd846d99c6c81028bb7bd3cb20abd433cbf396a22 (patch)
tree1090abd56e9b2df82dd92783f499ac9f10fbd501 /client/src/app/+my-account/my-account-videos/modals/live-stream-information.component.html
parent31c82cd914e13dbf53280d0aad0740d70c414441 (diff)
downloadPeerTube-d846d99c6c81028bb7bd3cb20abd433cbf396a22.tar.gz
PeerTube-d846d99c6c81028bb7bd3cb20abd433cbf396a22.tar.zst
PeerTube-d846d99c6c81028bb7bd3cb20abd433cbf396a22.zip
Add modal to display live information
Diffstat (limited to 'client/src/app/+my-account/my-account-videos/modals/live-stream-information.component.html')
-rw-r--r--client/src/app/+my-account/my-account-videos/modals/live-stream-information.component.html33
1 files changed, 33 insertions, 0 deletions
diff --git a/client/src/app/+my-account/my-account-videos/modals/live-stream-information.component.html b/client/src/app/+my-account/my-account-videos/modals/live-stream-information.component.html
new file mode 100644
index 000000000..5e2323b91
--- /dev/null
+++ b/client/src/app/+my-account/my-account-videos/modals/live-stream-information.component.html
@@ -0,0 +1,33 @@
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
8 <div class="modal-body">
9 <div class="form-group">
10 <label for="liveVideoRTMPUrl" i18n>Live RTMP Url</label>
11 <my-input-readonly-copy id="liveVideoRTMPUrl" [value]="rtmpUrl"></my-input-readonly-copy>
12 </div>
13
14 <div class="form-group">
15 <label for="liveVideoStreamKey" i18n>Live stream key</label>
16 <my-input-readonly-copy id="liveVideoStreamKey" [value]="streamKey"></my-input-readonly-copy>
17 </div>
18 </div>
19
20 <div class="modal-footer">
21 <div class="form-group inputs">
22 <input
23 type="button" role="button" i18n-value value="Close" class="action-button action-button-cancel"
24 (click)="dismiss()"
25 >
26
27 <my-edit-button
28 i18n-label label="Update live settings"
29 [routerLink]="[ '/videos', 'update', video.uuid ]" (click)="dismiss()"
30 ></my-edit-button>
31 </div>
32 </div>
33</ng-template>