| 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 16 matching lines...) Expand all Loading... |
| 27 <link rel="import" href="/res/imp/bower_components/iron-collapse/iron-collapse.h
tml"> | 27 <link rel="import" href="/res/imp/bower_components/iron-collapse/iron-collapse.h
tml"> |
| 28 <link rel="import" href="/res/imp/bower_components/iron-icon/iron-icon.html"> | 28 <link rel="import" href="/res/imp/bower_components/iron-icon/iron-icon.html"> |
| 29 <link rel="import" href="/res/imp/bower_components/iron-icons/iron-icons.html"> | 29 <link rel="import" href="/res/imp/bower_components/iron-icons/iron-icons.html"> |
| 30 <link rel="import" href="/res/imp/bower_components/paper-button/paper-button.htm
l"> | 30 <link rel="import" href="/res/imp/bower_components/paper-button/paper-button.htm
l"> |
| 31 <link rel="import" href="/res/imp/bower_components/paper-checkbox/paper-checkbox
.html"> | 31 <link rel="import" href="/res/imp/bower_components/paper-checkbox/paper-checkbox
.html"> |
| 32 <link rel="import" href="/res/imp/bower_components/paper-dialog/paper-dialog.htm
l"> | 32 <link rel="import" href="/res/imp/bower_components/paper-dialog/paper-dialog.htm
l"> |
| 33 <link rel="import" href="/res/imp/bower_components/paper-input/paper-input.html"
> | 33 <link rel="import" href="/res/imp/bower_components/paper-input/paper-input.html"
> |
| 34 <link rel="import" href="/res/imp/bower_components/paper-tabs/paper-tabs.html"> | 34 <link rel="import" href="/res/imp/bower_components/paper-tabs/paper-tabs.html"> |
| 35 <link rel="import" href="/res/imp/bower_components/polymer/polymer.html"> | 35 <link rel="import" href="/res/imp/bower_components/polymer/polymer.html"> |
| 36 | 36 |
| 37 <link rel="import" href="/res/imp/common/error-toast.html"> | |
| 38 <link rel="import" href="/res/imp/common/pageable-data.html"> | 37 <link rel="import" href="/res/imp/common/pageable-data.html"> |
| 39 <link rel="import" href="/res/imp/common/single-page-style.html"> | 38 <link rel="import" href="/res/imp/common/single-page-style.html"> |
| 40 <link rel="import" href="/res/imp/common/swarming-app.html"> | 39 <link rel="import" href="/res/imp/common/swarming-app.html"> |
| 41 <link rel="import" href="/res/imp/common/task-behavior.html"> | 40 <link rel="import" href="/res/imp/common/task-behavior.html"> |
| 42 <link rel="import" href="/res/imp/common/url-param.html"> | 41 <link rel="import" href="/res/imp/common/url-param.html"> |
| 43 | 42 |
| 44 <link rel="import" href="bot-page-data.html"> | 43 <link rel="import" href="bot-page-data.html"> |
| 45 <link rel="import" href="bot-page-shared-behavior.html"> | 44 <link rel="import" href="bot-page-shared-behavior.html"> |
| 46 <link rel="import" href="bot-page-summary.html"> | 45 <link rel="import" href="bot-page-summary.html"> |
| 47 | 46 |
| (...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 374 | 373 |
| 375 <paper-dialog id="prompt" modal on-iron-overlay-closed="_promptClosed"> | 374 <paper-dialog id="prompt" modal on-iron-overlay-closed="_promptClosed"> |
| 376 <h2>Are you sure?</h2> | 375 <h2>Are you sure?</h2> |
| 377 <div>Are you sure you want to [[_dialogPrompt]]?</div> | 376 <div>Are you sure you want to [[_dialogPrompt]]?</div> |
| 378 <div class="buttons"> | 377 <div class="buttons"> |
| 379 <paper-button dialog-dismiss autofocus>No</paper-button> | 378 <paper-button dialog-dismiss autofocus>No</paper-button> |
| 380 <paper-button dialog-confirm>Yes</paper-button> | 379 <paper-button dialog-confirm>Yes</paper-button> |
| 381 </div> | 380 </div> |
| 382 </paper-dialog> | 381 </paper-dialog> |
| 383 | 382 |
| 384 <error-toast></error-toast> | |
| 385 | |
| 386 </template> | 383 </template> |
| 387 <script> | 384 <script> |
| 388 (function(){ | 385 (function(){ |
| 389 | 386 |
| 390 Polymer({ | 387 Polymer({ |
| 391 is: 'bot-page', | 388 is: 'bot-page', |
| 392 | 389 |
| 393 behaviors: [ | 390 behaviors: [ |
| 394 SwarmingBehaviors.BotPageBehavior, | 391 SwarmingBehaviors.BotPageBehavior, |
| 395 ], | 392 ], |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 609 }, | 606 }, |
| 610 | 607 |
| 611 _toggleState: function() { | 608 _toggleState: function() { |
| 612 this.set("_show_state", !this._show_state); | 609 this.set("_show_state", !this._show_state); |
| 613 } | 610 } |
| 614 | 611 |
| 615 }); | 612 }); |
| 616 })(); | 613 })(); |
| 617 </script> | 614 </script> |
| 618 </dom-module> | 615 </dom-module> |
| OLD | NEW |