aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/account/account-settings/account-settings.component.html
blob: 2f41b5ecf828c1673f10065b3278e12b9b532f99 (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 }} / {{ user.videoQuota | bytes: 0 }}
</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>