aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/rebaseline_server/static/view.html
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-05-08 21:15:20 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-05-08 21:15:20 +0000
commit97f0b089da0d9c4fe8aa2532b5f61d2615f6bf65 (patch)
treec3de814058820576d1af42f000958599b6b5dcd6 /gm/rebaseline_server/static/view.html
parentdaeec365ffb755c955382a5ece4a1235b9958c35 (diff)
rebaseline_server JSON: pass category values as values, not keys
BUG=skia:1758 NOTRY=True R=borenet@google.com Author: epoger@google.com Review URL: https://codereview.chromium.org/270413002 git-svn-id: http://skia.googlecode.com/svn/trunk@14658 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm/rebaseline_server/static/view.html')
-rw-r--r--gm/rebaseline_server/static/view.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/gm/rebaseline_server/static/view.html b/gm/rebaseline_server/static/view.html
index bbe1f210f3..b2f3fba4f3 100644
--- a/gm/rebaseline_server/static/view.html
+++ b/gm/rebaseline_server/static/view.html
@@ -68,13 +68,13 @@
<tr valign="top">
<td>
resultType<br>
- <label ng-repeat="(resultType, count) in extraColumnHeaders[constants.KEY__EXTRACOLUMN__RESULT_TYPE][constants.KEY__VALUES_AND_COUNTS] track by $index">
+ <label ng-repeat="valueAndCount in extraColumnHeaders[constants.KEY__EXTRACOLUMN__RESULT_TYPE][constants.KEY__EXTRACOLUMNHEADERS__VALUES_AND_COUNTS]">
<input type="checkbox"
name="resultTypes"
- value="{{resultType}}"
- ng-checked="!isValueInSet(resultType, hiddenResultTypes)"
- ng-click="toggleValueInSet(resultType, hiddenResultTypes); setUpdatesPending(true)">
- {{resultType}} ({{count}})<br>
+ value="{{valueAndCount[0]}}"
+ ng-checked="!isValueInSet(valueAndCount[0], hiddenResultTypes)"
+ ng-click="toggleValueInSet(valueAndCount[0], hiddenResultTypes); setUpdatesPending(true)">
+ {{valueAndCount[0]}} ({{valueAndCount[1]}})<br>
</label>
<button ng-click="hiddenResultTypes = {}; updateResults()">
all
@@ -100,13 +100,13 @@
</td>
<td>
config<br>
- <label ng-repeat="(config, count) in extraColumnHeaders[constants.KEY__EXTRACOLUMN__CONFIG][constants.KEY__VALUES_AND_COUNTS] track by $index">
+ <label ng-repeat="valueAndCount in extraColumnHeaders[constants.KEY__EXTRACOLUMN__CONFIG][constants.KEY__EXTRACOLUMNHEADERS__VALUES_AND_COUNTS]">
<input type="checkbox"
name="configs"
- value="{{config}}"
- ng-checked="!isValueInSet(config, hiddenConfigs)"
- ng-click="toggleValueInSet(config, hiddenConfigs); setUpdatesPending(true)">
- {{config}} ({{count}})<br>
+ value="{{valueAndCount[0]}}"
+ ng-checked="!isValueInSet(valueAndCount[0], hiddenConfigs)"
+ ng-click="toggleValueInSet(valueAndCount[0], hiddenConfigs); setUpdatesPending(true)">
+ {{valueAndCount[0]}} ({{valueAndCount[1]}})<br>
</label>
<button ng-click="hiddenConfigs = {}; updateResults()">
all