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

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

Issue 2367413003: Update Stats element to use new directory layout (Closed) Base URL: git@github.com:luci/luci-py@master
Patch Set: rebase 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
« no previous file with comments | « appengine/swarming/elements/res/imp/stats/stats-overview.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/skia-common-js/common.js"></script>
15 <script src="/res/js/common.js"></script>
16 <script src="/res/js/alias.js"></script>
17 <script src="../../../node_modules/sinon/pkg/sinon-1.17.5.js"></script>
15 <!-- Makes a var called data--> 18 <!-- Makes a var called data-->
16 <script type="text/javascript" src="overview-demo.json"></script> 19 <script type="text/javascript" src="overview-demo.json"></script>
17 <script type="text/javascript" charset="utf-8"> 20 <script type="text/javascript" charset="utf-8">
18 // sinon.format = function(object) {return JSON.stringify(object);} 21 // sinon.format = function(object) {return JSON.stringify(object);}
19 // sinon.log = function(message) {console.log(message);}; 22 // sinon.log = function(message) {console.log(message);};
20 var server = sinon.fakeServer.create(); 23 var server = sinon.fakeServer.create();
21 server.autoRespond = true; 24 server.autoRespond = true;
22 // Send the data, then slightly change the builds for the update. 25 // 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)); 26 server.respondWith("GET", "/swarming/api/v1/stats/summary/minutes?duration=2 0",JSON.stringify(data));
24 </script> 27 </script>
25 <link rel="import" href="stats-overview.html"> 28 <link rel="import" href="stats-overview.html">
26 </head> 29 </head>
27 <body> 30 <body>
28 <div style="width: 1000px"> 31 <div style="width: 1000px">
29 <stats-overview ></stats-overview> 32 <stats-overview></stats-overview>
30 </div> 33 </div>
31 </body> 34 </body>
32 </html> 35 </html>
OLDNEW
« no previous file with comments | « appengine/swarming/elements/res/imp/stats/stats-overview.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698