diff options
Diffstat (limited to 'client/src/app/+my-account/my-account-settings/my-account-settings.component.html')
-rw-r--r-- | client/src/app/+my-account/my-account-settings/my-account-settings.component.html | 32 |
1 files changed, 32 insertions, 0 deletions
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 new file mode 100644 index 000000000..0fcc7782e --- /dev/null +++ b/client/src/app/+my-account/my-account-settings/my-account-settings.component.html | |||
@@ -0,0 +1,32 @@ | |||
1 | <div class="user"> | ||
2 | <img [src]="user.accountAvatarUrl" alt="Avatar" /> | ||
3 | |||
4 | <div class="user-info"> | ||
5 | <div class="user-info-names"> | ||
6 | <div class="user-info-display-name">{{ user.account.displayName }}</div> | ||
7 | <div class="user-info-username">{{ user.username }}</div> | ||
8 | </div> | ||
9 | <div class="user-info-followers">{{ user.account?.followersCount }} subscribers</div> | ||
10 | </div> | ||
11 | </div> | ||
12 | |||
13 | <div class="button-file"> | ||
14 | <span>Change your avatar</span> | ||
15 | <input #avatarfileInput type="file" name="avatarfile" id="avatarfile" [accept]="avatarExtensions" (change)="changeAvatar()" /> | ||
16 | </div> | ||
17 | <div class="file-max-size">(extensions: {{ avatarExtensions }}, max size: {{ maxAvatarSize | bytes }})</div> | ||
18 | |||
19 | <div class="user-quota"> | ||
20 | <span class="user-quota-label">Video quota:</span> {{ userVideoQuotaUsed | bytes: 0 }} / {{ userVideoQuota }} | ||
21 | </div> | ||
22 | |||
23 | <ng-template [ngIf]="user && user.account"> | ||
24 | <div class="account-title">Profile</div> | ||
25 | <my-account-profile [user]="user"></my-account-profile> | ||
26 | </ng-template> | ||
27 | |||
28 | <div class="account-title">Password</div> | ||
29 | <my-account-change-password></my-account-change-password> | ||
30 | |||
31 | <div class="account-title">Video settings</div> | ||
32 | <my-account-video-settings [user]="user"></my-account-video-settings> | ||