]>
Commit | Line | Data |
---|---|---|
1 | <div class="user-quota mb-3"> | |
2 | <div> | |
3 | <div class="mb-2 fw-bold" i18n>Total video quota</div> | |
4 | ||
5 | <div class="progress" tabindex="0" [ngbTooltip]="titleVideoQuota()"> | |
6 | <div class="progress-bar" tabindex="0" role="progressbar" [style]="{ width: userVideoQuotaPercentage + '%' }" | |
7 | [attr.aria-valuenow]="userVideoQuotaUsed" aria-valuemin="0" [attr.aria-valuemax]="user.videoQuota"></div> | |
8 | <span>{{ userVideoQuotaUsed | bytes: 1 }}</span> | |
9 | <span>{{ userVideoQuota }}</span> | |
10 | </div> | |
11 | </div> | |
12 | ||
13 | <div *ngIf="hasDailyQuota()" class="mt-3"> | |
14 | <div class="mb-2 fw-bold" i18n>Daily video quota</div> | |
15 | ||
16 | <div class="progress" tabindex="0" [ngbTooltip]="titleVideoQuotaDaily()"> | |
17 | <div class="progress-bar" role="progressbar" [style]="{ width: userVideoQuotaDailyPercentage + '%' }" | |
18 | [attr.aria-valuenow]="userVideoQuotaUsedDaily" aria-valuemin="0" [attr.aria-valuemax]="user.videoQuotaDaily"></div> | |
19 | <span>{{ userVideoQuotaUsedDaily | bytes: 1 }}</span> | |
20 | <span>{{ userVideoQuotaDaily }}</span> | |
21 | </div> | |
22 | </div> | |
23 | </div> |