| 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/ct-commit-log.html"> | 8 <link rel="import" href="../model/ct-commit-log.html"> |
| 9 <link rel="import" href="../model/tree-status.html"> | 9 <link rel="import" href="../model/tree-status.html"> |
| 10 <link rel="import" href="ct-failure-analyzer.html"> | 10 <link rel="import" href="ct-failure-analyzer.html"> |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 overflow: hidden; | 22 overflow: hidden; |
| 23 text-overflow: ellipsis; | 23 text-overflow: ellipsis; |
| 24 margin: 5px; | 24 margin: 5px; |
| 25 padding: 3px; | 25 padding: 3px; |
| 26 } | 26 } |
| 27 | 27 |
| 28 ct-tree-status[state=open] { | 28 ct-tree-status[state=open] { |
| 29 margin: 0; | 29 margin: 0; |
| 30 padding: 0; | 30 padding: 0; |
| 31 } | 31 } |
| 32 |
| 33 .toolbar { |
| 34 display: flex; |
| 35 justify-content: space-between; |
| 36 align-items: baseline; |
| 37 padding: 0 5px; |
| 38 } |
| 32 </style> | 39 </style> |
| 33 <ct-failure-analyzer id="analyzer" failures="{{ failures }}" builderLatestRe
visions="{{ builderLatestRevisions }}" lastUpdateDate="{{ lastUpdateDate }}"></c
t-failure-analyzer> | 40 <ct-failure-analyzer id="analyzer" failures="{{ failures }}" builderLatestRe
visions="{{ builderLatestRevisions }}" lastUpdateDate="{{ lastUpdateDate }}"></c
t-failure-analyzer> |
| 41 <div class="toolbar"> |
| 42 <ct-revision-details id="revisionDetails" builderLatestRevisions="{{ build
erLatestRevisions }}" revisionLog="{{ revisionLog }}" tree="{{ tree }}"></ct-rev
ision-details> |
| 43 <a href="https://code.google.com/p/chromium/wiki/UsefulURLs">Useful URLs</
a> |
| 44 </div> |
| 34 <ct-tree-status status="{{ treeStatuses['chromium'] }}" state="{{ treeStatus
es['chromium'].status }}"></ct-tree-status> | 45 <ct-tree-status status="{{ treeStatuses['chromium'] }}" state="{{ treeStatus
es['chromium'].status }}"></ct-tree-status> |
| 35 <ct-tree-status status="{{ treeStatuses['blink'] }}" state="{{ treeStatuses[
'blink'].status }}"></ct-tree-status> | 46 <ct-tree-status status="{{ treeStatuses['blink'] }}" state="{{ treeStatuses[
'blink'].status }}"></ct-tree-status> |
| 36 <ct-revision-details id="revisionDetails" builderLatestRevisions="{{ builder
LatestRevisions }}" revisionLog="{{ revisionLog }}" tree="{{ tree }}"></ct-revis
ion-details> | |
| 37 <ct-party-time failures="{{ failures }}" tree="{{ tree }}"></ct-party-time> | 47 <ct-party-time failures="{{ failures }}" tree="{{ tree }}"></ct-party-time> |
| 38 <ct-failure-stream groups="{{ failures[tree] }}" commits="{{ revisionLog }}"
tree="{{ tree }}"></ct-failure-stream> | 48 <ct-failure-stream groups="{{ failures[tree] }}" commits="{{ revisionLog }}"
tree="{{ tree }}"></ct-failure-stream> |
| 39 </template> | 49 </template> |
| 40 <script> | 50 <script> |
| 41 (function() { | 51 (function() { |
| 42 // FIXME: Make the update frequency 30 seconds again once we fix crbug.com/4
01358. | 52 // FIXME: Make the update frequency 30 seconds again once we fix crbug.com/4
01358. |
| 43 var kUpdateFrequency = 1000 * 30 * 10; | 53 var kUpdateFrequency = 1000 * 30 * 10; |
| 44 | 54 |
| 45 Polymer({ | 55 Polymer({ |
| 46 revisionLog: new CTCommitLog(), | 56 revisionLog: new CTCommitLog(), |
| (...skipping 18 matching lines...) Expand all Loading... |
| 65 this.revisionLog.update(); | 75 this.revisionLog.update(); |
| 66 this.$.analyzer.update(); | 76 this.$.analyzer.update(); |
| 67 Object.keys(this.treeStatuses, function(tree, status) { | 77 Object.keys(this.treeStatuses, function(tree, status) { |
| 68 status.update(); | 78 status.update(); |
| 69 }); | 79 }); |
| 70 }, | 80 }, |
| 71 }); | 81 }); |
| 72 })(); | 82 })(); |
| 73 </script> | 83 </script> |
| 74 </polymer-element> | 84 </polymer-element> |
| OLD | NEW |