1 <ng-template #usageTooltipTpl
>
4 <td class=
"text-left">Used:
</td>
5 <td class=
"text-right"><strong> {{ isBinary ? (used | dimlessBinary) : (used | dimless) }}
</strong></td>
7 <tr *
ngIf=
"calculatePerc">
8 <td class=
"text-left">Free:
</td>
9 <td class=
"'text-right"><strong>{{ isBinary ? (total - used | dimlessBinary) : (total - used | dimless) }}
</strong></td>
16 [ngbTooltip]=
"usageTooltipTpl">
17 <div class=
"progress-bar bg-info"
18 [ngClass]=
"{'bg-warning': usedPercentage/100 >= warningThreshold, 'bg-danger': usedPercentage/100 >= errorThreshold}"
20 [style.width]=
"usedPercentage + '%'">
21 <span>{{ usedPercentage | number: '
1.0-' + decimals }}%
</span>
23 <div class=
"progress-bar bg-freespace"
25 [style.width]=
"freePercentage + '%'">