| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 This in an HTML Import-able file that contains the definition | 2 This in an HTML Import-able file that contains the definition |
| 3 of the following elements: | 3 of the following elements: |
| 4 | 4 |
| 5 <bot-list-summary> | 5 <bot-list-summary> |
| 6 | 6 |
| 7 | 7 |
| 8 Usage: | 8 Usage: |
| 9 | 9 |
| 10 <bot-list-summary></bot-list-summary> | 10 <bot-list-summary></bot-list-summary> |
| 11 | 11 |
| 12 This element summarizes and displays the results of the current query. | 12 This element summarizes and displays the results of the current query. |
| 13 | 13 |
| 14 Properties: | 14 Properties: |
| 15 filtered_bots: Array<Object>, The bot list that is currently being shown | 15 filtered_bots: Array<Object>, The bot list that is currently being shown |
| 16 (after filtering). The alive, dead, etc bots in this will be counted up | 16 (after filtering). The alive, dead, etc bots in this will be counted up |
| 17 for the summary. See bot-list-data for a description of this data type. | 17 for the summary. See bot-list-data for a description of this data type. |
| 18 fleet: Object, counts of all bots in the fleet. Contains "alive", "busy", | 18 fleet: Object, counts of all bots in the fleet. Contains "alive", "busy", |
| 19 "idle", "dead", and "quarantined". | 19 "idle", "dead", and "quarantined". |
| 20 Methods: | 20 Methods: |
| 21 None. | 21 None. |
| 22 | 22 |
| 23 Events: | 23 Events: |
| 24 None. | 24 None. |
| 25 --> | 25 --> |
| 26 | 26 |
| 27 | 27 |
| 28 <link rel="import" href="/res/imp/common/swarming-app.html"> | 28 <link rel="import" href="/res/imp/common/swarming-app.html"> |
| 29 | 29 |
| 30 <link rel="import" href="bot-list-shared.html"> | 30 <link rel="import" href="bot-list-shared-behavior.html"> |
| 31 | 31 |
| 32 <dom-module id="bot-list-summary"> | 32 <dom-module id="bot-list-summary"> |
| 33 <template> | 33 <template> |
| 34 <style include="swarming-app-style"> | 34 <style include="swarming-app-style"> |
| 35 :host { | 35 :host { |
| 36 display: block; | 36 display: block; |
| 37 border-left: 1px solid black; | 37 border-left: 1px solid black; |
| 38 padding: 5px 5px; | 38 padding: 5px 5px; |
| 39 font-family: sans-serif; | 39 font-family: sans-serif; |
| 40 } | 40 } |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 } else { | 232 } else { |
| 233 curr.alive++; | 233 curr.alive++; |
| 234 } | 234 } |
| 235 curr.all++; | 235 curr.all++; |
| 236 }.bind(this)); | 236 }.bind(this)); |
| 237 this.set("_currently_showing", curr); | 237 this.set("_currently_showing", curr); |
| 238 } | 238 } |
| 239 }); | 239 }); |
| 240 </script> | 240 </script> |
| 241 </dom-module> | 241 </dom-module> |
| OLD | NEW |