aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+my-account
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/+my-account')
-rw-r--r--client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.html12
-rw-r--r--client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.scss4
-rw-r--r--client/src/app/+my-account/my-account-videos/my-account-videos.component.html3
-rw-r--r--client/src/app/+my-account/my-account-videos/my-account-videos.component.scss11
4 files changed, 5 insertions, 25 deletions
diff --git a/client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.html b/client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.html
index 98587eb18..96629940f 100644
--- a/client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.html
+++ b/client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.html
@@ -15,14 +15,10 @@
15 </div> 15 </div>
16 </div> 16 </div>
17 17
18 <div class="form-group"> 18 <my-peertube-checkbox
19 <input 19 inputName="autoPlayVideo" formControlName="autoPlayVideo"
20 type="checkbox" id="autoPlayVideo" 20 i18n-labelText labelText="Automatically plays video"
21 formControlName="autoPlayVideo" 21 ></my-peertube-checkbox>
22 >
23 <label for="autoPlayVideo"></label>
24 <label i18n for="autoPlayVideo">Automatically plays video</label>
25 </div>
26 22
27 <input type="submit" i18n-value value="Save" [disabled]="!form.valid"> 23 <input type="submit" i18n-value value="Save" [disabled]="!form.valid">
28</form> 24</form>
diff --git a/client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.scss b/client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.scss
index ed59e4689..1881be762 100644
--- a/client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.scss
+++ b/client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.scss
@@ -1,10 +1,6 @@
1@import '_variables'; 1@import '_variables';
2@import '_mixins'; 2@import '_mixins';
3 3
4input[type=checkbox] {
5 @include peertube-checkbox(1px);
6}
7
8input[type=submit] { 4input[type=submit] {
9 @include peertube-button; 5 @include peertube-button;
10 @include orange-button; 6 @include orange-button;
diff --git a/client/src/app/+my-account/my-account-videos/my-account-videos.component.html b/client/src/app/+my-account/my-account-videos/my-account-videos.component.html
index 7ac6371db..4823e2db9 100644
--- a/client/src/app/+my-account/my-account-videos/my-account-videos.component.html
+++ b/client/src/app/+my-account/my-account-videos/my-account-videos.component.html
@@ -9,8 +9,7 @@
9 <div *ngFor="let videos of videoPages; let i = index" class="videos-page"> 9 <div *ngFor="let videos of videoPages; let i = index" class="videos-page">
10 <div class="video" *ngFor="let video of videos; let j = index"> 10 <div class="video" *ngFor="let video of videos; let j = index">
11 <div class="checkbox-container"> 11 <div class="checkbox-container">
12 <input [id]="'video-check-' + video.id" type="checkbox" [(ngModel)]="checkedVideos[video.id]" /> 12 <my-peertube-checkbox [inputName]="'video-check-' + video.id" [(ngModel)]="checkedVideos[video.id]"></my-peertube-checkbox>
13 <label [for]="'video-check-' + video.id"></label>
14 </div> 13 </div>
15 14
16 <my-video-thumbnail [video]="video"></my-video-thumbnail> 15 <my-video-thumbnail [video]="video"></my-video-thumbnail>
diff --git a/client/src/app/+my-account/my-account-videos/my-account-videos.component.scss b/client/src/app/+my-account/my-account-videos/my-account-videos.component.scss
index 65c0c8bb2..9cd985273 100644
--- a/client/src/app/+my-account/my-account-videos/my-account-videos.component.scss
+++ b/client/src/app/+my-account/my-account-videos/my-account-videos.component.scss
@@ -52,17 +52,6 @@
52 margin-top: 47px; 52 margin-top: 47px;
53 } 53 }
54 54
55 .checkbox-container {
56 display: flex;
57 align-items: center;
58 margin-right: 20px;
59 margin-left: 12px;
60
61 input[type=checkbox] {
62 @include peertube-checkbox(2px);
63 }
64 }
65
66 my-video-thumbnail { 55 my-video-thumbnail {
67 margin-right: 10px; 56 margin-right: 10px;
68 } 57 }