diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-03-16 20:59:56 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-03-16 20:59:56 +0100 |
commit | 763bed9ba0f70eff8bb1834d6d5dcf44aacac147 (patch) | |
tree | 318ff87ac63b0784e5945c4b8e439f8a454bca6c /client/angular/videos/components/add | |
parent | a0382b70d03213f7bfa342982bbeafc8c85f1d73 (diff) | |
download | PeerTube-763bed9ba0f70eff8bb1834d6d5dcf44aacac147.tar.gz PeerTube-763bed9ba0f70eff8bb1834d6d5dcf44aacac147.tar.zst PeerTube-763bed9ba0f70eff8bb1834d6d5dcf44aacac147.zip |
Some small css modifications
Diffstat (limited to 'client/angular/videos/components/add')
3 files changed, 16 insertions, 6 deletions
diff --git a/client/angular/videos/components/add/videos-add.component.html b/client/angular/videos/components/add/videos-add.component.html index 5f28ae650..4252d7abd 100644 --- a/client/angular/videos/components/add/videos-add.component.html +++ b/client/angular/videos/components/add/videos-add.component.html | |||
@@ -12,12 +12,14 @@ | |||
12 | </div> | 12 | </div> |
13 | </div> | 13 | </div> |
14 | 14 | ||
15 | <div class="btn btn-default btn-file"> | 15 | <div class="form-group"> |
16 | <span>Select the video...</span> | 16 | <div class="btn btn-default btn-file"> |
17 | <input type="file" name="input_video" id="input_video"> | 17 | <span>Select the video...</span> |
18 | </div> | 18 | <input type="file" name="input_video" id="input_video"> |
19 | </div> | ||
19 | 20 | ||
20 | <span *ngIf="fileToUpload">{{ fileToUpload.name }}</span> | 21 | <span *ngIf="fileToUpload">{{ fileToUpload.name }}</span> |
22 | </div> | ||
21 | 23 | ||
22 | <div class="form-group"> | 24 | <div class="form-group"> |
23 | <label for="description">Description</label> | 25 | <label for="description">Description</label> |
diff --git a/client/angular/videos/components/add/videos-add.component.scss b/client/angular/videos/components/add/videos-add.component.scss index f4187088b..01195f017 100644 --- a/client/angular/videos/components/add/videos-add.component.scss +++ b/client/angular/videos/components/add/videos-add.component.scss | |||
@@ -23,3 +23,11 @@ | |||
23 | display: inline-block; | 23 | display: inline-block; |
24 | margin-left: 10px; | 24 | margin-left: 10px; |
25 | } | 25 | } |
26 | |||
27 | .form-group { | ||
28 | margin-bottom: 10px; | ||
29 | } | ||
30 | |||
31 | #progress { | ||
32 | margin-bottom: 10px; | ||
33 | } | ||
diff --git a/client/angular/videos/components/add/videos-add.component.ts b/client/angular/videos/components/add/videos-add.component.ts index 8ff6cfec8..3a7b02133 100644 --- a/client/angular/videos/components/add/videos-add.component.ts +++ b/client/angular/videos/components/add/videos-add.component.ts | |||
@@ -36,7 +36,7 @@ export class VideosAddComponent implements OnInit { | |||
36 | 36 | ||
37 | progressall: (e, data) => { | 37 | progressall: (e, data) => { |
38 | this.progressBar.value = data.loaded; | 38 | this.progressBar.value = data.loaded; |
39 | this.progressBar.max= data.total; | 39 | this.progressBar.max = data.total; |
40 | }, | 40 | }, |
41 | 41 | ||
42 | done: (e, data) => { | 42 | done: (e, data) => { |