| OLD | NEW |
| 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 <bot-list-data> | 9 <bot-list-data> |
| 10 | 10 |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 pMap["android_devices"] && pMap["android_devices"].push("0"); | 273 pMap["android_devices"] && pMap["android_devices"].push("0"); |
| 274 pMap["device_os"] && pMap["device_os"].push("none"); | 274 pMap["device_os"] && pMap["device_os"].push("none"); |
| 275 pMap["device_type"] && pMap["device_type"].push("none"); | 275 pMap["device_type"] && pMap["device_type"].push("none"); |
| 276 | 276 |
| 277 pMap["id"] = []; | 277 pMap["id"] = []; |
| 278 | 278 |
| 279 // Create custom filter options | 279 // Create custom filter options |
| 280 pMap["disk_space"] = []; | 280 pMap["disk_space"] = []; |
| 281 pMap["task"] = ["busy", "idle"]; | 281 pMap["task"] = ["busy", "idle"]; |
| 282 pMap["status"] = ["alive", "dead", "quarantined"]; | 282 pMap["status"] = ["alive", "dead", "quarantined"]; |
| 283 pMap["is_mp_bot"] = ["true", "false"]; |
| 283 | 284 |
| 284 // No need to sort any of this, bot-filters sorts secondary items | 285 // No need to sort any of this, bot-filters sorts secondary items |
| 285 // automatically, especially when the user types a query. | 286 // automatically, especially when the user types a query. |
| 286 return pMap; | 287 return pMap; |
| 287 }, | 288 }, |
| 288 | 289 |
| 289 }); | 290 }); |
| 290 })(); | 291 })(); |
| 291 </script> | 292 </script> |
| 292 </dom-module> | 293 </dom-module> |
| OLD | NEW |