| Index: appengine/swarming/elements/res/imp/index/swarming-index.html
|
| diff --git a/appengine/swarming/elements/res/imp/index/swarming-index.html b/appengine/swarming/elements/res/imp/index/swarming-index.html
|
| index c9e050967ced70e0b208d5ca5edb5d36f5bbd2ac..59c26244c742dfddf7795880e2a3da41b9b09bf8 100644
|
| --- a/appengine/swarming/elements/res/imp/index/swarming-index.html
|
| +++ b/appengine/swarming/elements/res/imp/index/swarming-index.html
|
| @@ -51,7 +51,7 @@
|
| permissions="{{_permissions}}"
|
| server_version="{{_server_version}}"
|
| name="Swarming Server"
|
| - busy="[[_busy]]">
|
| + busy="[[_or(_busy1,busy2)]]">
|
|
|
| <h2>Service Status</h2>
|
| <div>Server Version: [[_server_version.server_version]]</div>
|
| @@ -113,10 +113,15 @@
|
| </ol>
|
| </div>
|
|
|
| + <!-- TODO(kjlubick): Enable this when the stats endpoint uses oauth
|
| <h2>Stats</h2>
|
| - <div>TODO(kjlubick) add these in</div>
|
| -
|
| -
|
| + <div class="stats">
|
| + <stats-overview
|
| + auth_headers=[[_auth_headers]]
|
| + busy="{{_busy2}}">
|
| + </stats-overview>
|
| + </div>
|
| + -->
|
| </swarming-app>
|
|
|
| </template>
|
| @@ -141,7 +146,11 @@
|
| type: String,
|
| value: "...",
|
| },
|
| - _busy: {
|
| + _busy1: {
|
| + type: Boolean,
|
| + value: false,
|
| + },
|
| + _busy2: {
|
| type: Boolean,
|
| value: false,
|
| },
|
| @@ -181,7 +190,7 @@
|
| this.set("_busy", true);
|
| p.then(JSON.parse).then(function(t){
|
| this.set("_bootstrap_token", t.bootstrap_token);
|
| - this.set("_busy", false);
|
| + this.set("_busy1", false);
|
| }.bind(this))
|
| },
|
|
|
|
|