aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+my-account
diff options
context:
space:
mode:
authorCaroline Chuong <caroline.chuong@octo.com>2020-06-13 00:53:56 +0200
committerGitHub <noreply@github.com>2020-06-13 00:53:56 +0200
commitc9e3565dc8d0e5ce0dcbdb4fe8deb7a257d9e2a0 (patch)
tree2646dbf2602648e84102121da72629e313e61297 /client/src/app/+my-account
parent1a40132c67e50c94a7bd3f6b63c075f471b3d6cc (diff)
downloadPeerTube-c9e3565dc8d0e5ce0dcbdb4fe8deb7a257d9e2a0.tar.gz
PeerTube-c9e3565dc8d0e5ce0dcbdb4fe8deb7a257d9e2a0.tar.zst
PeerTube-c9e3565dc8d0e5ce0dcbdb4fe8deb7a257d9e2a0.zip
fix headings order or add missing ones (#2871)
Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
Diffstat (limited to 'client/src/app/+my-account')
-rw-r--r--client/src/app/+my-account/my-account-blocklist/my-account-blocklist.component.html2
-rw-r--r--client/src/app/+my-account/my-account-blocklist/my-account-server-blocklist.component.html2
-rw-r--r--client/src/app/+my-account/my-account-history/my-account-history.component.html1
-rw-r--r--client/src/app/+my-account/my-account-notifications/my-account-notifications.component.html1
-rw-r--r--client/src/app/+my-account/my-account-ownership/my-account-accept-ownership/my-account-accept-ownership.component.html2
-rw-r--r--client/src/app/+my-account/my-account-ownership/my-account-ownership.component.html1
-rw-r--r--client/src/app/+my-account/my-account-settings/my-account-settings.component.html15
-rw-r--r--client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.html1
-rw-r--r--client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.html1
-rw-r--r--client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.html1
-rw-r--r--client/src/app/+my-account/my-account-video-playlists/my-account-video-playlists.component.html2
-rw-r--r--client/src/app/+my-account/my-account-video-playlists/my-account-video-playlists.component.scss4
-rw-r--r--client/src/app/+my-account/my-account-videos/my-account-videos.component.html2
-rw-r--r--client/src/app/+my-account/my-account-videos/my-account-videos.component.scss3
-rw-r--r--client/src/app/+my-account/shared/actor-avatar-info.component.html1
15 files changed, 26 insertions, 13 deletions
diff --git a/client/src/app/+my-account/my-account-blocklist/my-account-blocklist.component.html b/client/src/app/+my-account/my-account-blocklist/my-account-blocklist.component.html
index fb9e6546e..90f657521 100644
--- a/client/src/app/+my-account/my-account-blocklist/my-account-blocklist.component.html
+++ b/client/src/app/+my-account/my-account-blocklist/my-account-blocklist.component.html
@@ -1,5 +1,5 @@
1<div class="admin-sub-header"> 1<div class="admin-sub-header">
2 <div i18n class="form-sub-title">Muted accounts</div> 2 <h1 i18n class="form-sub-title">Muted accounts</h1>
3</div> 3</div>
4 4
5<p-table 5<p-table
diff --git a/client/src/app/+my-account/my-account-blocklist/my-account-server-blocklist.component.html b/client/src/app/+my-account/my-account-blocklist/my-account-server-blocklist.component.html
index 6359b4461..c31cff16f 100644
--- a/client/src/app/+my-account/my-account-blocklist/my-account-server-blocklist.component.html
+++ b/client/src/app/+my-account/my-account-blocklist/my-account-server-blocklist.component.html
@@ -1,5 +1,5 @@
1<div class="admin-sub-header"> 1<div class="admin-sub-header">
2 <div i18n class="form-sub-title">Muted instances</div> 2 <h1 i18n class="form-sub-title">Muted instances</h1>
3</div> 3</div>
4 4
5<p-table 5<p-table
diff --git a/client/src/app/+my-account/my-account-history/my-account-history.component.html b/client/src/app/+my-account/my-account-history/my-account-history.component.html
index 817b929fe..6b94d5477 100644
--- a/client/src/app/+my-account/my-account-history/my-account-history.component.html
+++ b/client/src/app/+my-account/my-account-history/my-account-history.component.html
@@ -1,3 +1,4 @@
1<h1 class="sr-only" i18n>History</h1>
1<div class="top-buttons"> 2<div class="top-buttons">
2 <div class="history-switch"> 3 <div class="history-switch">
3 <p-inputSwitch [(ngModel)]="videosHistoryEnabled" (ngModelChange)="onVideosHistoryChange()"></p-inputSwitch> 4 <p-inputSwitch [(ngModel)]="videosHistoryEnabled" (ngModelChange)="onVideosHistoryChange()"></p-inputSwitch>
diff --git a/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.html b/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.html
index 429943f71..8e4480ca6 100644
--- a/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.html
+++ b/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.html
@@ -1,3 +1,4 @@
1<h1 class="sr-only" i18n>Notifications</h1>
1<div class="header"> 2<div class="header">
2 <a routerLink="/my-account/settings" fragment="notifications" i18n> 3 <a routerLink="/my-account/settings" fragment="notifications" i18n>
3 <my-global-icon iconName="cog" aria-hidden="true"></my-global-icon> 4 <my-global-icon iconName="cog" aria-hidden="true"></my-global-icon>
diff --git a/client/src/app/+my-account/my-account-ownership/my-account-accept-ownership/my-account-accept-ownership.component.html b/client/src/app/+my-account/my-account-ownership/my-account-accept-ownership/my-account-accept-ownership.component.html
index a155d90e0..222da9542 100644
--- a/client/src/app/+my-account/my-account-ownership/my-account-accept-ownership/my-account-accept-ownership.component.html
+++ b/client/src/app/+my-account/my-account-ownership/my-account-accept-ownership/my-account-accept-ownership.component.html
@@ -1,6 +1,6 @@
1<ng-template #modal let-close="close" let-dismiss="dismiss"> 1<ng-template #modal let-close="close" let-dismiss="dismiss">
2 <div class="modal-header"> 2 <div class="modal-header">
3 <h4 i18n class="modal-title">Accept ownership</h4> 3 <h1 i18n class="modal-title">Accept ownership</h1>
4 4
5 <my-global-icon iconName="cross" aria-label="Close" role="button" (click)="dismiss()"></my-global-icon> 5 <my-global-icon iconName="cross" aria-label="Close" role="button" (click)="dismiss()"></my-global-icon>
6 </div> 6 </div>
diff --git a/client/src/app/+my-account/my-account-ownership/my-account-ownership.component.html b/client/src/app/+my-account/my-account-ownership/my-account-ownership.component.html
index 354176a11..a50acfdf8 100644
--- a/client/src/app/+my-account/my-account-ownership/my-account-ownership.component.html
+++ b/client/src/app/+my-account/my-account-ownership/my-account-ownership.component.html
@@ -1,3 +1,4 @@
1<h1 class="sr-only" i18n>Ownership changes</h1>
1<p-table 2<p-table
2 [value]="videoChangeOwnerships" 3 [value]="videoChangeOwnerships"
3 [lazy]="true" 4 [lazy]="true"
diff --git a/client/src/app/+my-account/my-account-settings/my-account-settings.component.html b/client/src/app/+my-account/my-account-settings/my-account-settings.component.html
index b4e4d29f0..040b2130f 100644
--- a/client/src/app/+my-account/my-account-settings/my-account-settings.component.html
+++ b/client/src/app/+my-account/my-account-settings/my-account-settings.component.html
@@ -1,6 +1,7 @@
1<h1 class="sr-only" i18n>Settings</h1>
1<div class="form-row"> <!-- profile grid --> 2<div class="form-row"> <!-- profile grid -->
2 <div class="form-group col-12 col-lg-4 col-xl-3"> 3 <div class="form-group col-12 col-lg-4 col-xl-3">
3 <div i18n class="account-title">PROFILE</div> 4 <h2 i18n class="account-title">PROFILE</h2>
4 </div> 5 </div>
5 6
6 <div class="form-group form-group-right col-12 col-lg-8 col-xl-9"> 7 <div class="form-group form-group-right col-12 col-lg-8 col-xl-9">
@@ -29,7 +30,7 @@
29<div class="form-row mt-5"> <!-- video settings grid --> 30<div class="form-row mt-5"> <!-- video settings grid -->
30 <div class="form-group col-12 col-lg-4 col-xl-3"> 31 <div class="form-group col-12 col-lg-4 col-xl-3">
31 <div class="anchor" id="video-settings"></div> <!-- video settings anchor --> 32 <div class="anchor" id="video-settings"></div> <!-- video settings anchor -->
32 <div i18n class="account-title">VIDEO SETTINGS</div> 33 <h2 i18n class="account-title">VIDEO SETTINGS</h2>
33 </div> 34 </div>
34 35
35 <div class="form-group form-group-right col-12 col-lg-8 col-xl-9"> 36 <div class="form-group form-group-right col-12 col-lg-8 col-xl-9">
@@ -40,7 +41,7 @@
40<div class="form-row mt-5"> <!-- notifications grid --> 41<div class="form-row mt-5"> <!-- notifications grid -->
41 <div class="form-group col-12 col-lg-4 col-xl-3"> 42 <div class="form-group col-12 col-lg-4 col-xl-3">
42 <div class="anchor" id="notifications"></div> <!-- notifications anchor --> 43 <div class="anchor" id="notifications"></div> <!-- notifications anchor -->
43 <div i18n class="account-title">NOTIFICATIONS</div> 44 <h2 i18n class="account-title">NOTIFICATIONS</h2>
44 </div> 45 </div>
45 46
46 <div class="form-group form-group-right col-12 col-lg-8 col-xl-9"> 47 <div class="form-group form-group-right col-12 col-lg-8 col-xl-9">
@@ -50,7 +51,7 @@
50 51
51<div class="form-row mt-5"> <!-- interface grid --> 52<div class="form-row mt-5"> <!-- interface grid -->
52 <div class="form-group col-12 col-lg-4 col-xl-3"> 53 <div class="form-group col-12 col-lg-4 col-xl-3">
53 <div i18n class="account-title">INTERFACE</div> 54 <h2 i18n class="account-title">INTERFACE</h2>
54 </div> 55 </div>
55 56
56 <div class="form-group form-group-right col-12 col-lg-8 col-xl-9"> 57 <div class="form-group form-group-right col-12 col-lg-8 col-xl-9">
@@ -60,7 +61,7 @@
60 61
61<div class="form-row mt-5" *ngIf="user.pluginAuth === null"> <!-- password grid --> 62<div class="form-row mt-5" *ngIf="user.pluginAuth === null"> <!-- password grid -->
62 <div class="form-group col-12 col-lg-4 col-xl-3"> 63 <div class="form-group col-12 col-lg-4 col-xl-3">
63 <div i18n class="account-title">PASSWORD</div> 64 <h2 i18n class="account-title">PASSWORD</h2>
64 </div> 65 </div>
65 66
66 <div class="form-group form-group-right col-12 col-lg-8 col-xl-9"> 67 <div class="form-group form-group-right col-12 col-lg-8 col-xl-9">
@@ -70,7 +71,7 @@
70 71
71<div class="form-row mt-5"> <!-- email grid --> 72<div class="form-row mt-5"> <!-- email grid -->
72 <div class="form-group col-12 col-lg-4 col-xl-3"> 73 <div class="form-group col-12 col-lg-4 col-xl-3">
73 <div i18n class="account-title">EMAIL</div> 74 <h2 i18n class="account-title">EMAIL</h2>
74 </div> 75 </div>
75 76
76 <div class="form-group form-group-right col-12 col-lg-8 col-xl-9"> 77 <div class="form-group form-group-right col-12 col-lg-8 col-xl-9">
@@ -80,7 +81,7 @@
80 81
81<div class="form-row mt-5"> <!-- danger zone grid --> 82<div class="form-row mt-5"> <!-- danger zone grid -->
82 <div class="form-group col-12 col-lg-4 col-xl-3"> 83 <div class="form-group col-12 col-lg-4 col-xl-3">
83 <div i18n class="account-title">DANGER ZONE</div> 84 <h2 i18n class="account-title">DANGER ZONE</h2>
84 </div> 85 </div>
85 86
86 <div class="form-group form-group-right col-12 col-lg-8 col-xl-9"> 87 <div class="form-group form-group-right col-12 col-lg-8 col-xl-9">
diff --git a/client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.html b/client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.html
index b87a4c00c..23dfdc8f5 100644
--- a/client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.html
+++ b/client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.html
@@ -1,3 +1,4 @@
1<h1 class="sr-only" i18n>Subscriptions</h1>
1<div class="no-results" i18n *ngIf="pagination.totalItems === 0">You don't have any subscriptions yet.</div> 2<div class="no-results" i18n *ngIf="pagination.totalItems === 0">You don't have any subscriptions yet.</div>
2 3
3<div class="video-channels" myInfiniteScroller [autoInit]="true" (nearOfBottom)="onNearOfBottom()" [dataObservable]="onDataSubject.asObservable()"> 4<div class="video-channels" myInfiniteScroller [autoInit]="true" (nearOfBottom)="onNearOfBottom()" [dataObservable]="onDataSubject.asObservable()">
diff --git a/client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.html b/client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.html
index 6fd94474d..2499b6ed5 100644
--- a/client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.html
+++ b/client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.html
@@ -1,3 +1,4 @@
1<h1 class="sr-only" i18n>My channels</h1>
1<div class="video-channels-header"> 2<div class="video-channels-header">
2 <a class="create-button" routerLink="create"> 3 <a class="create-button" routerLink="create">
3 <my-global-icon iconName="add" aria-hidden="true"></my-global-icon> 4 <my-global-icon iconName="add" aria-hidden="true"></my-global-icon>
diff --git a/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.html b/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.html
index 37c6ad6b4..8f0786bd0 100644
--- a/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.html
+++ b/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.html
@@ -1,3 +1,4 @@
1<h1 class="sr-only" i18n>Imports</h1>
1<p-table 2<p-table
2 [value]="videoImports" [lazy]="true" [paginator]="totalRecords > 0" [totalRecords]="totalRecords" [rows]="rowsPerPage" 3 [value]="videoImports" [lazy]="true" [paginator]="totalRecords > 0" [totalRecords]="totalRecords" [rows]="rowsPerPage"
3 [sortField]="sort.field" [sortOrder]="sort.order" (onLazyLoad)="loadLazy($event)" dataKey="id" 4 [sortField]="sort.field" [sortOrder]="sort.order" (onLazyLoad)="loadLazy($event)" dataKey="id"
diff --git a/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlists.component.html b/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlists.component.html
index 7bd2fa19f..1ba2c35ef 100644
--- a/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlists.component.html
+++ b/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlists.component.html
@@ -1,5 +1,5 @@
1<div class="video-playlists-header"> 1<div class="video-playlists-header">
2 <h4 i18n>Playlists <span class="badge badge-secondary">{{ pagination.totalItems }}</span></h4> 2 <h1 i18n>Playlists <span class="badge badge-secondary">{{ pagination.totalItems }}</span></h1>
3 3
4 <input type="text" placeholder="Search your playlists" i18n-placeholder [(ngModel)]="videoPlaylistsSearch" (ngModelChange)="onVideoPlaylistSearchChanged()" /> 4 <input type="text" placeholder="Search your playlists" i18n-placeholder [(ngModel)]="videoPlaylistsSearch" (ngModelChange)="onVideoPlaylistSearchChanged()" />
5 5
diff --git a/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlists.component.scss b/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlists.component.scss
index 4381d74b0..41e7851fd 100644
--- a/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlists.component.scss
+++ b/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlists.component.scss
@@ -41,6 +41,10 @@
41 input[type=text] { 41 input[type=text] {
42 @include peertube-input-text(300px); 42 @include peertube-input-text(300px);
43 } 43 }
44
45 h1 {
46 font-size: 1.5rem;
47 }
44} 48}
45 49
46@media screen and (max-width: $small-view) { 50@media screen and (max-width: $small-view) {
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 9192aec6d..825bddf5e 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
@@ -1,5 +1,5 @@
1<div class="videos-header"> 1<div class="videos-header">
2 <h4 i18n>Videos <span class="badge badge-secondary">{{ pagination.totalItems }}</span></h4> 2 <h1 i18n>Videos <span class="badge badge-secondary">{{ pagination.totalItems }}</span></h1>
3 3
4 <input type="text" placeholder="Search your videos" i18n-placeholder [(ngModel)]="videosSearch" (ngModelChange)="onVideosSearchChanged()" /> 4 <input type="text" placeholder="Search your videos" i18n-placeholder [(ngModel)]="videosSearch" (ngModelChange)="onVideosSearchChanged()" />
5 5
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 67a58d8d5..18c1ae288 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
@@ -6,9 +6,10 @@
6 justify-content: space-between; 6 justify-content: space-between;
7 margin: 20px 0 50px; 7 margin: 20px 0 50px;
8 8
9 h4, 9 h1,
10 .fake-element { 10 .fake-element {
11 flex: 1; 11 flex: 1;
12 font-size: 1.5rem;
12 } 13 }
13 14
14 input[type=text] { 15 input[type=text] {
diff --git a/client/src/app/+my-account/shared/actor-avatar-info.component.html b/client/src/app/+my-account/shared/actor-avatar-info.component.html
index 82f5123de..d01b9ac7f 100644
--- a/client/src/app/+my-account/shared/actor-avatar-info.component.html
+++ b/client/src/app/+my-account/shared/actor-avatar-info.component.html
@@ -6,6 +6,7 @@
6 <div class="actor-img-edit-container"> 6 <div class="actor-img-edit-container">
7 <div class="actor-img-edit-button" [ngbTooltip]="'(extensions: '+ avatarExtensions +', '+ maxSizeText +': '+ maxAvatarSizeInBytes +')'" placement="right" container="body"> 7 <div class="actor-img-edit-button" [ngbTooltip]="'(extensions: '+ avatarExtensions +', '+ maxSizeText +': '+ maxAvatarSizeInBytes +')'" placement="right" container="body">
8 <my-global-icon iconName="edit"></my-global-icon> 8 <my-global-icon iconName="edit"></my-global-icon>
9 <label for="avatarfile" i18n>Change your avatar</label>
9 <input #avatarfileInput type="file" title=" " name="avatarfile" id="avatarfile" [accept]="avatarExtensions" (change)="onAvatarChange()"/> 10 <input #avatarfileInput type="file" title=" " name="avatarfile" id="avatarfile" [accept]="avatarExtensions" (change)="onAvatarChange()"/>
10 </div> 11 </div>
11 </div> 12 </div>