|
@@ -248,7 +248,7 @@
|
|
<div ng-if="policyName === 'totalWeight'">
|
|
<div ng-if="policyName === 'totalWeight'">
|
|
<h3>Weight by MIME type</h3>
|
|
<h3>Weight by MIME type</h3>
|
|
<div class="totalWeightPie">
|
|
<div class="totalWeightPie">
|
|
- <canvas class="chart chart-doughnut" data="weightData" labels="weightLabels" options="weightOptions" colours="weightColours" legend="true"></canvas>
|
|
|
|
|
|
+ <canvas class="chart chart-doughnut" chart-data="weightData" chart-labels="weightLabels" chart-options="weightOptions" chart-colors="weightColours"></canvas>
|
|
</div>
|
|
</div>
|
|
<div ng-repeat="type in weightLabels">
|
|
<div ng-repeat="type in weightLabels">
|
|
<h3>{{rule.offendersObj.list.byType[type].totalWeight | bytes}} of {{type}}</h3>
|
|
<h3>{{rule.offendersObj.list.byType[type].totalWeight | bytes}} of {{type}}</h3>
|
|
@@ -395,7 +395,7 @@
|
|
<div ng-if="policyName === 'cssBreakpoints'">
|
|
<div ng-if="policyName === 'cssBreakpoints'">
|
|
<div ng-if="rule.value > 0" class="cssBreakpointsGraph">
|
|
<div ng-if="rule.value > 0" class="cssBreakpointsGraph">
|
|
<h3>Breakpoints distribution graph</h3>
|
|
<h3>Breakpoints distribution graph</h3>
|
|
- <canvas class="chart chart-line" chart-data="breakpointsData" chart-labels="breakpointsLabels" chart-options="breakpointsOptions" chart-legend="true" chart-colours="breakpointsColours" chart-series="breakpointsSeries" width="600" height="250"></canvas>
|
|
|
|
|
|
+ <canvas class="chart chart-line" chart-data="breakpointsData" chart-labels="breakpointsLabels" chart-options="breakpointsOptions" chart-colors="breakpointsColours" chart-series="breakpointsSeries" width="600" height="250"></canvas>
|
|
<h3>Breakpoints list</h3>
|
|
<h3>Breakpoints list</h3>
|
|
<div class="offendersTable">
|
|
<div class="offendersTable">
|
|
<div ng-repeat="offender in rule.offendersObj | orderBy:'pixels'">
|
|
<div ng-repeat="offender in rule.offendersObj | orderBy:'pixels'">
|