aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/+video-edit/shared/video-edit.component.html
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2017-12-20 14:29:55 +0100
committerChocobozzz <me@florianbigard.com>2017-12-20 14:29:55 +0100
commit15a7387da888492068e2ce3d1e39639d142f6c6e (patch)
tree8eaec71d11c19a97dc99e4d9812dfc0c646dd9e7 /client/src/app/videos/+video-edit/shared/video-edit.component.html
parenta4b8a4ddccc926e0670d3687cccd52496f6f8a8f (diff)
downloadPeerTube-15a7387da888492068e2ce3d1e39639d142f6c6e.tar.gz
PeerTube-15a7387da888492068e2ce3d1e39639d142f6c6e.tar.zst
PeerTube-15a7387da888492068e2ce3d1e39639d142f6c6e.zip
Customize select
Diffstat (limited to 'client/src/app/videos/+video-edit/shared/video-edit.component.html')
-rw-r--r--client/src/app/videos/+video-edit/shared/video-edit.component.html50
1 files changed, 33 insertions, 17 deletions
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 8c071ce12..e728d8ea2 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
@@ -29,11 +29,22 @@
29 29
30 <div class="col-md-4"> 30 <div class="col-md-4">
31 <div class="form-group"> 31 <div class="form-group">
32 <label>Channel</label>
33 <div class="peertube-select-disabled-container">
34 <select formControlName="channelId">
35 <option *ngFor="let channel of userVideoChannels" [value]="channel.id">{{ channel.label }}</option>
36 </select>
37 </div>
38 </div>
39
40 <div class="form-group">
32 <label for="category">Category</label> 41 <label for="category">Category</label>
33 <select id="category" formControlName="category"> 42 <div class="peertube-select-container">
34 <option></option> 43 <select id="category" formControlName="category">
35 <option *ngFor="let category of videoCategories" [value]="category.id">{{ category.label }}</option> 44 <option></option>
36 </select> 45 <option *ngFor="let category of videoCategories" [value]="category.id">{{ category.label }}</option>
46 </select>
47 </div>
37 48
38 <div *ngIf="formErrors.category" class="form-error"> 49 <div *ngIf="formErrors.category" class="form-error">
39 {{ formErrors.category }} 50 {{ formErrors.category }}
@@ -42,10 +53,12 @@
42 53
43 <div class="form-group"> 54 <div class="form-group">
44 <label for="licence">Licence</label> 55 <label for="licence">Licence</label>
45 <select id="licence" formControlName="licence"> 56 <div class="peertube-select-container">
46 <option></option> 57 <select id="licence" formControlName="licence">
47 <option *ngFor="let licence of videoLicences" [value]="licence.id">{{ licence.label }}</option> 58 <option></option>
48 </select> 59 <option *ngFor="let licence of videoLicences" [value]="licence.id">{{ licence.label }}</option>
60 </select>
61 </div>
49 62
50 <div *ngIf="formErrors.licence" class="form-error"> 63 <div *ngIf="formErrors.licence" class="form-error">
51 {{ formErrors.licence }} 64 {{ formErrors.licence }}
@@ -54,10 +67,12 @@
54 67
55 <div class="form-group"> 68 <div class="form-group">
56 <label for="language">Language</label> 69 <label for="language">Language</label>
57 <select id="language" formControlName="language"> 70 <div class="peertube-select-container">
58 <option></option> 71 <select id="language" formControlName="language">
59 <option *ngFor="let language of videoLanguages" [value]="language.id">{{ language.label }}</option> 72 <option></option>
60 </select> 73 <option *ngFor="let language of videoLanguages" [value]="language.id">{{ language.label }}</option>
74 </select>
75 </div>
61 76
62 <div *ngIf="formErrors.language" class="form-error"> 77 <div *ngIf="formErrors.language" class="form-error">
63 {{ formErrors.language }} 78 {{ formErrors.language }}
@@ -66,11 +81,12 @@
66 81
67 <div class="form-group"> 82 <div class="form-group">
68 <label for="privacy">Privacy</label> 83 <label for="privacy">Privacy</label>
69 <select id="privacy" formControlName="privacy"> 84 <div class="peertube-select-container">
70 85 <select id="privacy" formControlName="privacy">
71 <option></option> 86 <option></option>
72 <option *ngFor="let privacy of videoPrivacies" [value]="privacy.id">{{ privacy.label }}</option> 87 <option *ngFor="let privacy of videoPrivacies" [value]="privacy.id">{{ privacy.label }}</option>
73 </select> 88 </select>
89 </div>
74 90
75 <div *ngIf="formErrors.privacy" class="form-error"> 91 <div *ngIf="formErrors.privacy" class="form-error">
76 {{ formErrors.privacy }} 92 {{ formErrors.privacy }}