diff options
author | Chocobozzz <me@florianbigard.com> | 2022-06-10 14:06:52 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-06-10 14:06:52 +0200 |
commit | 1fef6bccd939842408fdd666cc72fed9f2ef6456 (patch) | |
tree | 00eba1190687a3beafc3c8592af31d6f8cab982b /client/src/app/+admin/overview/users | |
parent | 60d360137158e8be28eb34524122b01dd7da4369 (diff) | |
download | PeerTube-1fef6bccd939842408fdd666cc72fed9f2ef6456.tar.gz PeerTube-1fef6bccd939842408fdd666cc72fed9f2ef6456.tar.zst PeerTube-1fef6bccd939842408fdd666cc72fed9f2ef6456.zip |
Remove secondary color theme
Diffstat (limited to 'client/src/app/+admin/overview/users')
-rw-r--r-- | client/src/app/+admin/overview/users/user-list/user-list.component.html | 2 | ||||
-rw-r--r-- | client/src/app/+admin/overview/users/user-list/user-list.component.ts | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/+admin/overview/users/user-list/user-list.component.html b/client/src/app/+admin/overview/users/user-list/user-list.component.html index f6915ae9a..4da46dc7b 100644 --- a/client/src/app/+admin/overview/users/user-list/user-list.component.html +++ b/client/src/app/+admin/overview/users/user-list/user-list.component.html | |||
@@ -139,7 +139,7 @@ | |||
139 | 139 | ||
140 | <td *ngIf="isSelected('quotaDaily')"> | 140 | <td *ngIf="isSelected('quotaDaily')"> |
141 | <div class="progress" i18n-title title="Total daily video quota"> | 141 | <div class="progress" i18n-title title="Total daily video quota"> |
142 | <div class="progress-bar secondary" role="progressbar" [style]="{ width: getUserVideoQuotaDailyPercentage(user) + '%' }" | 142 | <div class="progress-bar" role="progressbar" [style]="{ width: getUserVideoQuotaDailyPercentage(user) + '%' }" |
143 | [attr.aria-valuenow]="user.rawVideoQuotaUsedDaily" aria-valuemin="0" [attr.aria-valuemax]="user.rawVideoQuotaDaily"> | 143 | [attr.aria-valuenow]="user.rawVideoQuotaUsedDaily" aria-valuemin="0" [attr.aria-valuemax]="user.rawVideoQuotaDaily"> |
144 | </div> | 144 | </div> |
145 | <span>{{ user.videoQuotaUsedDaily }}</span> | 145 | <span>{{ user.videoQuotaUsedDaily }}</span> |
diff --git a/client/src/app/+admin/overview/users/user-list/user-list.component.ts b/client/src/app/+admin/overview/users/user-list/user-list.component.ts index f7dc22256..c3a7646cc 100644 --- a/client/src/app/+admin/overview/users/user-list/user-list.component.ts +++ b/client/src/app/+admin/overview/users/user-list/user-list.component.ts | |||
@@ -190,6 +190,7 @@ export class UserListComponent extends RestTable implements OnInit { | |||
190 | } | 190 | } |
191 | 191 | ||
192 | getUserVideoQuotaDailyPercentage (user: UserForList) { | 192 | getUserVideoQuotaDailyPercentage (user: UserForList) { |
193 | console.log(user.rawVideoQuotaUsedDaily * 100 / user.rawVideoQuotaDaily) | ||
193 | return user.rawVideoQuotaUsedDaily * 100 / user.rawVideoQuotaDaily | 194 | return user.rawVideoQuotaUsedDaily * 100 / user.rawVideoQuotaDaily |
194 | } | 195 | } |
195 | 196 | ||