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

Side by Side Diff: appengine/swarming/elements/res/imp/stats/stats-overview-demo.html

Issue 2177353002: Add top level app element (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@hello-oauth
Patch Set: Address feedback and introduce new res/ layer of direction 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 by the Apache v2.0 license that can be 3 # Use of this source code is governed by the Apache v2.0 license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 --> 5 -->
6 <!DOCTYPE html> 6 <!DOCTYPE html>
7 <html> 7 <html>
8 <head> 8 <head>
9 <title>Stats Overview Demo</title> 9 <title>Stats Overview Demo</title>
10 <meta charset="utf-8"> 10 <meta charset="utf-8">
11 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 11 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
12 <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial- scale=1, user-scalable=yes"> 12 <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial- scale=1, user-scalable=yes">
13 <script src="../bower_components/webcomponentsjs/webcomponents-lite.js"></scri pt> 13 <script src="../bower_components/webcomponentsjs/webcomponents-lite.js"></scri pt>
14 <script src="../node_modules/sinon/pkg/sinon-1.17.2.js"></script> 14 <script src="../../node_modules/sinon/pkg/sinon-1.17.2.js"></script>
15 <!-- Makes a var called data--> 15 <!-- Makes a var called data-->
16 <script type="text/javascript" src="overview-demo.json"></script> 16 <script type="text/javascript" src="overview-demo.json"></script>
17 <script type="text/javascript" charset="utf-8"> 17 <script type="text/javascript" charset="utf-8">
18 // sinon.format = function(object) {return JSON.stringify(object);} 18 // sinon.format = function(object) {return JSON.stringify(object);}
19 // sinon.log = function(message) {console.log(message);}; 19 // sinon.log = function(message) {console.log(message);};
20 var server = sinon.fakeServer.create(); 20 var server = sinon.fakeServer.create();
21 server.autoRespond = true; 21 server.autoRespond = true;
22 // Send the data, then slightly change the builds for the update. 22 // Send the data, then slightly change the builds for the update.
23 server.respondWith("GET", "/swarming/api/v1/stats/summary/minutes?duration=2 0",JSON.stringify(data)); 23 server.respondWith("GET", "/swarming/api/v1/stats/summary/minutes?duration=2 0",JSON.stringify(data));
24 </script> 24 </script>
25 <link rel="import" href="stats-overview.html"> 25 <link rel="import" href="stats-overview.html">
26 </head> 26 </head>
27 <body> 27 <body>
28 <div style="width: 1000px"> 28 <div style="width: 1000px">
29 <stats-overview ></stats-overview> 29 <stats-overview ></stats-overview>
30 </div> 30 </div>
31 </body> 31 </body>
32 </html> 32 </html>
OLDNEW
« no previous file with comments | « appengine/swarming/elements/res/imp/stats/stats-overview.html ('k') | appengine/swarming/elements/stats/load-charts-api.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698