aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/account/account-settings/account-settings.component.html
blob: 0d1637c4088509ed09862026d7b3d41f0fca6258 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<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="account-title">Account settings</div>
<my-account-change-password></my-account-change-password>

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