2020-06-12 22:53:56 +00:00
|
|
|
<h1 class="sr-only" i18n>Settings</h1>
|
2020-06-28 14:38:51 +00:00
|
|
|
<div class="form-row"> <!-- preview -->
|
|
|
|
<div class="form-group col-12 col-lg-4 col-xl-3"></div>
|
|
|
|
|
|
|
|
<div class="form-group form-group-right col-12 col-lg-8 col-xl-9">
|
|
|
|
<my-actor-avatar-info [actor]="user.account" (avatarChange)="onAvatarChange($event)"></my-actor-avatar-info>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-row"> <!-- profile settings grid -->
|
2020-03-08 16:33:40 +00:00
|
|
|
<div class="form-group col-12 col-lg-4 col-xl-3">
|
2020-06-28 14:38:51 +00:00
|
|
|
<h2 i18n class="account-title">PROFILE SETTINGS</h2>
|
2020-03-08 16:33:40 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group form-group-right col-12 col-lg-8 col-xl-9">
|
|
|
|
|
|
|
|
<div class="user-quota mb-3">
|
|
|
|
<div>
|
2020-03-13 00:29:11 +00:00
|
|
|
<div class="progress" i18n-title title="Total video quota">
|
2020-06-27 23:17:48 +00:00
|
|
|
<div class="progress-bar" role="progressbar" [style]="{ width: userVideoQuotaPercentage + '%' }" [attr.aria-valuenow]="userVideoQuotaUsed" aria-valuemin="0" [attr.aria-valuemax]="user.videoQuota">{{ userVideoQuotaUsed | bytes: 0 }}</div>
|
2020-03-13 00:29:11 +00:00
|
|
|
<span class="ml-auto mr-2">{{ userVideoQuota }}</span>
|
|
|
|
</div>
|
2020-03-08 16:33:40 +00:00
|
|
|
</div>
|
|
|
|
|
2020-03-13 00:29:11 +00:00
|
|
|
<div *ngIf="hasDailyQuota()" class="mt-3">
|
|
|
|
<div class="progress" i18n-title title="Daily video quota">
|
2020-06-27 23:17:48 +00:00
|
|
|
<div class="progress-bar secondary" role="progressbar" [style]="{ width: userVideoQuotaDailyPercentage + '%' }" [attr.aria-valuenow]="userVideoQuotaUsedDaily" aria-valuemin="0" [attr.aria-valuemax]="user.videoQuotaDaily">{{ userVideoQuotaUsedDaily | bytes: 0 }}</div>
|
2020-03-13 00:29:11 +00:00
|
|
|
<span class="ml-auto mr-2">{{ userVideoQuotaDaily }}</span>
|
|
|
|
</div>
|
2020-03-08 16:33:40 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<my-account-profile [user]="user" [userInformationLoaded]="userInformationLoaded"></my-account-profile>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-12-04 09:34:40 +00:00
|
|
|
|
2020-03-08 16:33:40 +00:00
|
|
|
<div class="form-row mt-5"> <!-- video settings grid -->
|
|
|
|
<div class="form-group col-12 col-lg-4 col-xl-3">
|
2020-03-11 23:45:45 +00:00
|
|
|
<div class="anchor" id="video-settings"></div> <!-- video settings anchor -->
|
2020-06-12 22:53:56 +00:00
|
|
|
<h2 i18n class="account-title">VIDEO SETTINGS</h2>
|
2019-12-04 12:19:55 +00:00
|
|
|
</div>
|
|
|
|
|
2020-03-08 16:33:40 +00:00
|
|
|
<div class="form-group form-group-right col-12 col-lg-8 col-xl-9">
|
2020-06-23 12:10:17 +00:00
|
|
|
<my-user-video-settings [user]="user" [userInformationLoaded]="userInformationLoaded"></my-user-video-settings>
|
2019-12-04 12:19:55 +00:00
|
|
|
</div>
|
2018-01-08 11:53:09 +00:00
|
|
|
</div>
|
|
|
|
|
2020-03-08 16:33:40 +00:00
|
|
|
<div class="form-row mt-5"> <!-- notifications grid -->
|
|
|
|
<div class="form-group col-12 col-lg-4 col-xl-3">
|
2020-03-11 18:38:17 +00:00
|
|
|
<div class="anchor" id="notifications"></div> <!-- notifications anchor -->
|
2020-06-12 22:53:56 +00:00
|
|
|
<h2 i18n class="account-title">NOTIFICATIONS</h2>
|
2020-03-08 16:33:40 +00:00
|
|
|
</div>
|
2018-04-26 08:03:40 +00:00
|
|
|
|
2020-03-08 16:33:40 +00:00
|
|
|
<div class="form-group form-group-right col-12 col-lg-8 col-xl-9">
|
|
|
|
<my-account-notification-preferences [user]="user" [userInformationLoaded]="userInformationLoaded"></my-account-notification-preferences>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-06-19 12:55:58 +00:00
|
|
|
|
2020-03-08 16:33:40 +00:00
|
|
|
<div class="form-row mt-5"> <!-- interface grid -->
|
|
|
|
<div class="form-group col-12 col-lg-4 col-xl-3">
|
2020-06-12 22:53:56 +00:00
|
|
|
<h2 i18n class="account-title">INTERFACE</h2>
|
2020-03-08 16:33:40 +00:00
|
|
|
</div>
|
2019-01-08 10:26:41 +00:00
|
|
|
|
2020-03-08 16:33:40 +00:00
|
|
|
<div class="form-group form-group-right col-12 col-lg-8 col-xl-9">
|
2020-06-23 12:10:17 +00:00
|
|
|
<my-user-interface-settings [user]="user" [userInformationLoaded]="userInformationLoaded"></my-user-interface-settings>
|
2020-03-08 16:33:40 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-07-09 09:45:19 +00:00
|
|
|
|
2020-05-20 08:04:44 +00:00
|
|
|
<div class="form-row mt-5" *ngIf="user.pluginAuth === null"> <!-- password grid -->
|
2020-03-08 16:33:40 +00:00
|
|
|
<div class="form-group col-12 col-lg-4 col-xl-3">
|
2020-06-12 22:53:56 +00:00
|
|
|
<h2 i18n class="account-title">PASSWORD</h2>
|
2020-03-08 16:33:40 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group form-group-right col-12 col-lg-8 col-xl-9">
|
|
|
|
<my-account-change-password></my-account-change-password>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-row mt-5"> <!-- email grid -->
|
|
|
|
<div class="form-group col-12 col-lg-4 col-xl-3">
|
2020-06-12 22:53:56 +00:00
|
|
|
<h2 i18n class="account-title">EMAIL</h2>
|
2020-03-08 16:33:40 +00:00
|
|
|
</div>
|
2017-12-01 16:38:26 +00:00
|
|
|
|
2020-03-08 16:33:40 +00:00
|
|
|
<div class="form-group form-group-right col-12 col-lg-8 col-xl-9">
|
|
|
|
<my-account-change-email></my-account-change-email>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-row mt-5"> <!-- danger zone grid -->
|
|
|
|
<div class="form-group col-12 col-lg-4 col-xl-3">
|
2020-06-12 22:53:56 +00:00
|
|
|
<h2 i18n class="account-title">DANGER ZONE</h2>
|
2020-03-08 16:33:40 +00:00
|
|
|
</div>
|
2019-06-11 12:30:49 +00:00
|
|
|
|
2020-03-08 16:33:40 +00:00
|
|
|
<div class="form-group form-group-right col-12 col-lg-8 col-xl-9">
|
|
|
|
<my-account-danger-zone [user]="user"></my-account-danger-zone>
|
|
|
|
</div>
|
|
|
|
</div>
|