Index: gm/rebaseline_server/static/view.html |
diff --git a/gm/rebaseline_server/static/view.html b/gm/rebaseline_server/static/view.html |
index e55544d86cc9a57d3568ff879cba41c10bab2c9e..61abcf01275bf9af0586d4f688b9d87c8f70381d 100644 |
--- a/gm/rebaseline_server/static/view.html |
+++ b/gm/rebaseline_server/static/view.html |
@@ -6,7 +6,6 @@ |
<title ng-bind="windowTitle"></title> |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.1.5/angular.js"></script> |
<script src="constants.js"></script> |
- <script src="diff_viewer.js"></script> |
<script src="loader.js"></script> |
<link rel="stylesheet" href="view.css"> |
</head> |
@@ -275,7 +274,7 @@ |
</th> |
</tr> |
- <tr ng-repeat="imagePair in limitedImagePairs" ng-controller="ImageController" results-updated-callback-directive> |
+ <tr ng-repeat="imagePair in limitedImagePairs" results-updated-callback-directive> |
<td> |
{{imagePair[constants.KEY__EXTRA_COLUMN_VALUES][constants.KEY__EXTRACOLUMN__RESULT_TYPE]}} |
<br> |
@@ -343,9 +342,9 @@ |
<td valign="bottom" width="{{imageSize}}"> |
<div ng-if="imagePair[constants.KEY__IMAGE_A_URL] != null"> |
<a href="{{imageSets[0][constants.KEY__IMAGESETS__BASE_URL]}}/{{imagePair[constants.KEY__IMAGE_A_URL]}}" target="_blank">View Image</a><br/> |
- <img-compare ng-if="showThumbnails" |
- type="baseline" width="{{imageSize}}" |
- src="{{imageSets[0][constants.KEY__IMAGESETS__BASE_URL]}}/{{imagePair[constants.KEY__IMAGE_A_URL]}}" /> |
+ <img ng-if="showThumbnails" |
+ width="{{imageSize}}" |
+ src="{{imageSets[0][constants.KEY__IMAGESETS__BASE_URL]}}/{{imagePair[constants.KEY__IMAGE_A_URL]}}" /> |
</div> |
<div ng-show="imagePair[constants.KEY__IMAGE_A_URL] == null" |
style="text-align:center"> |
@@ -357,9 +356,9 @@ |
<td valign="bottom" width="{{imageSize}}"> |
<div ng-if="imagePair[constants.KEY__IMAGE_B_URL] != null"> |
<a href="{{imageSets[1][constants.KEY__IMAGESETS__BASE_URL]}}/{{imagePair[constants.KEY__IMAGE_B_URL]}}" target="_blank">View Image</a><br/> |
- <img-compare ng-if="showThumbnails" |
- type="test" width="{{imageSize}}" |
- src="{{imageSets[1][constants.KEY__IMAGESETS__BASE_URL]}}/{{imagePair[constants.KEY__IMAGE_B_URL]}}" /> |
+ <img ng-if="showThumbnails" |
+ width="{{imageSize}}" |
+ src="{{imageSets[1][constants.KEY__IMAGESETS__BASE_URL]}}/{{imagePair[constants.KEY__IMAGE_B_URL]}}" /> |
</div> |
<div ng-show="imagePair[constants.KEY__IMAGE_B_URL] == null" |
style="text-align:center"> |
@@ -376,9 +375,9 @@ |
({{imagePair[constants.KEY__DIFFERENCE_DATA][constants.KEY__DIFFERENCE_DATA__NUM_DIFF_PIXELS]}}) |
<br/> |
<a href="/static/generated-images/whitediffs/{{getImageDiffRelativeUrl(imagePair)}}" target="_blank">View Image</a><br/> |
- <img-compare ng-if="showThumbnails" |
- type="differingPixelsInWhite" width="{{imageSize}}" |
- src="/static/generated-images/whitediffs/{{getImageDiffRelativeUrl(imagePair)}}" /> |
+ <img ng-if="showThumbnails" |
+ width="{{imageSize}}" |
+ src="/static/generated-images/whitediffs/{{getImageDiffRelativeUrl(imagePair)}}" /> |
</div> |
<div ng-show="!imagePair[constants.KEY__IS_DIFFERENT]" |
style="text-align:center"> |
@@ -395,14 +394,10 @@ |
{{imagePair[constants.KEY__DIFFERENCE_DATA][constants.KEY__DIFFERENCE_DATA__MAX_DIFF_PER_CHANNEL]}} |
<br/> |
<a href="/static/generated-images/diffs/{{getImageDiffRelativeUrl(imagePair)}}" target="_blank">View Image</a><br/> |
- <img-compare ng-if="showThumbnails" |
- ng-style="{backgroundColor: pixelDiffBgColor}" |
- type="differencePerPixel" width="{{imageSize}}" |
- src="/static/generated-images/diffs/{{getImageDiffRelativeUrl(imagePair)}}" |
- ng-mousedown="MagnifyDraw($event, true)" |
- ng-mousemove="MagnifyDraw($event, false)" |
- ng-mouseup="MagnifyEnd($event)" |
- ng-mouseleave="MagnifyEnd($event)" /> |
+ <img ng-if="showThumbnails" |
+ ng-style="{backgroundColor: pixelDiffBgColor}" |
+ width="{{imageSize}}" |
+ src="/static/generated-images/diffs/{{getImageDiffRelativeUrl(imagePair)}}"/> |
</div> |
<div ng-show="!imagePair[constants.KEY__IS_DIFFERENT]" |
style="text-align:center"> |