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

Side by Side Diff: appengine/swarming/ui/res/imp/taskpage/task-page.html

Issue 2930813003: Changed the highlight color to be a less abrasive yellow as per (Closed)
Patch Set: re-vulcanize and re-upload Created 3 years, 6 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
« no previous file with comments | « appengine/swarming/ui/build/js/js.js ('k') | 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 <!-- 1 <!--
2 Copyright 2016 The LUCI Authors. All rights reserved. 2 Copyright 2016 The LUCI Authors. All rights reserved.
3 Use of this source code is governed under the Apache License, Version 2.0 3 Use of this source code is governed under the Apache License, Version 2.0
4 that can be found in the LICENSE file. 4 that can be found in the LICENSE file.
5 5
6 This in an HTML Import-able file that contains the definition 6 This in an HTML Import-able file that contains the definition
7 of the following elements: 7 of the following elements:
8 8
9 <task-page> 9 <task-page>
10 10
(...skipping 955 matching lines...) Expand 10 before | Expand all | Expand 10 after
966 return result && result.cipd_pins && result.cipd_pins.packages; 966 return result && result.cipd_pins && result.cipd_pins.packages;
967 }, 967 },
968 968
969 _highlight: function(request, key) { 969 _highlight: function(request, key) {
970 var highlight = false; 970 var highlight = false;
971 request.forEach(function (dim) { 971 request.forEach(function (dim) {
972 if (dim.key == key) { 972 if (dim.key == key) {
973 highlight = true; 973 highlight = true;
974 } 974 }
975 }); 975 });
976 return highlight ? "Yellow" : "White"; 976 return highlight ? "LightYellow" : "White";
977 }, 977 },
978 978
979 _internalClass: function(failure) { 979 _internalClass: function(failure) {
980 if (failure) { 980 if (failure) {
981 return "exception"; 981 return "exception";
982 } 982 }
983 return ""; 983 return "";
984 }, 984 },
985 985
986 _isolateLink: function(ref) { 986 _isolateLink: function(ref) {
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
1172 1172
1173 this._getJsonAsync("_other_running", "/api/swarming/v1/tasks/count", "_b usyRunningCount", this._auth_headers, taskCountParams); 1173 this._getJsonAsync("_other_running", "/api/swarming/v1/tasks/count", "_b usyRunningCount", this._auth_headers, taskCountParams);
1174 // change running to pending 1174 // change running to pending
1175 taskCountParams.state = ["PENDING"]; 1175 taskCountParams.state = ["PENDING"];
1176 this._getJsonAsync("_other_pending", "/api/swarming/v1/tasks/count", "_b usyPendingCount", this._auth_headers, taskCountParams); 1176 this._getJsonAsync("_other_pending", "/api/swarming/v1/tasks/count", "_b usyPendingCount", this._auth_headers, taskCountParams);
1177 } 1177 }
1178 }); 1178 });
1179 })(); 1179 })();
1180 </script> 1180 </script>
1181 </dom-module> 1181 </dom-module>
OLDNEW
« no previous file with comments | « appengine/swarming/ui/build/js/js.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698