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

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

Issue 2227803002: Mirror filters and sort preferences to url-params (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@use-dimensions
Patch Set: Tweak docs 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 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>
11 <meta charset="utf-8"> 11 <meta charset="utf-8">
12 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 12 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
13 <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial- scale=1, user-scalable=yes"> 13 <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial- scale=1, user-scalable=yes">
14 <script src="../bower_components/webcomponentsjs/webcomponents-lite.js"></scri pt> 14 <script src="../bower_components/webcomponentsjs/webcomponents-lite.js"></scri pt>
15 <script src="../../../node_modules/skia-common-js/common.js"></script>
15 <script src="/res/js/common.js"></script> 16 <script src="/res/js/common.js"></script>
16 <script src="../../../node_modules/sinon/pkg/sinon-1.17.5.js"></script> 17 <script src="../../../node_modules/sinon/pkg/sinon-1.17.5.js"></script>
17 <!-- Makes a var called data--> 18 <!-- Makes a var called data-->
18 <script type="text/javascript" src="bot-list-demo.json"></script> 19 <script type="text/javascript" src="bot-list-demo.json"></script>
19 <!-- Makes a var called fleetData--> 20 <!-- Makes a var called fleetData-->
20 <script type="text/javascript" src="bot-list-fleet-data-demo.json"></script> 21 <script type="text/javascript" src="bot-list-fleet-data-demo.json"></script>
21 22
22 <script type="text/javascript" charset="utf-8"> 23 <script type="text/javascript" charset="utf-8">
23 sinon.format = function(object) {return JSON.stringify(object);} 24 sinon.format = function(object) {return JSON.stringify(object);}
24 sinon.log = function(message) {console.log(message);}; 25 sinon.log = function(message) {console.log(message);};
(...skipping 29 matching lines...) Expand all
54 server.respondWith("GET", /^\/api\/swarming\/v1\/bots\/count/, JSON.stringif y(mockFleetSummary)); 55 server.respondWith("GET", /^\/api\/swarming\/v1\/bots\/count/, JSON.stringif y(mockFleetSummary));
55 56
56 server.respondWith("GET", /^\/_ah\/api\/swarming\/v1\/bots\/dimensions/, JSO N.stringify(fleetData)); 57 server.respondWith("GET", /^\/_ah\/api\/swarming\/v1\/bots\/dimensions/, JSO N.stringify(fleetData));
57 server.respondWith("GET", /^\/api\/swarming\/v1\/bots\/dimensions/, JSON.str ingify(fleetData)); 58 server.respondWith("GET", /^\/api\/swarming\/v1\/bots\/dimensions/, JSON.str ingify(fleetData));
58 </script> 59 </script>
59 60
60 <link rel="import" href="bot-list.html"> 61 <link rel="import" href="bot-list.html">
61 </head> 62 </head>
62 <body> 63 <body>
63 64
64 <bot-list></bot-list> 65 <bot-list
66 client_id="20770472288-t5smpbpjptka4nd888fv0ctd23ftba2o.apps.googleusercontent .com">
67 </bot-list>
65 68
66 </body> 69 </body>
67 </html> 70 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698