| Index: appengine/swarming/elements/res/imp/common/common-behavior.html
|
| diff --git a/appengine/swarming/elements/res/imp/common/common-behavior.html b/appengine/swarming/elements/res/imp/common/common-behavior.html
|
| index 9a10e463055692d20807bcd234b6ac79fc441195..1a7e506fb4b8e57566214d62f985af438e13d6e1 100644
|
| --- a/appengine/swarming/elements/res/imp/common/common-behavior.html
|
| +++ b/appengine/swarming/elements/res/imp/common/common-behavior.html
|
| @@ -46,6 +46,13 @@
|
| return "/newui/botlist?" + sk.query.fromParamSet(obj);
|
| },
|
|
|
| + // Create a link to a bot in Google Cloud Console. Cloud console will try
|
| + // to find the bot in the last project the user was logged in as, which
|
| + // is the best we can do atm.
|
| + _cloudConsoleLink: function(zone, bot_id) {
|
| + return `http://console.cloud.google.com/compute/instancesDetail/zones/${zone}/instances/${bot_id}`
|
| + },
|
| +
|
| // _getJsonAsync makes an XHR to a url, parses the response as JSON
|
| // and sticks the resulting object into the property with the name given
|
| // by "bindTo". If busy is defined, the property with that name will be
|
|
|