]>
Commit | Line | Data |
---|---|---|
482fa503 RK |
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> | |
df8914c9 RK |
11 | <div class="progress" i18n-title title="Total video quota"> |
12 | <div class="progress-bar" role="progressbar" [style]="{ width: userVideoQuotaPercentage + '%' }" [attr.aria-valuenow]="userVideoQuotaUsed" aria-valuemin="0" [attr.aria-valuemax]="userVideoQuota">{{ userVideoQuotaUsed | bytes: 0 }}</div> | |
13 | <span class="ml-auto mr-2">{{ userVideoQuota }}</span> | |
14 | </div> | |
482fa503 RK |
15 | </div> |
16 | ||
df8914c9 RK |
17 | <div *ngIf="hasDailyQuota()" class="mt-3"> |
18 | <div class="progress" i18n-title title="Daily video quota"> | |
e61151b0 | 19 | <div class="progress-bar secondary" role="progressbar" [style]="{ width: userVideoQuotaDailyPercentage + '%' }" [attr.aria-valuenow]="userVideoQuotaUsedDaily" aria-valuemin="0" [attr.aria-valuemax]="userVideoQuotaDaily">{{ userVideoQuotaUsedDaily | bytes: 0 }}</div> |
df8914c9 RK |
20 | <span class="ml-auto mr-2">{{ userVideoQuotaDaily }}</span> |
21 | </div> | |
482fa503 RK |
22 | </div> |
23 | </div> | |
24 | ||
25 | <my-account-profile [user]="user" [userInformationLoaded]="userInformationLoaded"></my-account-profile> | |
26 | </div> | |
27 | </div> | |
2295ce6c | 28 | |
482fa503 RK |
29 | <div class="form-row mt-5"> <!-- video settings grid --> |
30 | <div class="form-group col-12 col-lg-4 col-xl-3"> | |
8227643b | 31 | <div class="anchor" id="video-settings"></div> <!-- video settings anchor --> |
482fa503 | 32 | <div i18n class="account-title">VIDEO SETTINGS</div> |
66fd1516 C |
33 | </div> |
34 | ||
482fa503 RK |
35 | <div class="form-group form-group-right col-12 col-lg-8 col-xl-9"> |
36 | <my-account-video-settings [user]="user" [userInformationLoaded]="userInformationLoaded"></my-account-video-settings> | |
66fd1516 | 37 | </div> |
ce5496d6 C |
38 | </div> |
39 | ||
482fa503 RK |
40 | <div class="form-row mt-5"> <!-- notifications grid --> |
41 | <div class="form-group col-12 col-lg-4 col-xl-3"> | |
45e0d669 | 42 | <div class="anchor" id="notifications"></div> <!-- notifications anchor --> |
482fa503 RK |
43 | <div i18n class="account-title">NOTIFICATIONS</div> |
44 | </div> | |
ed56ad11 | 45 | |
482fa503 RK |
46 | <div class="form-group form-group-right col-12 col-lg-8 col-xl-9"> |
47 | <my-account-notification-preferences [user]="user" [userInformationLoaded]="userInformationLoaded"></my-account-notification-preferences> | |
48 | </div> | |
49 | </div> | |
3caf77d3 | 50 | |
482fa503 RK |
51 | <div class="form-row mt-5"> <!-- interface grid --> |
52 | <div class="form-group col-12 col-lg-4 col-xl-3"> | |
53 | <div i18n class="account-title">INTERFACE</div> | |
54 | </div> | |
2f1548fd | 55 | |
482fa503 RK |
56 | <div class="form-group form-group-right col-12 col-lg-8 col-xl-9"> |
57 | <my-account-interface-settings [user]="user" [userInformationLoaded]="userInformationLoaded"></my-account-interface-settings> | |
58 | </div> | |
59 | </div> | |
7cd4d2ba | 60 | |
482fa503 RK |
61 | <div class="form-row mt-5"> <!-- password grid --> |
62 | <div class="form-group col-12 col-lg-4 col-xl-3"> | |
63 | <div i18n class="account-title">PASSWORD</div> | |
64 | </div> | |
65 | ||
66 | <div class="form-group form-group-right col-12 col-lg-8 col-xl-9"> | |
67 | <my-account-change-password></my-account-change-password> | |
68 | </div> | |
69 | </div> | |
70 | ||
71 | <div class="form-row mt-5"> <!-- email grid --> | |
72 | <div class="form-group col-12 col-lg-4 col-xl-3"> | |
73 | <div i18n class="account-title">EMAIL</div> | |
74 | </div> | |
c30745f3 | 75 | |
482fa503 RK |
76 | <div class="form-group form-group-right col-12 col-lg-8 col-xl-9"> |
77 | <my-account-change-email></my-account-change-email> | |
78 | </div> | |
79 | </div> | |
80 | ||
81 | <div class="form-row mt-5"> <!-- danger zone grid --> | |
82 | <div class="form-group col-12 col-lg-4 col-xl-3"> | |
83 | <div i18n class="account-title">DANGER ZONE</div> | |
84 | </div> | |
0ba5f5ba | 85 | |
482fa503 RK |
86 | <div class="form-group form-group-right col-12 col-lg-8 col-xl-9"> |
87 | <my-account-danger-zone [user]="user"></my-account-danger-zone> | |
88 | </div> | |
89 | </div> |