| 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 20 matching lines...) Expand all Loading... |
| 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 </div> | 39 </div> |
| 40 <ct-tree-status status="{{ treeStatuses['chromium'] }}" state="{{ treeStatus
es['chromium'].status }}"></ct-tree-status> | 40 <ct-tree-status status="{{ treeStatuses['chromium'] }}" state="{{ treeStatus
es['chromium'].status }}"></ct-tree-status> |
| 41 <ct-tree-status status="{{ treeStatuses['blink'] }}" state="{{ treeStatuses[
'blink'].status }}"></ct-tree-status> | 41 <template if="{{ tree == 'blink' }}"> |
| 42 <ct-tree-status status="{{ treeStatuses['blink'] }}" state="{{ treeStatuse
s['blink'].status }}"></ct-tree-status> |
| 43 </template> |
| 42 <template if="{{ failures && failures.failures && (!failures.failures[tree]
|| !failures.failures[tree].length) }}"> | 44 <template if="{{ failures && failures.failures && (!failures.failures[tree]
|| !failures.failures[tree].length) }}"> |
| 43 <ct-party-time></ct-party-time> | 45 <ct-party-time></ct-party-time> |
| 44 </template> | 46 </template> |
| 45 <ct-failure-stream title="Probably-hung bots" category="builder" groups="{{
failures && failures.failures[tree] }}" commitLog="{{ commitLog }}"></ct-failure
-stream> | 47 <ct-failure-stream title="Probably-hung bots" category="builder" groups="{{
failures && failures.failures[tree] }}" commitLog="{{ commitLog }}"></ct-failure
-stream> |
| 46 <ct-failure-stream title="Reliable failures" category="default" groups="{{ f
ailures && failures.failures[tree] }}" commitLog="{{ commitLog }}"></ct-failure-
stream> | 48 <ct-failure-stream title="Reliable failures" category="default" groups="{{ f
ailures && failures.failures[tree] }}" commitLog="{{ commitLog }}"></ct-failure-
stream> |
| 47 <ct-failure-stream title="Failures that have only happened once (on one bot)
" category="failedOnce" groups="{{ failures && failures.failures[tree] }}" commi
tLog="{{ commitLog }}"></ct-failure-stream> | 49 <ct-failure-stream title="Failures that have only happened once (on one bot)
" category="failedOnce" groups="{{ failures && failures.failures[tree] }}" commi
tLog="{{ commitLog }}"></ct-failure-stream> |
| 48 <ct-failure-stream title="Snoozed failures" category="snoozed" groups="{{ fa
ilures && failures.failures[tree] }}" commitLog="{{ commitLog }}"></ct-failure-s
tream> | 50 <ct-failure-stream title="Snoozed failures" category="snoozed" groups="{{ fa
ilures && failures.failures[tree] }}" commitLog="{{ commitLog }}"></ct-failure-s
tream> |
| 49 </template> | 51 </template> |
| 50 <script> | 52 <script> |
| 51 (function() { | 53 (function() { |
| (...skipping 15 matching lines...) Expand all Loading... |
| 67 update: function() { | 69 update: function() { |
| 68 // FIXME: These shouldn't update if there's already an update in progres
s. | 70 // FIXME: These shouldn't update if there's already an update in progres
s. |
| 69 Object.keys(this.treeStatuses, function(tree, status) { | 71 Object.keys(this.treeStatuses, function(tree, status) { |
| 70 status.update(); | 72 status.update(); |
| 71 }); | 73 }); |
| 72 }, | 74 }, |
| 73 }); | 75 }); |
| 74 })(); | 76 })(); |
| 75 </script> | 77 </script> |
| 76 </polymer-element> | 78 </polymer-element> |
| OLD | NEW |