| 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 24 matching lines...) Expand all Loading... |
| 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 <ct-tree-status status="{{ treeStatuses['blink'] }}" state="{{ treeStatuses[
'blink'].status }}"></ct-tree-status> |
| 42 <template if="{{ failures && failures.failures && (!failures.failures[tree]
|| !failures.failures[tree].length) }}"> | 42 <template if="{{ failures && failures.failures && (!failures.failures[tree]
|| !failures.failures[tree].length) }}"> |
| 43 <ct-party-time></ct-party-time> | 43 <ct-party-time></ct-party-time> |
| 44 </template> | 44 </template> |
| 45 <ct-failure-stream title="Probably-hung bots" category="builders" groups="{{
failures.failures[tree] }}" commitLog="{{ commitLog }}" tree="{{ tree }}"></ct-
failure-stream> | 45 <ct-failure-stream title="Probably-hung bots" category="builders" groups="{{
failures && failures.failures[tree] }}" commitLog="{{ commitLog }}" tree="{{ tr
ee }}"></ct-failure-stream> |
| 46 <ct-failure-stream title="Reliable failures" category="default" groups="{{ f
ailures && failures.failures[tree] }}" commitLog="{{ commitLog }}" tree="{{ tree
}}"></ct-failure-stream> | 46 <ct-failure-stream title="Reliable failures" category="default" groups="{{ f
ailures && failures.failures[tree] }}" commitLog="{{ commitLog }}" tree="{{ tree
}}"></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 }}" tree="{{ tree }}"></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 }}" tree="{{ tree }}"></ct-failure-stream> |
| 48 <ct-failure-stream title="Snoozed failures" category="snoozed" groups="{{ fa
ilures && failures.failures[tree] }}" commitLog="{{ commitLog }}" tree="{{ tree
}}"></ct-failure-stream> | 48 <ct-failure-stream title="Snoozed failures" category="snoozed" groups="{{ fa
ilures && failures.failures[tree] }}" commitLog="{{ commitLog }}" tree="{{ tree
}}"></ct-failure-stream> |
| 49 </template> | 49 </template> |
| 50 <script> | 50 <script> |
| 51 (function() { | 51 (function() { |
| 52 Polymer({ | 52 Polymer({ |
| 53 tree: '', | 53 tree: '', |
| 54 | 54 |
| 55 created: function() { | 55 created: function() { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 67 update: function() { | 67 update: function() { |
| 68 // FIXME: These shouldn't update if there's already an update in progres
s. | 68 // FIXME: These shouldn't update if there's already an update in progres
s. |
| 69 Object.keys(this.treeStatuses, function(tree, status) { | 69 Object.keys(this.treeStatuses, function(tree, status) { |
| 70 status.update(); | 70 status.update(); |
| 71 }); | 71 }); |
| 72 }, | 72 }, |
| 73 }); | 73 }); |
| 74 })(); | 74 })(); |
| 75 </script> | 75 </script> |
| 76 </polymer-element> | 76 </polymer-element> |
| OLD | NEW |