OLD | NEW |
---|---|
(Empty) | |
1 <!doctype html> | |
2 <html> | |
3 <head> | |
4 <script type="text/javascript" | |
5 src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.m in.js"></script> | |
6 <script type="text/javascript" src="skpdiff_output.json"></script> | |
7 <script type="text/javascript" src="diff_viewer.js"></script> | |
8 <link rel="stylesheet" type="text/css" href="viewer_style.css"> | |
9 <title>SkPDiff</title> | |
10 </head> | |
11 <body> | |
12 <div ng-app ng-controller="DiffViewController"> | |
borenet
2013/07/08 20:44:38
Since I've never seen angular.js before (and I sus
| |
13 <div style="margin:8px"> | |
14 Show me the worst by metric: | |
15 <button ng-repeat="differ in differs" ng-click="setSortIndex($index)"> | |
16 <span class="result-{{ $index }}" style="padding-left:12px;"> </s pan> | |
17 {{ differ.title }} | |
18 </button> | |
19 </div> | |
20 <table> | |
21 <thead> | |
22 <tr> | |
23 <td>Baseline Image</td> | |
24 <td>Test Image</td> | |
borenet
2013/07/08 20:44:38
We typically use "actual" as the term to describe
Zach Reizner
2013/07/08 21:02:19
So the correct term is "Baseline Actual?"
borenet
2013/07/09 15:25:51
"Actual," as opposed to "Baseline." So your heade
| |
25 <td>Results</td> | |
26 </tr> | |
27 </thead> | |
28 <tbody> | |
29 <tr ng-repeat="record in records | orderBy:sortingDiffer | limitTo:500 "> | |
30 <td><img src="{{ record.baselinePath }}" class="gm-image baseline-im age" /></td> | |
31 <td><img src="{{ record.testPath }}" class="gm-image test-image" />< /td> | |
32 <td> | |
33 <div ng-repeat="diff in record.diffs" | |
34 ng-mouseover="highlight(diff.differName)" | |
35 class="result result-{{$index}}"> | |
36 <span class="result-button">{{ diff.result }}</span> | |
37 </div> | |
38 </td> | |
39 </tr> | |
40 </tbody> | |
41 </table> | |
42 </div> | |
43 </body> | |
44 </html> | |
OLD | NEW |