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

Unified Diff: appengine/swarming/elements/res/imp/botlist/bot-list-demo.html

Issue 2296313002: Add server version to all pages (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@master
Patch Set: Created 4 years, 4 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/botlist/bot-list-demo.html
diff --git a/appengine/swarming/elements/res/imp/botlist/bot-list-demo.html b/appengine/swarming/elements/res/imp/botlist/bot-list-demo.html
index 88898aaee37d13ed5277c04d9035bb54535619dd..bd89740ac2cc3322fef5707cff9e576bd8517d2d 100644
--- a/appengine/swarming/elements/res/imp/botlist/bot-list-demo.html
+++ b/appengine/swarming/elements/res/imp/botlist/bot-list-demo.html
@@ -57,6 +57,12 @@
server.respondWith("GET", /^\/_ah\/api\/swarming\/v1\/bots\/dimensions/, JSON.stringify(fleetData));
server.respondWith("GET", /^\/api\/swarming\/v1\/bots\/dimensions/, JSON.stringify(fleetData));
+
+ var details = {
+ server_version: "1234-deadbeef",
+ };
+ server.respondWith("GET", /^\/_ah\/api\/swarming\/v1\/server\/details/, JSON.stringify(details));
+ server.respondWith("GET", /^\/api\/swarming\/v1\/server\/details/, JSON.stringify(details));
</script>
<link rel="import" href="bot-list.html">
« no previous file with comments | « appengine/swarming/elements/build/elements.html ('k') | appengine/swarming/elements/res/imp/common/swarming-app.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698