Properly scroll to anchors in links, especially in admin config
[oweals/peertube.git] / client / src / app / +my-account / my-account-settings / my-account-settings.component.html
1 <div class="form-row"> <!-- profile grid -->
2   <div class="form-group col-12 col-lg-4 col-xl-3">
3     <div i18n class="account-title">PROFILE</div>
4   </div>
5
6   <div class="form-group form-group-right col-12 col-lg-8 col-xl-9">
7     <my-actor-avatar-info [actor]="user.account" (avatarChange)="onAvatarChange($event)"></my-actor-avatar-info>
8
9     <div class="user-quota mb-3">
10       <div>
11         <label i18n>Total video quota:</label>
12         <ng-container i18n>{{ userVideoQuotaUsed | bytes: 0 }} used</ng-container> / {{ userVideoQuota }}
13       </div>
14
15       <div *ngIf="hasDailyQuota()">
16         <label i18n>Daily video quota:</label>
17         <ng-container>{{ userVideoQuotaUsedDaily | bytes: 0 }} used</ng-container> / {{ userVideoQuotaDaily }}
18       </div>
19     </div>
20
21     <my-account-profile [user]="user" [userInformationLoaded]="userInformationLoaded"></my-account-profile>
22   </div>
23 </div>
24
25 <div class="form-row mt-5"> <!-- video settings grid -->
26   <div class="form-group col-12 col-lg-4 col-xl-3">
27     <div i18n class="account-title">VIDEO SETTINGS</div>
28   </div>
29
30   <div class="form-group form-group-right col-12 col-lg-8 col-xl-9">
31     <my-account-video-settings [user]="user" [userInformationLoaded]="userInformationLoaded"></my-account-video-settings>
32   </div>
33 </div>
34
35 <div class="form-row mt-5"> <!-- notifications grid -->
36   <div class="form-group col-12 col-lg-4 col-xl-3">
37     <div class="anchor" id="notifications"></div> <!-- notifications anchor -->
38     <div i18n class="account-title">NOTIFICATIONS</div>
39   </div>
40
41   <div class="form-group form-group-right col-12 col-lg-8 col-xl-9">
42     <my-account-notification-preferences [user]="user" [userInformationLoaded]="userInformationLoaded"></my-account-notification-preferences>
43   </div>
44 </div>
45
46 <div class="form-row mt-5"> <!-- interface grid -->
47   <div class="form-group col-12 col-lg-4 col-xl-3">
48     <div i18n class="account-title">INTERFACE</div>
49   </div>
50
51   <div class="form-group form-group-right col-12 col-lg-8 col-xl-9">
52     <my-account-interface-settings [user]="user" [userInformationLoaded]="userInformationLoaded"></my-account-interface-settings>
53   </div>
54 </div>
55
56 <div class="form-row mt-5"> <!-- password grid -->
57   <div class="form-group col-12 col-lg-4 col-xl-3">
58     <div i18n class="account-title">PASSWORD</div>
59   </div>
60
61   <div class="form-group form-group-right col-12 col-lg-8 col-xl-9">
62     <my-account-change-password></my-account-change-password>
63   </div>
64 </div>
65
66 <div class="form-row mt-5"> <!-- email grid -->
67   <div class="form-group col-12 col-lg-4 col-xl-3">
68     <div i18n class="account-title">EMAIL</div>
69   </div>
70
71   <div class="form-group form-group-right col-12 col-lg-8 col-xl-9">
72     <my-account-change-email></my-account-change-email>
73   </div>
74 </div>
75
76 <div class="form-row mt-5"> <!-- danger zone grid -->
77   <div class="form-group col-12 col-lg-4 col-xl-3">
78     <div i18n class="account-title">DANGER ZONE</div>
79   </div>
80
81   <div class="form-group form-group-right col-12 col-lg-8 col-xl-9">
82     <my-account-danger-zone [user]="user"></my-account-danger-zone>
83   </div>
84 </div>