New metric: hiddenImages

This commit is contained in:
Gaël Métais
2015-09-18 18:51:41 +02:00
parent 46c2d8c49e
commit d32b9f78a4
6 changed files with 59 additions and 13 deletions
+4 -3
View File
@@ -244,8 +244,9 @@
margin-top: 0.5em;
}
.smallPreview {
max-height: 1.6em;
max-width: 4em;
display: block;
max-height: 4em;
max-width: 8em;
border: 1px solid #000;
margin-top: 0.2em;
margin: 1em auto 0.2em;
}
+4 -3
View File
@@ -271,8 +271,9 @@
}
.smallPreview {
max-height: 1.6em;
max-width: 4em;
display: block;
max-height: 4em;
max-width: 8em;
border: 1px solid #000;
margin-top: 0.2em;
margin: 1em auto 0.2em;
}
+2 -2
View File
@@ -145,9 +145,9 @@
<file-and-line-button file="offender.file" line="offender.line" column="offender.column"></file-and-line-button>
</div>
<div ng-if="policyName === 'lazyLoadableImagesBelowTheFold'">
<url-link url="offender" max-length="100"></url-link>
<div ng-if="policyName === 'lazyLoadableImagesBelowTheFold' || policyName === 'hiddenImages'">
<img ng-src="{{offender}}" class="smallPreview checker"></img>
<url-link url="offender" max-length="100"></url-link>
</div>
<div ng-if="policyName === 'notFound' || policyName === 'closedConnections' || policyName === 'multipleRequests' || policyName === 'cachingDisabled' || policyName === 'cachingNotSpecified'">