Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!-- | |
| 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 | |
| 4 found in the LICENSE file. | |
| 5 --> | |
| 6 | |
| 7 <link rel="import" href="ct-builder-grid.html"> | |
| 8 <link rel="import" href="ct-commit-list.html"> | |
| 9 <link rel="import" href="ct-test-list.html"> | |
| 10 | |
| 11 <polymer-element name="ct-sheriff-card" attributes="group"> | |
|
ojan
2014/09/02 02:35:11
s/sheriff/bot-failure/ or something like that. We'
shans
2014/09/04 01:59:43
Done.
| |
| 12 <template> | |
| 13 <style> | |
| 14 :host { | |
| 15 display: flex; | |
| 16 } | |
| 17 | |
| 18 ct-builder-grid { | |
| 19 margin-right: 10px; | |
| 20 width: 250px; | |
| 21 } | |
| 22 | |
| 23 #failure { | |
| 24 flex: 1; | |
| 25 } | |
| 26 | |
| 27 .snoozed { | |
| 28 opacity: 0.5; | |
| 29 } | |
| 30 </style> | |
| 31 <ct-builder-grid failures="{{ group.failures }}"></ct-builder-grid> | |
| 32 <div id="failure" class="{{ { snoozed: group.isSnoozed } | tokenList }}"> | |
| 33 <ct-test-list tests="{{ group.failures }}" tree="{{ tree }}"></ct-test-lis t> | |
| 34 <ct-commit-list commitList="{{ group.commitList }}"></ct-commit-list> | |
| 35 </div> | |
| 36 </template> | |
| 37 <script> | |
|
ojan
2014/09/02 02:35:11
Leave out the script here and put a noscript attri
shans
2014/09/04 01:59:43
Done.
| |
| 38 Polymer('ct-sheriff-card', { | |
| 39 group: null, | |
| 40 }); | |
| 41 </script> | |
| 42 </polymer-element> | |
| 43 | |
| 44 | |
| OLD | NEW |