aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/my-account/my-account-settings/my-account-settings.component.html
blob: 7ae27dc7510e52015430d1b37f9c6d18d0bf598a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<div class="user">
  <img [src]="getAvatarUrl()" alt="Avatar" />

  <div class="user-info">
    <div class="user-info-username">{{ user.username }}</div>
    <div class="user-info-followers">{{ user.account?.followersCount }} subscribers</div>
  </div>
</div>

<div class="button-file">
  <span>Change your avatar</span>
  <input #avatarfileInput type="file" name="avatarfile" id="avatarfile" [accept]="avatarExtensions" (change)="changeAvatar()" />
</div>
<div class="file-max-size">(extensions: {{ avatarExtensions }}, max size: {{ maxAvatarSize | bytes }})</div>

<div class="user-quota">
  <span class="user-quota-label">Video quota:</span> {{ userVideoQuotaUsed | bytes: 0 }} / {{ userVideoQuota }}
</div>

<div class="account-title">Account settings</div>
<my-account-change-password></my-account-change-password>

<div class="account-title">Video settings</div>
<my-account-details [user]="user"></my-account-details>