Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(675)

Unified Diff: appengine/swarming/elements/res/imp/common/swarming-app.html

Issue 2404883002: Add links to MP and resolve minor fixes (Closed)
Patch Set: Address Polymer comments Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: appengine/swarming/elements/res/imp/common/swarming-app.html
diff --git a/appengine/swarming/elements/res/imp/common/swarming-app.html b/appengine/swarming/elements/res/imp/common/swarming-app.html
index a60493c6da5a1a6326b09a71b689d295a68f9e5c..66ae86d1eac6e2f16c1a6bb3741b7229f6a09561 100644
--- a/appengine/swarming/elements/res/imp/common/swarming-app.html
+++ b/appengine/swarming/elements/res/imp/common/swarming-app.html
@@ -27,8 +27,10 @@
auth_headers: Object, Use this as an argument to sk.request to set oauth2 headers.
permissions: Object, {String:Boolean} of permissions to perform various
behaviors, such as terminate_bot.
- server_version: Object, containing String server_version. server_version
- represents what git revision the server is using.
+ server_details: Object, containing mutliple Strings including:
+ server_version: what git revision the server is using.
+ bot_version: A hash of the bot code being distributed. Isn't associated
+ with any git revisions
signed_in: Boolean, if the user is signed in.
Methods:
None.
@@ -107,8 +109,8 @@
<div class="flex"></div>
<div class="small right">
Server:
- <a href$="[[_versionLink(server_version)]]">
- [[server_version.server_version]]
+ <a href$="[[_versionLink(server_details)]]">
+ [[server_details.server_version]]
</a>
</div>
<auth-signin
@@ -168,7 +170,7 @@
notify: true,
},
- server_version: {
+ server_details: {
type: Object,
notify: true,
},
@@ -194,7 +196,7 @@
_load: function() {
this._getJsonAsync("permissions", "/_ah/api/swarming/v1/server/permissions",
"_busy1", this.auth_headers);
- this._getJsonAsync("server_version", "/_ah/api/swarming/v1/server/details",
+ this._getJsonAsync("server_details", "/_ah/api/swarming/v1/server/details",
"_busy2", this.auth_headers)
},

Powered by Google App Engine
This is Rietveld 408576698