Chromium Code Reviews| 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-page> | 9 <bot-page> |
| 10 | 10 |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 224 <td>First seen</td> | 224 <td>First seen</td> |
| 225 <td title="[[_bot.human_first_seen_ts]]"> | 225 <td title="[[_bot.human_first_seen_ts]]"> |
| 226 [[_timeDiffApprox(_bot.first_seen_ts)]] ago | 226 [[_timeDiffApprox(_bot.first_seen_ts)]] ago |
| 227 </td> | 227 </td> |
| 228 <td></td> | 228 <td></td> |
| 229 </tr> | 229 </tr> |
| 230 <tr title="How the bot is authenticated by the server."> | 230 <tr title="How the bot is authenticated by the server."> |
| 231 <td>Authenticated as</td> | 231 <td>Authenticated as</td> |
| 232 <td colspan=2>[[_bot.authenticated_as]]</td> | 232 <td colspan=2>[[_bot.authenticated_as]]</td> |
| 233 </tr> | 233 </tr> |
| 234 <template is="dom-if" if="[[_bot.lease_id]]"> | |
| 235 <tr> | |
| 236 <td>Machine Provider Lease ID</td> | |
| 237 <td colspan=2>[[_bot.lease_id]]</td> | |
|
smut
2016/10/07 21:43:08
Can you linkify this or do I need to include that
| |
| 238 </tr> | |
| 239 <tr> | |
| 240 <td>Machine Provider Lease Expires</td> | |
| 241 <td colspan=2>[[_bot.human_lease_expiration_ts]]</td> | |
| 242 </tr> | |
| 243 </template> | |
| 234 </table> | 244 </table> |
| 235 | 245 |
| 236 <span class="title">State</span> | 246 <span class="title">State</span> |
| 237 | 247 |
| 238 <template is="dom-if" if="[[_not(_show_state)]]"> | 248 <template is="dom-if" if="[[_not(_show_state)]]"> |
| 239 <button on-click="_toggleState"> | 249 <button on-click="_toggleState"> |
| 240 <iron-icon icon="icons:add-circle-outline"></iron-icon> | 250 <iron-icon icon="icons:add-circle-outline"></iron-icon> |
| 241 </button> | 251 </button> |
| 242 </template> | 252 </template> |
| 243 | 253 |
| (...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 590 }, | 600 }, |
| 591 | 601 |
| 592 _toggleState: function() { | 602 _toggleState: function() { |
| 593 this.set("_show_state", !this._show_state); | 603 this.set("_show_state", !this._show_state); |
| 594 } | 604 } |
| 595 | 605 |
| 596 }); | 606 }); |
| 597 })(); | 607 })(); |
| 598 </script> | 608 </script> |
| 599 </dom-module> | 609 </dom-module> |
| OLD | NEW |