Index: Tools/GardeningServer/ui/ct-bot-failure-card.html |
diff --git a/Tools/GardeningServer/ui/ct-bot-failure-card.html b/Tools/GardeningServer/ui/ct-bot-failure-card.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a67e61a704996b695a3fd7163a1c2db70291b7e9 |
--- /dev/null |
+++ b/Tools/GardeningServer/ui/ct-bot-failure-card.html |
@@ -0,0 +1,31 @@ |
+<!-- |
+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-bot-failure-card" attributes="group" noscript> |
+ <template> |
+ <style> |
+ ct-builder-grid { |
+ margin-right: 10px; |
+ width: 250px; |
+ } |
+ |
+ #failure { |
+ flex: 1; |
+ } |
+ </style> |
+ <ct-builder-grid failures="{{ group.failures }}"></ct-builder-grid> |
+ <div id="failure"> |
+ <ct-test-list tests="{{ group.failures }}" tree="{{ tree }}"></ct-test-list> |
+ <ct-commit-list commitList="{{ group.commitList }}"></ct-commit-list> |
+ </div> |
+ </template> |
+</polymer-element> |
+ |
+ |