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-builder-failure-card" attributes="group builderList" n
oscript> | 11 <polymer-element name="ct-builder-failure-card" attributes="group" noscript> |
12 <template> | 12 <template> |
13 <style> | 13 <style> |
| 14 :host { |
| 15 display: flex; |
| 16 } |
| 17 |
14 ct-builder-grid { | 18 ct-builder-grid { |
15 margin-right: 10px; | 19 margin-right: 10px; |
16 width: 250px; | 20 width: 250px; |
17 } | 21 } |
18 | 22 |
19 #failure { | 23 #failure { |
20 flex: 1; | 24 flex: 1; |
21 } | 25 } |
22 </style> | 26 </style> |
23 <ct-builder-grid builderList="{{ builderList }}"></ct-builder-grid> | 27 <ct-builder-grid builderList="{{ group.builderList }}"></ct-builder-grid> |
24 <div id="failure"> | 28 <div id="failure"> |
25 <template if="{{ group.failure.step == 'building' }}"> | 29 <template if="{{ group.failure.step == 'building' }}"> |
26 Running | 30 Running |
27 </template> | 31 </template> |
28 <template if="{{ group.failure.step == 'offline' }}"> | 32 <template if="{{ group.failure.step == 'offline' }}"> |
29 Offline | 33 Offline |
30 </template> | 34 </template> |
31 for {{ group.failure.testName }} | 35 for {{ group.failure.testName }} |
32 </div> | 36 </div> |
33 </template> | 37 </template> |
34 </polymer-element> | 38 </polymer-element> |
35 | 39 |
36 | 40 |
OLD | NEW |