OLD | NEW |
1 <!-- | 1 <!-- |
2 Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 3 Use of this source code is governed by a BSD-style license that can be |
4 found in the LICENSE file. | 4 found in the LICENSE file. |
5 --> | 5 --> |
6 | 6 |
7 <link rel="import" href="../bower_components/paper-button/paper-button.html"> | 7 <link rel="import" href="../bower_components/paper-button/paper-button.html"> |
8 <link rel="import" href="../model/tree-status.html"> | 8 <link rel="import" href="../model/tree-status.html"> |
9 <link rel="import" href="ct-failure-stream.html"> | 9 <link rel="import" href="ct-failure-stream.html"> |
10 <link rel="import" href="ct-last-updated.html"> | 10 <link rel="import" href="ct-last-updated.html"> |
(...skipping 18 matching lines...) Expand all Loading... |
29 | 29 |
30 .toolbar { | 30 .toolbar { |
31 display: flex; | 31 display: flex; |
32 justify-content: space-between; | 32 justify-content: space-between; |
33 align-items: baseline; | 33 align-items: baseline; |
34 padding: 0 5px; | 34 padding: 0 5px; |
35 } | 35 } |
36 </style> | 36 </style> |
37 <div class="toolbar"> | 37 <div class="toolbar"> |
38 <a href="https://code.google.com/p/chromium/wiki/UsefulURLs">Useful URLs</
a> | 38 <a href="https://code.google.com/p/chromium/wiki/UsefulURLs">Useful URLs</
a> |
| 39 <a href="http://www.chromium.org/developers/tree-sheriffs/sheriff-details-
chromium">How to Sheriff</a> |
39 </div> | 40 </div> |
40 <ct-tree-status status="{{ treeStatuses['chromium'] }}" state="{{ treeStatus
es['chromium'].status }}"></ct-tree-status> | 41 <ct-tree-status status="{{ treeStatuses['chromium'] }}" state="{{ treeStatus
es['chromium'].status }}"></ct-tree-status> |
41 <template if="{{ tree == 'blink' }}"> | 42 <template if="{{ tree == 'blink' }}"> |
42 <ct-tree-status status="{{ treeStatuses['blink'] }}" state="{{ treeStatuse
s['blink'].status }}"></ct-tree-status> | 43 <ct-tree-status status="{{ treeStatuses['blink'] }}" state="{{ treeStatuse
s['blink'].status }}"></ct-tree-status> |
43 </template> | 44 </template> |
44 <template if="{{ failures && failures.failures && (!failures.failures[tree]
|| !failures.failures[tree].length) }}"> | 45 <template if="{{ failures && failures.failures && (!failures.failures[tree]
|| !failures.failures[tree].length) }}"> |
45 <ct-party-time></ct-party-time> | 46 <ct-party-time></ct-party-time> |
46 </template> | 47 </template> |
47 <ct-failure-stream title="Tree closers" category="treecloser" groups="{{ fai
lures && failures.failures[tree] }}" commitLog="{{ commitLog }}"></ct-failure-st
ream> | 48 <ct-failure-stream title="Tree closers" category="treecloser" groups="{{ fai
lures && failures.failures[tree] }}" commitLog="{{ commitLog }}"></ct-failure-st
ream> |
48 <ct-failure-stream title="Probably-hung bots" category="builder" groups="{{
failures && failures.failures[tree] }}" commitLog="{{ commitLog }}"></ct-failure
-stream> | 49 <ct-failure-stream title="Probably-hung bots" category="builder" groups="{{
failures && failures.failures[tree] }}" commitLog="{{ commitLog }}"></ct-failure
-stream> |
(...skipping 21 matching lines...) Expand all Loading... |
70 update: function() { | 71 update: function() { |
71 // FIXME: These shouldn't update if there's already an update in progres
s. | 72 // FIXME: These shouldn't update if there's already an update in progres
s. |
72 Object.keys(this.treeStatuses, function(tree, status) { | 73 Object.keys(this.treeStatuses, function(tree, status) { |
73 status.update(); | 74 status.update(); |
74 }); | 75 }); |
75 }, | 76 }, |
76 }); | 77 }); |
77 })(); | 78 })(); |
78 </script> | 79 </script> |
79 </polymer-element> | 80 </polymer-element> |
OLD | NEW |