| 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 19 matching lines...) Expand all Loading... |
| 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"> | 37 <link rel="import" href="/res/imp/common/error-toast.html"> |
| 38 <link rel="import" href="/res/imp/common/single-page-style.html"> | 38 <link rel="import" href="/res/imp/common/single-page-style.html"> |
| 39 <link rel="import" href="/res/imp/common/swarming-app.html"> | 39 <link rel="import" href="/res/imp/common/swarming-app.html"> |
| 40 <link rel="import" href="/res/imp/common/task-behavior.html"> |
| 40 <link rel="import" href="/res/imp/common/url-param.html"> | 41 <link rel="import" href="/res/imp/common/url-param.html"> |
| 41 | 42 |
| 42 <link rel="import" href="bot-page-data.html"> | 43 <link rel="import" href="bot-page-data.html"> |
| 43 <link rel="import" href="bot-page-shared-behavior.html"> | 44 <link rel="import" href="bot-page-shared-behavior.html"> |
| 44 | 45 |
| 45 | 46 |
| 46 <dom-module id="bot-page"> | 47 <dom-module id="bot-page"> |
| 47 <template> | 48 <template> |
| 48 <style include="iron-flex iron-flex-alignment iron-positioning swarming-app-
style single-page-style"> | 49 <style include="iron-flex iron-flex-alignment iron-positioning swarming-app-
style single-page-style task-style"> |
| 49 .message { | 50 .message { |
| 50 white-space: pre-line; | 51 white-space: pre-line; |
| 51 font-family: monospace; | 52 font-family: monospace; |
| 52 } | 53 } |
| 53 | 54 |
| 54 .bot_state { | 55 .bot_state { |
| 55 white-space: pre; | 56 white-space: pre; |
| 56 font-family: monospace; | 57 font-family: monospace; |
| 57 margin-bottom: 10px; | 58 margin-bottom: 10px; |
| 58 } | 59 } |
| (...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 458 }, | 459 }, |
| 459 | 460 |
| 460 _toggleState: function() { | 461 _toggleState: function() { |
| 461 this.set("_show_state", !this._show_state); | 462 this.set("_show_state", !this._show_state); |
| 462 } | 463 } |
| 463 | 464 |
| 464 }); | 465 }); |
| 465 })(); | 466 })(); |
| 466 </script> | 467 </script> |
| 467 </dom-module> | 468 </dom-module> |
| OLD | NEW |