1
0
Fork 0
peertube/client/src/app/account/account-settings/account-settings.component.html

25 lines
937 B
HTML
Raw Normal View History

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>
<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">
<span class="user-quota-label">Video quota:</span> {{ userVideoQuotaUsed | bytes: 0 }} / {{ user.videoQuota | bytes: 0 }}
</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>