2017-12-04 04:34:40 -05:00
|
|
|
<div class="user">
|
2017-12-29 13:10:13 -05:00
|
|
|
<img [src]="getAvatarUrl()" alt="Avatar" />
|
2017-12-04 04:34:40 -05:00
|
|
|
|
|
|
|
<div class="user-info">
|
|
|
|
<div class="user-info-username">{{ user.username }}</div>
|
2017-12-04 04:40:02 -05:00
|
|
|
<div class="user-info-followers">{{ user.account?.followersCount }} subscribers</div>
|
2017-12-04 04:34:40 -05:00
|
|
|
</div>
|
2017-12-01 11:38:26 -05:00
|
|
|
</div>
|
|
|
|
|
2017-12-29 13:10:13 -05:00
|
|
|
<div class="button-file">
|
|
|
|
<span>Change your avatar</span>
|
2018-01-03 05:10:40 -05:00
|
|
|
<input #avatarfileInput type="file" name="avatarfile" id="avatarfile" [accept]="avatarExtensions" (change)="changeAvatar()" />
|
2017-12-29 13:10:13 -05:00
|
|
|
</div>
|
2018-01-03 05:10:40 -05:00
|
|
|
<div class="file-max-size">(extensions: {{ avatarExtensions }}, max size: {{ maxAvatarSize | bytes }})</div>
|
2017-12-04 04:34:40 -05:00
|
|
|
|
2018-01-08 06:53:09 -05:00
|
|
|
<div class="user-quota">
|
2018-01-09 10:30:39 -05:00
|
|
|
<span class="user-quota-label">Video quota:</span> {{ userVideoQuotaUsed | bytes: 0 }} / {{ userVideoQuota }}
|
2018-01-08 06:53:09 -05:00
|
|
|
</div>
|
|
|
|
|
2017-12-01 11:38:26 -05:00
|
|
|
<div class="account-title">Account settings</div>
|
|
|
|
<my-account-change-password></my-account-change-password>
|
|
|
|
|
2018-01-08 06:53:09 -05:00
|
|
|
<div class="account-title">Video settings</div>
|
2017-12-01 11:38:26 -05:00
|
|
|
<my-account-details [user]="user"></my-account-details>
|