diff options
author | Chocobozzz <me@florianbigard.com> | 2018-06-29 15:04:49 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-06-29 17:10:50 +0200 |
commit | 84455f2b94d14b387f77fdb92f5e646621d7bef9 (patch) | |
tree | e054e7dd665ea1c42153d35ece430c3564a5abfd /client/src | |
parent | b81eb8fdc6fabbe517d5731c26da773206ebba62 (diff) | |
download | PeerTube-84455f2b94d14b387f77fdb92f5e646621d7bef9.tar.gz PeerTube-84455f2b94d14b387f77fdb92f5e646621d7bef9.tar.zst PeerTube-84455f2b94d14b387f77fdb92f5e646621d7bef9.zip |
Extract extensions from the button
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/app/videos/+video-edit/video-add.component.html | 3 | ||||
-rw-r--r-- | client/src/app/videos/+video-edit/video-add.component.scss | 11 |
2 files changed, 12 insertions, 2 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 f151383f1..7d9443209 100644 --- a/client/src/app/videos/+video-edit/video-add.component.html +++ b/client/src/app/videos/+video-edit/video-add.component.html | |||
@@ -9,9 +9,10 @@ | |||
9 | <div class="icon icon-upload"></div> | 9 | <div class="icon icon-upload"></div> |
10 | 10 | ||
11 | <div class="button-file"> | 11 | <div class="button-file"> |
12 | <span i18n>Select the file to upload (.mp4, .webm, .ogv)</span> | 12 | <span i18n>Select the file to upload</span> |
13 | <input #videofileInput type="file" name="videofile" id="videofile" [accept]="videoExtensions" (change)="fileChange()" /> | 13 | <input #videofileInput type="file" name="videofile" id="videofile" [accept]="videoExtensions" (change)="fileChange()" /> |
14 | </div> | 14 | </div> |
15 | <span class="button-file-extension">(.mp4, .webm, .ogv)</span> | ||
15 | 16 | ||
16 | <div class="form-group form-group-channel"> | 17 | <div class="form-group form-group-channel"> |
17 | <label i18n for="first-step-channel">Channel</label> | 18 | <label i18n for="first-step-channel">Channel</label> |
diff --git a/client/src/app/videos/+video-edit/video-add.component.scss b/client/src/app/videos/+video-edit/video-add.component.scss index de7dec65d..c0b5f3d07 100644 --- a/client/src/app/videos/+video-edit/video-add.component.scss +++ b/client/src/app/videos/+video-edit/video-add.component.scss | |||
@@ -37,8 +37,17 @@ | |||
37 | @include peertube-button-file(auto); | 37 | @include peertube-button-file(auto); |
38 | 38 | ||
39 | min-width: 190px; | 39 | min-width: 190px; |
40 | margin-bottom: 45px; | ||
41 | } | 40 | } |
41 | |||
42 | .button-file-extension { | ||
43 | display: block; | ||
44 | font-size: 12px; | ||
45 | margin-top: 5px; | ||
46 | } | ||
47 | } | ||
48 | |||
49 | .form-group-channel { | ||
50 | margin-top: 35px; | ||
42 | } | 51 | } |
43 | } | 52 | } |
44 | 53 | ||