| 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 <swarming-index> | 9 <swarming-index> |
| 10 | 10 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 Events: | 24 Events: |
| 25 None. | 25 None. |
| 26 --> | 26 --> |
| 27 | 27 |
| 28 <link rel="import" href="/res/imp/bower_components/iron-ajax/iron-ajax.html"> | 28 <link rel="import" href="/res/imp/bower_components/iron-ajax/iron-ajax.html"> |
| 29 | 29 |
| 30 <link rel="import" href="/res/imp/common/swarming-app.html"> | 30 <link rel="import" href="/res/imp/common/swarming-app.html"> |
| 31 | 31 |
| 32 <dom-module id="swarming-index"> | 32 <dom-module id="swarming-index"> |
| 33 <template> | 33 <template> |
| 34 <style> | 34 <style include="swarming-app-style"> |
| 35 :host { | 35 |
| 36 display: block; | |
| 37 } | |
| 38 </style> | 36 </style> |
| 39 | 37 |
| 40 <swarming-app | 38 <swarming-app |
| 41 auth_headers="{{auth_headers}}" | 39 auth_headers="{{auth_headers}}" |
| 42 name="Swarming" | 40 name="Swarming" |
| 43 busy="[[busy]]"> | 41 busy="[[busy]]"> |
| 44 | 42 |
| 45 <iron-ajax id="request" | 43 <iron-ajax id="request" |
| 46 url="/_ah/api/swarming/v1/server/details" | 44 url="/_ah/api/swarming/v1/server/details" |
| 47 headers="[[auth_headers]]" | 45 headers="[[auth_headers]]" |
| (...skipping 24 matching lines...) Expand all Loading... |
| 72 } | 70 } |
| 73 }, | 71 }, |
| 74 | 72 |
| 75 signIn: function(){ | 73 signIn: function(){ |
| 76 this.$.request.generateRequest(); | 74 this.$.request.generateRequest(); |
| 77 }, | 75 }, |
| 78 | 76 |
| 79 }); | 77 }); |
| 80 </script> | 78 </script> |
| 81 </dom-module> | 79 </dom-module> |
| OLD | NEW |