Index: Tools/GardeningServer/ui/ct-unexpected-failures.html |
diff --git a/Tools/GardeningServer/ui/ct-unexpected-failures.html b/Tools/GardeningServer/ui/ct-unexpected-failures.html |
deleted file mode 100644 |
index e92f71ee6cbb99f197f20575f5c35361bfd704b2..0000000000000000000000000000000000000000 |
--- a/Tools/GardeningServer/ui/ct-unexpected-failures.html |
+++ /dev/null |
@@ -1,80 +0,0 @@ |
-<!-- |
-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="../bower_components/paper-button/paper-button.html"> |
-<link rel="import" href="../model/tree-status.html"> |
-<link rel="import" href="ct-failure-stream.html"> |
-<link rel="import" href="ct-last-updated.html"> |
-<link rel="import" href="ct-party-time.html"> |
-<link rel="import" href="ct-tree-status.html"> |
- |
-<polymer-element name="ct-unexpected-failures" attributes="tree commitLog failures"> |
- <template> |
- <style> |
- ct-tree-status { |
- white-space: nowrap; |
- overflow: hidden; |
- text-overflow: ellipsis; |
- margin: 5px; |
- padding: 3px; |
- } |
- |
- ct-tree-status[state=open] { |
- margin: 0; |
- padding: 0; |
- } |
- |
- .toolbar { |
- display: flex; |
- justify-content: space-between; |
- align-items: baseline; |
- padding: 0 5px; |
- } |
- </style> |
- <div class="toolbar"> |
- <a href="https://code.google.com/p/chromium/wiki/UsefulURLs">Useful URLs</a> |
- <a href="http://www.chromium.org/developers/tree-sheriffs/sheriff-details-chromium">How to Sheriff</a> |
- </div> |
- <ct-tree-status status="{{ treeStatuses['chromium'] }}" state="{{ treeStatuses['chromium'].status }}"></ct-tree-status> |
- <template if="{{ tree == 'blink' }}"> |
- <ct-tree-status status="{{ treeStatuses['blink'] }}" state="{{ treeStatuses['blink'].status }}"></ct-tree-status> |
- </template> |
- <template if="{{ failures && failures.failures && (!failures.failures[tree] || !failures.failures[tree].length) }}"> |
- <ct-party-time></ct-party-time> |
- </template> |
- <ct-failure-stream title="Tree closers" category="treecloser" groups="{{ failures && failures.failures[tree] }}" commitLog="{{ commitLog }}"></ct-failure-stream> |
- <ct-failure-stream title="Probably-hung bots" category="builder" groups="{{ failures && failures.failures[tree] }}" commitLog="{{ commitLog }}"></ct-failure-stream> |
- <ct-failure-stream title="Reliable failures" category="default" groups="{{ failures && failures.failures[tree] }}" commitLog="{{ commitLog }}"></ct-failure-stream> |
- <ct-failure-stream title="Failures that have only happened once (on one bot)" category="failedOnce" groups="{{ failures && failures.failures[tree] }}" commitLog="{{ commitLog }}"></ct-failure-stream> |
- <ct-failure-stream title="Snoozed failures" category="snoozed" groups="{{ failures && failures.failures[tree] }}" commitLog="{{ commitLog }}"></ct-failure-stream> |
- </template> |
- <script> |
- (function() { |
- Polymer({ |
- tree: '', |
- |
- created: function() { |
- this.treeStatuses = {}; |
- var projects = ['chromium', 'blink']; |
- for (var i = 0; i < projects.length; i++) { |
- this.treeStatuses[projects[i]] = new TreeStatus(projects[i]); |
- } |
- }, |
- |
- attached: function() { |
- this.update(); |
- }, |
- |
- update: function() { |
- // FIXME: These shouldn't update if there's already an update in progress. |
- Object.keys(this.treeStatuses, function(tree, status) { |
- status.update(); |
- }); |
- }, |
- }); |
- })(); |
- </script> |
-</polymer-element> |