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

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

Issue 46063005: rebaseline_server: tiny fix to un-break UI when ng-repeate (key, value) has duplicate values (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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="https://ajax.googleapis.com/ajax/libs/angularjs/1.1.5/angular.js" ></script> 7 <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.1.5/angular.js" ></script>
8 <script src="loader.js"></script> 8 <script src="loader.js"></script>
9 <link rel="stylesheet" href="view.css"> 9 <link rel="stylesheet" href="view.css">
10 </head> 10 </head>
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 Filters 84 Filters
85 </th> 85 </th>
86 <th> 86 <th>
87 Settings 87 Settings
88 </th> 88 </th>
89 </tr> 89 </tr>
90 <tr valign="top"> 90 <tr valign="top">
91 <!-- TODO(epoger): make this an ng-repeat over resultType, config, etc? -- > 91 <!-- TODO(epoger): make this an ng-repeat over resultType, config, etc? -- >
92 <td> 92 <td>
93 resultType<br> 93 resultType<br>
94 <label ng-repeat="(resultType, count) in categories['resultType']"> 94 <label ng-repeat="(resultType, count) in categories['resultType'] track by $index">
95 <input type="checkbox" 95 <input type="checkbox"
96 name="resultTypes" 96 name="resultTypes"
97 value="{{resultType}}" 97 value="{{resultType}}"
98 ng-checked="!isValueInSet(resultType, hiddenResultTypes)" 98 ng-checked="!isValueInSet(resultType, hiddenResultTypes)"
99 ng-click="toggleValueInSet(resultType, hiddenResultTypes); setU pdatesPending(true)"> 99 ng-click="toggleValueInSet(resultType, hiddenResultTypes); setU pdatesPending(true)">
100 {{resultType}} ({{count}})<br> 100 {{resultType}} ({{count}})<br>
101 </label> 101 </label>
102 </td> 102 </td>
103 <td> 103 <td>
104 config<br> 104 config<br>
105 <label ng-repeat="(config, count) in categories['config']"> 105 <label ng-repeat="(config, count) in categories['config'] track by $inde x">
106 <input type="checkbox" 106 <input type="checkbox"
107 name="configs" 107 name="configs"
108 value="{{config}}" 108 value="{{config}}"
109 ng-checked="!isValueInSet(config, hiddenConfigs)" 109 ng-checked="!isValueInSet(config, hiddenConfigs)"
110 ng-click="toggleValueInSet(config, hiddenConfigs); setUpdatesPe nding(true)"> 110 ng-click="toggleValueInSet(config, hiddenConfigs); setUpdatesPe nding(true)">
111 {{config}} ({{count}})<br> 111 {{config}} ({{count}})<br>
112 </label> 112 </label>
113 </td> 113 </td>
114 <td><table> 114 <td><table>
115 <tr><td> 115 <tr><td>
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 <!-- TODO(epoger): Can we get the base URLs (commondatastorage and 286 <!-- TODO(epoger): Can we get the base URLs (commondatastorage and
287 issues list) from 287 issues list) from
288 http://skia.googlecode.com/svn/buildbot/site_config/global_variables.json 288 http://skia.googlecode.com/svn/buildbot/site_config/global_variables.json
289 ? I tried importing the 289 ? I tried importing the
290 http://skia.googlecode.com/svn/buildbot/skia_tools.js script and using 290 http://skia.googlecode.com/svn/buildbot/skia_tools.js script and using
291 that to do so, but I got Access-Control-Allow-Origin errors. 291 that to do so, but I got Access-Control-Allow-Origin errors.
292 --> 292 -->
293 293
294 </body> 294 </body>
295 </html> 295 </html>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698