OLD | NEW |
| (Empty) |
1 <!-- | |
2 Copyright 2014 The Chromium Authors. All rights reserved. | |
3 Use of this source code is governed by a BSD-style license that can be | |
4 found in the LICENSE file. | |
5 --> | |
6 <!DOCTYPE html> | |
7 <html> | |
8 <head> | |
9 <title>Builder Revisions</title> | |
10 <meta charset="utf-8"> | |
11 <meta name="viewport" content="width=device-width, user-scalable=no"> | |
12 <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sa
ns:400,700"> | |
13 <style> | |
14 html, body { | |
15 height: 100%; | |
16 } | |
17 body { | |
18 font-family: 'Open Sans'; | |
19 font-size: 14px; | |
20 margin: 0px; | |
21 } | |
22 header { | |
23 -webkit-user-select: none; | |
24 background-color: #212121; | |
25 color: white; | |
26 cursor: default; | |
27 justify-content: space-between; | |
28 font-size: 1.1em; | |
29 padding: 0 5px; | |
30 } | |
31 header span { | |
32 color: white; | |
33 display: inline-block; | |
34 padding: 0.25em 4px; | |
35 text-decoration: none; | |
36 } | |
37 div { | |
38 padding: 0 5px; | |
39 } | |
40 </style> | |
41 <script src="bower_components/platform/platform.js"></script> | |
42 <link rel="import" href="bower_components/polymer/polymer.html"> | |
43 <link rel="import" href="ui/ct-builder-status.html"> | |
44 <link rel="import" href="lib/revisions.html"> | |
45 </head> | |
46 <body> | |
47 <header> | |
48 <div> | |
49 <img src="favicon.ico"> <span>Builder Revisions</span> | |
50 </div> | |
51 </header> | |
52 <div> | |
53 Latest revision processed by each bot. | |
54 </div> | |
55 <ct-builder-status></ct-builder-status> | |
56 <script> | |
57 document.addEventListener('DOMContentLoaded', function() { | |
58 var el = document.querySelector('ct-builder-status'); | |
59 revisions.load(). | |
60 then(function(model) { el.groups = model.groups; }). | |
61 catch(function(error) { el.errorMessage = error; }); | |
62 }); | |
63 </script> | |
64 </body> | |
65 </html> | |
OLD | NEW |