| 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 <task-page> | 9 <task-page> |
| 10 | 10 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 <link rel="import" href="/res/imp/bower_components/iron-icons/iron-icons.html"> | 28 <link rel="import" href="/res/imp/bower_components/iron-icons/iron-icons.html"> |
| 29 <link rel="import" href="/res/imp/bower_components/paper-button/paper-button.htm
l"> | 29 <link rel="import" href="/res/imp/bower_components/paper-button/paper-button.htm
l"> |
| 30 <link rel="import" href="/res/imp/bower_components/paper-checkbox/paper-checkbox
.html"> | 30 <link rel="import" href="/res/imp/bower_components/paper-checkbox/paper-checkbox
.html"> |
| 31 <link rel="import" href="/res/imp/bower_components/paper-dialog/paper-dialog.htm
l"> | 31 <link rel="import" href="/res/imp/bower_components/paper-dialog/paper-dialog.htm
l"> |
| 32 <link rel="import" href="/res/imp/bower_components/paper-input/paper-input.html"
> | 32 <link rel="import" href="/res/imp/bower_components/paper-input/paper-input.html"
> |
| 33 <link rel="import" href="/res/imp/bower_components/paper-tabs/paper-tabs.html"> | 33 <link rel="import" href="/res/imp/bower_components/paper-tabs/paper-tabs.html"> |
| 34 <link rel="import" href="/res/imp/bower_components/polymer/polymer.html"> | 34 <link rel="import" href="/res/imp/bower_components/polymer/polymer.html"> |
| 35 <link rel="import" href="/res/imp/bower_components/svg-piechart/svg-piechart.htm
l"> | 35 <link rel="import" href="/res/imp/bower_components/svg-piechart/svg-piechart.htm
l"> |
| 36 | 36 |
| 37 <link rel="import" href="/res/imp/common/common-behavior.html"> | 37 <link rel="import" href="/res/imp/common/common-behavior.html"> |
| 38 <link rel="import" href="/res/imp/common/interval-timer.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/shared/interval-timer.html"> |
| 42 <link rel="import" href="/res/imp/shared/url-param.html"> |
| 43 | 43 |
| 44 <link rel="import" href="task-page-data.html"> | 44 <link rel="import" href="task-page-data.html"> |
| 45 <link rel="import" href="task-retry-prompt.html"> | 45 <link rel="import" href="task-retry-prompt.html"> |
| 46 <link rel="import" href="task-disambiguation.html"> | 46 <link rel="import" href="task-disambiguation.html"> |
| 47 | 47 |
| 48 <dom-module id="task-page"> | 48 <dom-module id="task-page"> |
| 49 <template> | 49 <template> |
| 50 <style include="iron-flex iron-flex-alignment swarming-app-style single-page
-style task-style"> | 50 <style include="iron-flex iron-flex-alignment swarming-app-style single-page
-style task-style"> |
| 51 .milo { | 51 .milo { |
| 52 width: calc(100% - 11px); | 52 width: calc(100% - 11px); |
| (...skipping 1124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1177 | 1177 |
| 1178 this._getJsonAsync("_other_running", "/api/swarming/v1/tasks/count", "_b
usyRunningCount", this._auth_headers, taskCountParams); | 1178 this._getJsonAsync("_other_running", "/api/swarming/v1/tasks/count", "_b
usyRunningCount", this._auth_headers, taskCountParams); |
| 1179 // change running to pending | 1179 // change running to pending |
| 1180 taskCountParams.state = ["PENDING"]; | 1180 taskCountParams.state = ["PENDING"]; |
| 1181 this._getJsonAsync("_other_pending", "/api/swarming/v1/tasks/count", "_b
usyPendingCount", this._auth_headers, taskCountParams); | 1181 this._getJsonAsync("_other_pending", "/api/swarming/v1/tasks/count", "_b
usyPendingCount", this._auth_headers, taskCountParams); |
| 1182 } | 1182 } |
| 1183 }); | 1183 }); |
| 1184 })(); | 1184 })(); |
| 1185 </script> | 1185 </script> |
| 1186 </dom-module> | 1186 </dom-module> |
| OLD | NEW |