Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(230)

Side by Side Diff: gm/rebaseline_server/static/live-view.html

Issue 474813002: rebaseline_server: include setA/setB descriptions in output JSON (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: use posixpath.join() Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 2
3 <html ng-app="Loader" ng-controller="Loader.Controller"> 3 <html ng-app="Loader" ng-controller="Loader.Controller">
4 4
5 <head> 5 <head>
6 <title ng-bind="windowTitle"></title> 6 <title ng-bind="windowTitle"></title>
7 <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></scr ipt> 7 <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></scr ipt>
8 <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.20/angular.js "></script> 8 <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.20/angular.js "></script>
9 <script src="constants.js"></script> 9 <script src="constants.js"></script>
10 <script src="live-loader.js"></script> 10 <script src="live-loader.js"></script>
(...skipping 30 matching lines...) Expand all
41 which records are displayed. 41 which records are displayed.
42 </div> 42 </div>
43 43
44 <div class="warning-div" 44 <div class="warning-div"
45 ng-show="header[constants.KEY__HEADER__IS_EDITABLE] && header[constants .KEY__HEADER__IS_EXPORTED]"> 45 ng-show="header[constants.KEY__HEADER__IS_EDITABLE] && header[constants .KEY__HEADER__IS_EXPORTED]">
46 WARNING! These results are editable and exported, so any user 46 WARNING! These results are editable and exported, so any user
47 who can connect to this server over the network can modify them. 47 who can connect to this server over the network can modify them.
48 </div> 48 </div>
49 49
50 <div ng-show="header[constants.KEY__HEADER__TIME_UPDATED]"> 50 <div ng-show="header[constants.KEY__HEADER__TIME_UPDATED]">
51 setA: "{{setASection}}" within {{setADir}}<br> 51 setA: "{{header[constants.KEY__HEADER__SET_A_DESCRIPTIONS][constants.KEY__ SET_DESCRIPTIONS__SECTION]}}"
52 setB: "{{setBSection}}" within {{setBDir}}<br> 52 within {{header[constants.KEY__HEADER__SET_A_DESCRIPTIONS][constants.KEY__ SET_DESCRIPTIONS__DIR]}}
53 <span ng-show="header[constants.KEY__HEADER__SET_A_DESCRIPTIONS][constants .KEY__SET_DESCRIPTIONS__REPO_REVISION]">at <a href="https://skia.googlesource.co m/skia/+/{{header[constants.KEY__HEADER__SET_A_DESCRIPTIONS][constants.KEY__SET_ DESCRIPTIONS__REPO_REVISION]}}">rev {{header[constants.KEY__HEADER__SET_A_DESCRI PTIONS][constants.KEY__SET_DESCRIPTIONS__REPO_REVISION]}}</a></span>
54 <br>
55 setB: "{{header[constants.KEY__HEADER__SET_B_DESCRIPTIONS][constants.KEY__ SET_DESCRIPTIONS__SECTION]}}"
56 within {{header[constants.KEY__HEADER__SET_B_DESCRIPTIONS][constants.KEY__ SET_DESCRIPTIONS__DIR]}}
57 <span ng-show="header[constants.KEY__HEADER__SET_B_DESCRIPTIONS][constants .KEY__SET_DESCRIPTIONS__REPO_REVISION]">at <a href="https://skia.googlesource.co m/skia/+/{{header[constants.KEY__HEADER__SET_B_DESCRIPTIONS][constants.KEY__SET_ DESCRIPTIONS__REPO_REVISION]}}">rev {{header[constants.KEY__HEADER__SET_B_DESCRI PTIONS][constants.KEY__SET_DESCRIPTIONS__REPO_REVISION]}}</a></span>
58 <br>
53 <a href="{{liveQueryUrl}}">latest raw JSON diffs between these two sets</a ><br> 59 <a href="{{liveQueryUrl}}">latest raw JSON diffs between these two sets</a ><br>
54 These results current as of 60 These results current as of
55 {{localTimeString(header[constants.KEY__HEADER__TIME_UPDATED])}} 61 {{localTimeString(header[constants.KEY__HEADER__TIME_UPDATED])}}
56 </div> 62 </div>
57 63
58 <div class="tab-wrapper"><!-- tabs --> 64 <div class="tab-wrapper"><!-- tabs -->
59 <div class="tab-spacer" ng-repeat="tab in tabs"> 65 <div class="tab-spacer" ng-repeat="tab in tabs">
60 <div class="tab tab-{{tab == viewingTab}}" 66 <div class="tab tab-{{tab == viewingTab}}"
61 ng-click="setViewingTab(tab)"> 67 ng-click="setViewingTab(tab)">
62 &nbsp;{{tab}} ({{numResultsPerTab[tab]}})&nbsp; 68 &nbsp;{{tab}} ({{numResultsPerTab[tab]}})&nbsp;
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 ng-click="sortResultsBy(constants.KEY__IMAGEPAIRS__EXPECTATIONS, constants.KEY__EXPECTATIONS__BUGS)" 266 ng-click="sortResultsBy(constants.KEY__IMAGEPAIRS__EXPECTATIONS, constants.KEY__EXPECTATIONS__BUGS)"
261 href="" 267 href=""
262 class="sortable-header"> 268 class="sortable-header">
263 bugs 269 bugs
264 </a> 270 </a>
265 </th> 271 </th>
266 <th width="{{imageSize}}"> 272 <th width="{{imageSize}}">
267 <a ng-class="'sort-' + sortedByColumnsCls(constants.KEY__IMAGEPAIRS_ _IMAGE_A_URL)" 273 <a ng-class="'sort-' + sortedByColumnsCls(constants.KEY__IMAGEPAIRS_ _IMAGE_A_URL)"
268 ng-click="sortResultsBy('none', constants.KEY__IMAGEPAIRS__IMAGE_ A_URL)" 274 ng-click="sortResultsBy('none', constants.KEY__IMAGEPAIRS__IMAGE_ A_URL)"
269 href="" 275 href=""
270 title="setA: '{{setASection}}' within {{setADir}}" 276 title="setA: '{{header[constants.KEY__HEADER__SET_A_DESCRIPTIONS] [constants.KEY__SET_DESCRIPTIONS__SECTION]}}' within {{header[constants.KEY__HEA DER__SET_A_DESCRIPTIONS][constants.KEY__SET_DESCRIPTIONS__DIR]}}"
271 class="sortable-header"> 277 class="sortable-header">
272 {{imageSets[constants.KEY__IMAGESETS__SET__IMAGE_A][constants .KEY__IMAGESETS__FIELD__DESCRIPTION]}} 278 {{imageSets[constants.KEY__IMAGESETS__SET__IMAGE_A][constants .KEY__IMAGESETS__FIELD__DESCRIPTION]}}
273 </a> 279 </a>
274 </th> 280 </th>
275 <th width="{{imageSize}}"> 281 <th width="{{imageSize}}">
276 <a ng-class="'sort-' + sortedByColumnsCls(constants.KEY__IMAGEPAIRS_ _IMAGE_B_URL)" 282 <a ng-class="'sort-' + sortedByColumnsCls(constants.KEY__IMAGEPAIRS_ _IMAGE_B_URL)"
277 ng-click="sortResultsBy('none', constants.KEY__IMAGEPAIRS__IMAGE_ B_URL)" 283 ng-click="sortResultsBy('none', constants.KEY__IMAGEPAIRS__IMAGE_ B_URL)"
278 href="" 284 href=""
279 title="setB: '{{setBSection}}' within {{setBDir}}" 285 title="setB: '{{header[constants.KEY__HEADER__SET_B_DESCRIPTIONS] [constants.KEY__SET_DESCRIPTIONS__SECTION]}}' within {{header[constants.KEY__HEA DER__SET_B_DESCRIPTIONS][constants.KEY__SET_DESCRIPTIONS__DIR]}}"
280 class="sortable-header"> 286 class="sortable-header">
281 {{imageSets[constants.KEY__IMAGESETS__SET__IMAGE_B][constants. KEY__IMAGESETS__FIELD__DESCRIPTION]}} 287 {{imageSets[constants.KEY__IMAGESETS__SET__IMAGE_B][constants. KEY__IMAGESETS__FIELD__DESCRIPTION]}}
282 </a> 288 </a>
283 </th> 289 </th>
284 <th width="{{imageSize}}"> 290 <th width="{{imageSize}}">
285 <a ng-class="'sort-' + sortedByColumnsCls(constants.KEY__DIFFERENCES __PERCENT_DIFF_PIXELS)" 291 <a ng-class="'sort-' + sortedByColumnsCls(constants.KEY__DIFFERENCES __PERCENT_DIFF_PIXELS)"
286 ng-click="sortResultsBy(constants.KEY__IMAGEPAIRS__DIFFERENCES, c onstants.KEY__DIFFERENCES__PERCENT_DIFF_PIXELS)" 292 ng-click="sortResultsBy(constants.KEY__IMAGEPAIRS__DIFFERENCES, c onstants.KEY__DIFFERENCES__PERCENT_DIFF_PIXELS)"
287 href="" 293 href=""
288 class="sortable-header"> 294 class="sortable-header">
289 differing pixels in white 295 differing pixels in white
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 ng-click="toggleSomeImagePairs($index, imagePair[constants.KE Y__IMAGEPAIRS__ROWSPAN])"> 423 ng-click="toggleSomeImagePairs($index, imagePair[constants.KE Y__IMAGEPAIRS__ROWSPAN])">
418 </tr> 424 </tr>
419 </table> <!-- imagePairs --> 425 </table> <!-- imagePairs -->
420 </td></tr></table> <!-- table holding results header + imagePairs table --> 426 </td></tr></table> <!-- table holding results header + imagePairs table -->
421 427
422 </div><!-- main display area of selected tab --> 428 </div><!-- main display area of selected tab -->
423 </div><!-- everything: hide until readyToDisplay --> 429 </div><!-- everything: hide until readyToDisplay -->
424 430
425 </body> 431 </body>
426 </html> 432 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698