diff options
author | Chocobozzz <me@florianbigard.com> | 2020-10-29 15:03:46 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-11-09 15:33:04 +0100 |
commit | c29039e7c070b23db5aeb52be6902d271f7dcfe6 (patch) | |
tree | 5d5e46d169852c50570bf7869d55c88bdcb58f60 /client/src | |
parent | d988e9a2f83dd2f85d1afa0b98614b29a66dddf4 (diff) | |
download | PeerTube-c29039e7c070b23db5aeb52be6902d271f7dcfe6.tar.gz PeerTube-c29039e7c070b23db5aeb52be6902d271f7dcfe6.tar.zst PeerTube-c29039e7c070b23db5aeb52be6902d271f7dcfe6.zip |
Add warning below live stream key field
Diffstat (limited to 'client/src')
3 files changed, 11 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 index 5e2323b91..2e65e1de9 100644 --- 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 | |||
@@ -14,6 +14,8 @@ | |||
14 | <div class="form-group"> | 14 | <div class="form-group"> |
15 | <label for="liveVideoStreamKey" i18n>Live stream key</label> | 15 | <label for="liveVideoStreamKey" i18n>Live stream key</label> |
16 | <my-input-readonly-copy id="liveVideoStreamKey" [value]="streamKey"></my-input-readonly-copy> | 16 | <my-input-readonly-copy id="liveVideoStreamKey" [value]="streamKey"></my-input-readonly-copy> |
17 | |||
18 | <div class="form-group-description" i18n>⚠️ Never share your stream key with anyone.</div> | ||
17 | </div> | 19 | </div> |
18 | </div> | 20 | </div> |
19 | 21 | ||
diff --git a/client/src/app/+videos/+video-edit/shared/video-edit.component.html b/client/src/app/+videos/+video-edit/shared/video-edit.component.html index d9e09c453..705d6e71a 100644 --- a/client/src/app/+videos/+video-edit/shared/video-edit.component.html +++ b/client/src/app/+videos/+video-edit/shared/video-edit.component.html | |||
@@ -210,6 +210,8 @@ | |||
210 | <div class="form-group"> | 210 | <div class="form-group"> |
211 | <label for="liveVideoStreamKey" i18n>Live stream key</label> | 211 | <label for="liveVideoStreamKey" i18n>Live stream key</label> |
212 | <my-input-readonly-copy id="liveVideoStreamKey" [value]="liveVideo.streamKey"></my-input-readonly-copy> | 212 | <my-input-readonly-copy id="liveVideoStreamKey" [value]="liveVideo.streamKey"></my-input-readonly-copy> |
213 | |||
214 | <div class="form-group-description" i18n>⚠️ Never share your stream key with anyone.</div> | ||
213 | </div> | 215 | </div> |
214 | 216 | ||
215 | <div class="form-group" *ngIf="isSaveReplayEnabled()"> | 217 | <div class="form-group" *ngIf="isSaveReplayEnabled()"> |
diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss index 351676a38..1456eac6f 100644 --- a/client/src/sass/application.scss +++ b/client/src/sass/application.scss | |||
@@ -323,6 +323,13 @@ table { | |||
323 | } | 323 | } |
324 | } | 324 | } |
325 | 325 | ||
326 | .form-group-description { | ||
327 | @extend .text-muted; | ||
328 | |||
329 | font-size: 90%; | ||
330 | margin-top: 10px; | ||
331 | } | ||
332 | |||
326 | @media screen and (max-width: #{breakpoint(xxl)}) { | 333 | @media screen and (max-width: #{breakpoint(xxl)}) { |
327 | .main-col { | 334 | .main-col { |
328 | &.expanded { | 335 | &.expanded { |