| 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="ct-builder-grid.html"> | 7 <link rel="import" href="ct-builder-grid.html"> |
| 8 <link rel="import" href="ct-commit-list.html"> | 8 <link rel="import" href="ct-commit-list.html"> |
| 9 <link rel="import" href="ct-test-list.html"> | 9 <link rel="import" href="ct-test-list.html"> |
| 10 | 10 |
| 11 <polymer-element name="ct-bot-failure-card" attributes="group builderList" noscr
ipt> | 11 <polymer-element name="ct-builder-failure-card" attributes="group builderList" n
oscript> |
| 12 <template> | 12 <template> |
| 13 <style> | 13 <style> |
| 14 ct-builder-grid { | 14 ct-builder-grid { |
| 15 margin-right: 10px; | 15 margin-right: 10px; |
| 16 width: 250px; | 16 width: 250px; |
| 17 } | 17 } |
| 18 | 18 |
| 19 #failure { | 19 #failure { |
| 20 flex: 1; | 20 flex: 1; |
| 21 } | 21 } |
| 22 </style> | 22 </style> |
| 23 <ct-builder-grid builderList="{{ builderList }}"></ct-builder-grid> | 23 <ct-builder-grid builderList="{{ builderList }}"></ct-builder-grid> |
| 24 <div id="failure"> | 24 <div id="failure"> |
| 25 <ct-test-list tests="{{ group.failures }}" tree="{{ tree }}"></ct-test-lis
t> | 25 <template if="{{ group.failure.step == 'building' }}"> |
| 26 <ct-commit-list commitList="{{ group.commitList }}"></ct-commit-list> | 26 Running |
| 27 </template> |
| 28 <template if="{{ group.failure.step == 'offline' }}"> |
| 29 Offline |
| 30 </template> |
| 31 for {{ group.failure.testName }} |
| 27 </div> | 32 </div> |
| 28 </template> | 33 </template> |
| 29 </polymer-element> | 34 </polymer-element> |
| 30 | 35 |
| 31 | 36 |
| OLD | NEW |