OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 | |
3 <html ng-app="Loader"> | |
4 | |
5 <head> | |
6 <title>Current GM Failures</title> | |
7 <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.1.5/angular.js" ></script> | |
8 <script src="loader.js"></script> | |
9 </head> | |
10 | |
11 <body> | |
borenet
2013/09/25 15:09:51
For some reason, I'm really thrown off by this web
epoger
2013/09/25 16:21:18
I tried to make some adjustments, but my CSS-fu is
borenet
2013/09/25 19:28:17
SGTM
| |
12 <div ng-controller="Loader.Controller" > | |
13 | |
14 Settings: | |
15 <ul> | |
16 <li>show results of type | |
17 <select ng-model="resultType" | |
18 ng-init="resultType='failed';changeResultType()" | |
19 ng-change="changeResultType()"> | |
20 <option>failed</option> | |
21 <option>failure-ignored</option> | |
22 <option>no-comparison</option> | |
23 </select> | |
24 </li> | |
25 <li>image size | |
26 <input type="text" ng-model="imageSize" ng-init="imageSize=100" | |
27 maxlength="4"/> | |
28 </li> | |
29 </ul> | |
30 | |
31 <p> | |
32 <table border="1"> | |
33 <tr> | |
34 <th ng:click="sortColumn='builder'">Builder</th> | |
35 <th ng:click="sortColumn='test'">Test</th> | |
36 <th ng:click="sortColumn='config'">Config</th> | |
37 <th ng:click="sortColumn='expectedHashDigest'">Expected Image</th> | |
38 <th ng:click="sortColumn='actualHashDigest'">Actual Image</th> | |
borenet
2013/09/25 15:09:51
I don't know how useful they were to other devs, b
epoger
2013/09/25 16:21:18
Oh, absolutely. I added a TODO in lamenting this
epoger
2013/09/25 18:26:33
Brian has changed my mind about this. I now think
borenet
2013/09/25 19:28:17
Yeah, #2 sounds awesome, particularly if you can d
| |
39 </tr> | |
40 <!-- TODO(epoger): improve the column sorting, as per | |
41 http://jsfiddle.net/vojtajina/js64b/14/ --> | |
42 <tr ng-repeat="result in results | orderBy: sortColumn"> | |
43 <td>{{result.builder}}</td> | |
44 <td>{{result.test}}</td> | |
45 <td>{{result.config}}</td> | |
46 <td> | |
47 <a target="_blank" href="http://chromium-skia-gm.commondatastorage.g oogleapis.com/gm/{{result.expectedHashType}}/{{result.test}}/{{result.expectedHa shDigest}}.png"> | |
48 <img width="{{imageSize}}" src="http://chromium-skia-gm.commondata storage.googleapis.com/gm/{{result.expectedHashType}}/{{result.test}}/{{result.e xpectedHashDigest}}.png"/> | |
49 </a> | |
50 </td> | |
51 <td> | |
52 <a target="_blank" href="http://chromium-skia-gm.commondatastorage.g oogleapis.com/gm/{{result.actualHashType}}/{{result.test}}/{{result.actualHashDi gest}}.png"> | |
53 <img width="{{imageSize}}" src="http://chromium-skia-gm.commondata storage.googleapis.com/gm/{{result.actualHashType}}/{{result.test}}/{{result.act ualHashDigest}}.png"/> | |
54 </a> | |
55 </td> | |
56 </tr> | |
57 </table> | |
58 </div> | |
59 | |
60 <!-- TODO(epoger): Can we get the base URLs (commondatastorage and | |
61 issues list) from | |
62 http://skia.googlecode.com/svn/buildbot/site_config/global_variables.json | |
63 ? I tried importing the | |
64 http://skia.googlecode.com/svn/buildbot/skia_tools.js script and using | |
65 that to do so, but I got Access-Control-Allow-Origin errors. | |
66 --> | |
67 | |
68 </body> | |
69 </html> | |
OLD | NEW |