aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+about
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/+about
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/+about')
-rw-r--r--client/src/app/+about/about-follows/about-follows.component.html5
-rw-r--r--client/src/app/+about/about-instance/about-instance.component.html41
-rw-r--r--client/src/app/+about/about-instance/contact-admin-modal.component.html4
-rw-r--r--client/src/app/+about/about-peertube/about-peertube.component.html24
-rw-r--r--client/src/app/+about/about-peertube/about-peertube.component.scss8
5 files changed, 46 insertions, 36 deletions
diff --git a/client/src/app/+about/about-follows/about-follows.component.html b/client/src/app/+about/about-follows/about-follows.component.html
index ebe03bd94..dd50cda74 100644
--- a/client/src/app/+about/about-follows/about-follows.component.html
+++ b/client/src/app/+about/about-follows/about-follows.component.html
@@ -1,6 +1,7 @@
1<div class="row" myInfiniteScroller [autoInit]="true" (nearOfBottom)="onNearOfBottom()" [dataObservable]="onDataSubject.asObservable()"> 1<div class="row" myInfiniteScroller [autoInit]="true" (nearOfBottom)="onNearOfBottom()" [dataObservable]="onDataSubject.asObservable()">
2 <h1 class="sr-only" i18n>Follows</h1>
2 <div class="col-xl-6 col-md-12"> 3 <div class="col-xl-6 col-md-12">
3 <div i18n class="subtitle">Followers instances</div> 4 <h2 i18n class="subtitle">Followers instances</h2>
4 5
5 <div i18n class="no-results" *ngIf="followersPagination.totalItems === 0">This instance does not have instances followers.</div> 6 <div i18n class="no-results" *ngIf="followersPagination.totalItems === 0">This instance does not have instances followers.</div>
6 7
@@ -10,7 +11,7 @@
10 </div> 11 </div>
11 12
12 <div class="col-xl-6 col-md-12"> 13 <div class="col-xl-6 col-md-12">
13 <div i18n class="subtitle">Followings instances</div> 14 <h2 i18n class="subtitle">Followings instances</h2>
14 15
15 <div i18n class="no-results" *ngIf="followingsPagination.totalItems === 0">This instance does not have instances followings.</div> 16 <div i18n class="no-results" *ngIf="followingsPagination.totalItems === 0">This instance does not have instances followings.</div>
16 17
diff --git a/client/src/app/+about/about-instance/about-instance.component.html b/client/src/app/+about/about-instance/about-instance.component.html
index 7ba2d9ac8..3bc63b7d1 100644
--- a/client/src/app/+about/about-instance/about-instance.component.html
+++ b/client/src/app/+about/about-instance/about-instance.component.html
@@ -2,9 +2,9 @@
2 <div class="col-md-12 col-xl-6"> 2 <div class="col-md-12 col-xl-6">
3 3
4 <div class="about-instance-title"> 4 <div class="about-instance-title">
5 <div i18n class="title">About {{ instanceName }}</div> 5 <h1 i18n class="title">About {{ instanceName }}</h1>
6 6
7 <div i18n *ngIf="isContactFormEnabled" (click)="openContactModal()" role="button" class="contact-admin">Contact administrator</div> 7 <button i18n *ngIf="isContactFormEnabled" (click)="openContactModal()" (keydown.enter)="openContactModal()" class="contact-admin">Contact administrator</button>
8 </div> 8 </div>
9 9
10 <div class="block instance-badges"> 10 <div class="block instance-badges">
@@ -19,84 +19,85 @@
19 <div i18n *ngIf="isNSFW" class="block dedicated-to-nsfw">This instance is dedicated to sensitive/NSFW content.</div> 19 <div i18n *ngIf="isNSFW" class="block dedicated-to-nsfw">This instance is dedicated to sensitive/NSFW content.</div>
20 </div> 20 </div>
21 21
22 <div i18n class="middle-title" *ngIf="html.administrator || maintenanceLifetime || businessModel"> 22 <h2 i18n class="middle-title" *ngIf="html.administrator || maintenanceLifetime || businessModel">
23 ADMINISTRATORS & SUSTAINABILITY 23 ADMINISTRATORS & SUSTAINABILITY
24 </div> 24 </h2>
25 25
26 <div class="block administrator" *ngIf="html.administrator"> 26 <div class="block administrator" *ngIf="html.administrator">
27 <div i18n class="section-title">Who we are</div> 27 <h3 i18n class="section-title">Who we are</h3>
28 28
29 <div [innerHTML]="html.administrator"></div> 29 <div [innerHTML]="html.administrator"></div>
30 </div> 30 </div>
31 31
32 <div class="block creation-reason" *ngIf="creationReason"> 32 <div class="block creation-reason" *ngIf="creationReason">
33 <div i18n class="section-title">Why we created this instance</div> 33 <h3 i18n class="section-title">Why we created this instance</h3>
34 34
35 <p>{{ creationReason }}</p> 35 <p>{{ creationReason }}</p>
36 </div> 36 </div>
37 37
38 <div class="block maintenance-lifetime" *ngIf="maintenanceLifetime"> 38 <div class="block maintenance-lifetime" *ngIf="maintenanceLifetime">
39 <div i18n class="section-title">How long we plan to maintain this instance</div> 39 <h3 i18n class="section-title">How long we plan to maintain this instance</h3>
40 40
41 <p>{{ maintenanceLifetime }}</p> 41 <p>{{ maintenanceLifetime }}</p>
42 </div> 42 </div>
43 43
44 <div class="block business-model" *ngIf="businessModel"> 44 <div class="block business-model" *ngIf="businessModel">
45 <div i18n class="section-title">How we will pay for this instance</div> 45 <h3 i18n class="section-title">How we will pay for this instance</h3>
46 46
47 <p>{{ businessModel }}</p> 47 <p>{{ businessModel }}</p>
48 </div> 48 </div>
49 49
50 <div i18n class="middle-title" *ngIf="html.description"> 50 <h2 i18n class="middle-title" *ngIf="html.description">
51 INFORMATION 51 INFORMATION
52 </div> 52 </h2>
53 53
54 <div class="block description"> 54 <div class="block description">
55 <div i18n class="section-title">Description</div> 55 <h3 i18n class="section-title">Description</h3>
56 56
57 <div [innerHTML]="html.description"></div> 57 <div [innerHTML]="html.description"></div>
58 </div> 58 </div>
59 59
60 <div i18n class="middle-title" *ngIf="html.moderationInformation || html.codeOfConduct || html.terms"> 60 <h2 i18n class="middle-title" *ngIf="html.moderationInformation || html.codeOfConduct || html.terms">
61 MODERATION 61 MODERATION
62 </div> 62 </h2>
63 63
64 <div class="block moderation-information" *ngIf="html.moderationInformation"> 64 <div class="block moderation-information" *ngIf="html.moderationInformation">
65 <div i18n class="section-title">Moderation information</div> 65 <h3 i18n class="section-title">Moderation information</h3>
66 66
67 <div [innerHTML]="html.moderationInformation"></div> 67 <div [innerHTML]="html.moderationInformation"></div>
68 </div> 68 </div>
69 69
70 <div class="block code-of-conduct" *ngIf="html.codeOfConduct"> 70 <div class="block code-of-conduct" *ngIf="html.codeOfConduct">
71 <div i18n class="section-title">Code of conduct</div> 71 <h3 i18n class="section-title">Code of conduct</h3>
72 72
73 <div [innerHTML]="html.codeOfConduct"></div> 73 <div [innerHTML]="html.codeOfConduct"></div>
74 </div> 74 </div>
75 75
76 <div class="block terms"> 76 <div class="block terms">
77 <div i18n class="section-title">Terms</div> 77 <h3 i18n class="section-title">Terms</h3>
78 78
79 <div [innerHTML]="html.terms"></div> 79 <div [innerHTML]="html.terms"></div>
80 </div> 80 </div>
81 81
82 <div i18n class="middle-title" *ngIf="html.hardwareInformation"> 82 <h2 i18n class="middle-title" *ngIf="html.hardwareInformation">
83 OTHER INFORMATION 83 OTHER INFORMATION
84 </div> 84 </h2>
85 85
86 <div class="block hardware-information" *ngIf="html.hardwareInformation"> 86 <div class="block hardware-information" *ngIf="html.hardwareInformation">
87 <div i18n class="section-title">Hardware information</div> 87 <h3 i18n class="section-title">Hardware information</h3>
88 88
89 <div [innerHTML]="html.hardwareInformation"></div> 89 <div [innerHTML]="html.hardwareInformation"></div>
90 </div> 90 </div>
91 </div> 91 </div>
92 92
93 <div class="col-md-12 col-xl-6"> 93 <div class="col-md-12 col-xl-6">
94 <h2 class="sr-only" i18n>FEATURES</h2>
94 <my-instance-features-table></my-instance-features-table> 95 <my-instance-features-table></my-instance-features-table>
95 </div> 96 </div>
96 97
97 <div class="col"> 98 <div class="col">
98 <div class="anchor" id="statistics"></div> 99 <div class="anchor" id="statistics"></div>
99 <div i18n class="middle-title">STATISTICS</div> 100 <h2 i18n class="middle-title">STATISTICS</h2>
100 <my-instance-statistics></my-instance-statistics> 101 <my-instance-statistics></my-instance-statistics>
101 </div> 102 </div>
102</div> 103</div>
diff --git a/client/src/app/+about/about-instance/contact-admin-modal.component.html b/client/src/app/+about/about-instance/contact-admin-modal.component.html
index 7d93796ec..81e59d46a 100644
--- a/client/src/app/+about/about-instance/contact-admin-modal.component.html
+++ b/client/src/app/+about/about-instance/contact-admin-modal.component.html
@@ -1,7 +1,7 @@
1<ng-template #modal> 1<ng-template #modal>
2 <div class="modal-header"> 2 <div class="modal-header">
3 <h4 i18n class="modal-title">Contact {{ instanceName }} administrator</h4> 3 <h1 i18n class="modal-title">Contact {{ instanceName }} administrator</h1>
4 <my-global-icon iconName="cross" aria-label="Close" role="button" (click)="hide()"></my-global-icon> 4 <my-global-icon iconName="cross" aria-label="Close" tabindex="0" role="button" (click)="hide()" (keydown.enter)="hide()"></my-global-icon>
5 </div> 5 </div>
6 6
7 <div class="modal-body"> 7 <div class="modal-body">
diff --git a/client/src/app/+about/about-peertube/about-peertube.component.html b/client/src/app/+about/about-peertube/about-peertube.component.html
index 1dbad3096..93670fe4e 100644
--- a/client/src/app/+about/about-peertube/about-peertube.component.html
+++ b/client/src/app/+about/about-peertube/about-peertube.component.html
@@ -24,10 +24,10 @@
24 24
25 <div class="card"> 25 <div class="card">
26 <div class="card-body"> 26 <div class="card-body">
27 <h5 class="card-title"> 27 <div class="card-title">
28 <a i18n target="_blank" rel="noopener noreferrer" href="https://docs.joinpeertube.org/#/use-setup-account">Use PeerTube 28 <a i18n target="_blank" rel="noopener noreferrer" href="https://docs.joinpeertube.org/#/use-setup-account">Use PeerTube
29 documentation</a> 29 documentation</a>
30 </h5> 30 </div>
31 31
32 <div i18n class="card-text"> 32 <div i18n class="card-text">
33 Discover how to setup your account, what is a channel, how to create a playlist and more! 33 Discover how to setup your account, what is a channel, how to create a playlist and more!
@@ -37,10 +37,10 @@
37 37
38 <div class="card"> 38 <div class="card">
39 <div class="card-body"> 39 <div class="card-body">
40 <h5 class="card-title"> 40 <div class="card-title">
41 <a i18n target="_blank" rel="noopener noreferrer" href="https://docs.joinpeertube.org/#/use-third-party-application">PeerTube 41 <a i18n target="_blank" rel="noopener noreferrer" href="https://docs.joinpeertube.org/#/use-third-party-application">PeerTube
42 Applications</a> 42 Applications</a>
43 </h5> 43 </div>
44 44
45 <div i18n class="card-text"> 45 <div i18n class="card-text">
46 Discover unofficial Android applications or browser addons! 46 Discover unofficial Android applications or browser addons!
@@ -50,10 +50,10 @@
50 50
51 <div class="card"> 51 <div class="card">
52 <div class="card-body"> 52 <div class="card-body">
53 <h5 class="card-title"> 53 <div class="card-title">
54 <a i18n target="_blank" rel="noopener noreferrer" href="https://docs.joinpeertube.org/#/contribute-getting-started">Contribute on 54 <a i18n target="_blank" rel="noopener noreferrer" href="https://docs.joinpeertube.org/#/contribute-getting-started">Contribute on
55 PeerTube</a> 55 PeerTube</a>
56 </h5> 56 </div>
57 57
58 <div i18n class="card-text"> 58 <div i18n class="card-text">
59 Want to help to improve PeerTube? You can translate the web interface, give your feedback or directly contribute to the code! 59 Want to help to improve PeerTube? You can translate the web interface, give your feedback or directly contribute to the code!
@@ -66,10 +66,10 @@
66 <my-about-peertube-contributors></my-about-peertube-contributors> 66 <my-about-peertube-contributors></my-about-peertube-contributors>
67 67
68 <div class="p2p-privacy"> 68 <div class="p2p-privacy">
69 <h3 class="section-title"> 69 <h2 class="section-title">
70 <div class="anchor" id="privacy"></div> <!-- privacy anchor --> 70 <div class="anchor" id="privacy"></div> <!-- privacy anchor -->
71 <ng-container i18n>P2P & Privacy</ng-container> 71 <ng-container i18n>P2P & Privacy</ng-container>
72 </h3> 72 </h2>
73 73
74 <p i18n> 74 <p i18n>
75 PeerTube uses the BitTorrent protocol to share bandwidth between users by default to help lower the load on the server, 75 PeerTube uses the BitTorrent protocol to share bandwidth between users by default to help lower the load on the server,
@@ -82,7 +82,7 @@
82 tracker as long as you download or watch the video. 82 tracker as long as you download or watch the video.
83 </p> 83 </p>
84 84
85 <h6 i18n class="p2p-privacy-title">What are the consequences?</h6> 85 <h3 i18n class="p2p-privacy-title">What are the consequences?</h3>
86 86
87 <p i18n> 87 <p i18n>
88 In theory, someone with enough technical skills could create a script that tracks which IP is downloading which video. 88 In theory, someone with enough technical skills could create a script that tracks which IP is downloading which video.
@@ -128,7 +128,7 @@
128 There are much more effective ways to get that kind of information. 128 There are much more effective ways to get that kind of information.
129 </p> 129 </p>
130 130
131 <h6 i18n class="p2p-privacy-title">How does PeerTube compare with YouTube?</h6> 131 <h3 i18n class="p2p-privacy-title">How does PeerTube compare with YouTube?</h3>
132 132
133 <p i18n> 133 <p i18n>
134 The threats to privacy with YouTube are different from PeerTube's. 134 The threats to privacy with YouTube are different from PeerTube's.
@@ -136,7 +136,7 @@
136 Moreover, YouTube is owned by Google/Alphabet, a company that tracks you across many websites (via AdSense or Google Analytics). 136 Moreover, YouTube is owned by Google/Alphabet, a company that tracks you across many websites (via AdSense or Google Analytics).
137 </p> 137 </p>
138 138
139 <h6 i18n class="p2p-privacy-title">What can I do to limit the exposure of my IP address?</h6> 139 <h3 i18n class="p2p-privacy-title">What can I do to limit the exposure of my IP address?</h3>
140 140
141 <p i18n> 141 <p i18n>
142 Your IP address is public so every time you consult a website, there is a number of actors (in addition to the final website) seeing 142 Your IP address is public so every time you consult a website, there is a number of actors (in addition to the final website) seeing
@@ -145,7 +145,7 @@
145 Thinking that removing P2P from PeerTube will give you back anonymity doesn't make sense. 145 Thinking that removing P2P from PeerTube will give you back anonymity doesn't make sense.
146 </p> 146 </p>
147 147
148 <h6 i18n class="p2p-privacy-title">What will be done to mitigate this problem?</h6> 148 <h3 i18n class="p2p-privacy-title">What will be done to mitigate this problem?</h3>
149 149
150 <p i18n> 150 <p i18n>
151 PeerTube wants to deliver the best countermeasures possible, to give you more choice 151 PeerTube wants to deliver the best countermeasures possible, to give you more choice
diff --git a/client/src/app/+about/about-peertube/about-peertube.component.scss b/client/src/app/+about/about-peertube/about-peertube.component.scss
index a43eb6fe1..4856d4ae5 100644
--- a/client/src/app/+about/about-peertube/about-peertube.component.scss
+++ b/client/src/app/+about/about-peertube/about-peertube.component.scss
@@ -67,3 +67,11 @@ my-about-peertube-contributors {
67 } 67 }
68 } 68 }
69} 69}
70
71.card-title {
72 font-size: 1.25rem;
73}
74
75.p2p-privacy-title {
76 font-size: 20px;
77}