Chromium Code Reviews| Index: Tools/GardeningServer/ui/ct-sheriff-card.html |
| diff --git a/Tools/GardeningServer/ui/ct-sheriff-card.html b/Tools/GardeningServer/ui/ct-sheriff-card.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..9ca74ce7596956463d93759308467bfbe50904ca |
| --- /dev/null |
| +++ b/Tools/GardeningServer/ui/ct-sheriff-card.html |
| @@ -0,0 +1,44 @@ |
| +<!-- |
| +Copyright 2014 The Chromium Authors. All rights reserved. |
| +Use of this source code is governed by a BSD-style license that can be |
| +found in the LICENSE file. |
| +--> |
| + |
| +<link rel="import" href="ct-builder-grid.html"> |
| +<link rel="import" href="ct-commit-list.html"> |
| +<link rel="import" href="ct-test-list.html"> |
| + |
| +<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.
|
| + <template> |
| + <style> |
| + :host { |
| + display: flex; |
| + } |
| + |
| + ct-builder-grid { |
| + margin-right: 10px; |
| + width: 250px; |
| + } |
| + |
| + #failure { |
| + flex: 1; |
| + } |
| + |
| + .snoozed { |
| + opacity: 0.5; |
| + } |
| + </style> |
| + <ct-builder-grid failures="{{ group.failures }}"></ct-builder-grid> |
| + <div id="failure" class="{{ { snoozed: group.isSnoozed } | tokenList }}"> |
| + <ct-test-list tests="{{ group.failures }}" tree="{{ tree }}"></ct-test-list> |
| + <ct-commit-list commitList="{{ group.commitList }}"></ct-commit-list> |
| + </div> |
| + </template> |
| + <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.
|
| + Polymer('ct-sheriff-card', { |
| + group: null, |
| + }); |
| + </script> |
| +</polymer-element> |
| + |
| + |