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

Side by Side Diff: appengine/swarming/templates/stats.html

Issue 2408743002: Move elements/ to ui/ (Closed)
Patch Set: rebase again 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/templates/root.html ('k') | appengine/swarming/ui/.bowerrc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>Swarming Status</title> 4 <title>Swarming Status</title>
5 <script src="/third_party/webcomponentsjs/webcomponents.min.js"></script> 5 <script src="/third_party/webcomponentsjs/webcomponents.min.js"></script>
6 <link rel="import" href="/elements/polymer05/stats-app-build.html"> 6 <link rel="import" href="/ui/polymer05/stats-app-build.html">
7 <script> 7 <script>
8 (function() { 8 (function() {
9 var DIMENSIONS = {{dimensions|safe}}; 9 var DIMENSIONS = {{dimensions|safe}};
10 for (var i = 0; i < DIMENSIONS.length; ++i) { 10 for (var i = 0; i < DIMENSIONS.length; ++i) {
11 DIMENSIONS[i] = JSON.parse(DIMENSIONS[i]); 11 DIMENSIONS[i] = JSON.parse(DIMENSIONS[i]);
12 } 12 }
13 window.onload = function() { 13 window.onload = function() {
14 var app = document.createElement('stats-app'); 14 var app = document.createElement('stats-app');
15 app.dimensions = DIMENSIONS; 15 app.dimensions = DIMENSIONS;
16 document.getElementById('container').appendChild(app); 16 document.getElementById('container').appendChild(app);
17 }; 17 };
18 } ()); 18 } ());
19 </script> 19 </script>
20 </head> 20 </head>
21 <body> 21 <body>
22 <div id="container"></div> 22 <div id="container"></div>
23 </body> 23 </body>
24 </html> 24 </html>
OLDNEW
« no previous file with comments | « appengine/swarming/templates/root.html ('k') | appengine/swarming/ui/.bowerrc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698