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

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

Issue 2404883002: Add links to MP and resolve minor fixes (Closed)
Patch Set: Add more generic approach to revision 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 unified diff | Download patch
OLDNEW
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 --> 6 -->
7 <!DOCTYPE html> 7 <!DOCTYPE html>
8 <html> 8 <html>
9 <head> 9 <head>
10 <title>bot-list Demo</title> 10 <title>bot-list Demo</title>
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 }; 53 };
54 54
55 server.respondWith("GET", /^\/_ah\/api\/swarming\/v1\/bots\/count/, JSON.str ingify(mockFleetSummary)); 55 server.respondWith("GET", /^\/_ah\/api\/swarming\/v1\/bots\/count/, JSON.str ingify(mockFleetSummary));
56 server.respondWith("GET", /^\/api\/swarming\/v1\/bots\/count/, JSON.stringif y(mockFleetSummary)); 56 server.respondWith("GET", /^\/api\/swarming\/v1\/bots\/count/, JSON.stringif y(mockFleetSummary));
57 57
58 server.respondWith("GET", /^\/_ah\/api\/swarming\/v1\/bots\/dimensions/, JSO N.stringify(fleetData)); 58 server.respondWith("GET", /^\/_ah\/api\/swarming\/v1\/bots\/dimensions/, JSO N.stringify(fleetData));
59 server.respondWith("GET", /^\/api\/swarming\/v1\/bots\/dimensions/, JSON.str ingify(fleetData)); 59 server.respondWith("GET", /^\/api\/swarming\/v1\/bots\/dimensions/, JSON.str ingify(fleetData));
60 60
61 var details = { 61 var details = {
62 server_version: "1234-deadbeef", 62 server_version: "1234-deadbeef",
63 machine_provider_template: "http://example.com#/leases/%s?foo=bar",
63 }; 64 };
64 server.respondWith("GET", /^\/_ah\/api\/swarming\/v1\/server\/details/, JSON .stringify(details)); 65 server.respondWith("GET", /^\/_ah\/api\/swarming\/v1\/server\/details/, JSON .stringify(details));
65 server.respondWith("GET", /^\/api\/swarming\/v1\/server\/details/, JSON.stri ngify(details)); 66 server.respondWith("GET", /^\/api\/swarming\/v1\/server\/details/, JSON.stri ngify(details));
66 </script> 67 </script>
67 68
68 <link rel="import" href="bot-list.html"> 69 <link rel="import" href="bot-list.html">
69 </head> 70 </head>
70 <body> 71 <body>
71 72
72 <bot-list 73 <bot-list
73 client_id="20770472288-t5smpbpjptka4nd888fv0ctd23ftba2o.apps.googleusercontent .com"> 74 client_id="20770472288-t5smpbpjptka4nd888fv0ctd23ftba2o.apps.googleusercontent .com">
74 </bot-list> 75 </bot-list>
75 76
76 </body> 77 </body>
77 </html> 78 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698