diff options
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) => { |