Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3060)

Unified Diff: Tools/GardeningServer/ui/ct-revision-details.html

Issue 555263004: Add hung bots to sheriff-o-matic view (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address nits. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Tools/GardeningServer/ui/ct-revision-details.html
diff --git a/Tools/GardeningServer/ui/ct-revision-details.html b/Tools/GardeningServer/ui/ct-revision-details.html
deleted file mode 100644
index b1385c030e899a05e878d8f8bed908384c90a7cb..0000000000000000000000000000000000000000
--- a/Tools/GardeningServer/ui/ct-revision-details.html
+++ /dev/null
@@ -1,57 +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 href="../bower_components/core-icons/core-icons.html" rel="import">
-<link href="../bower_components/paper-item/paper-item.html" rel="import">
-<link href="../model/ct-builder-revisions.html" rel="import">
-<link href="ct-popup-menu.html" rel="import">
-
-<polymer-element name="ct-revision-details" attributes="builderLatestRevisions commitLog tree">
- <template>
- <style>
- ct-popup-menu > div {
- display: flex;
- justify-content: space-between;
- }
- .menuRevision {
- padding-left: 2em;
- }
- </style>
- <!-- FIXME: Stop special casing the blink tree. -->
- <template if="{{ _sortedBuilders.length && tree == 'blink' }}">
- Latest revision processed by every bot:
- <a id="fullyProcessedRevision" href="{{ _fullyProcessedRevision.url }}">{{ _fullyProcessedRevision.revision }}</a>
- <ct-popup-menu icon="arrow-drop-down">
- <template repeat="{{builder in _sortedBuilders}}">
- <div>
- <div>
- {{ builder }}
- </div>
- <div class="menuRevision">
- <a href="{{ builderLatestRevisions[builder].url }}">{{ builderLatestRevisions[builder].revision }}</a>
- </div>
- </div>
- </template>
- </ct-popup-menu>
- trunk is at <a id="trunkRevision" href="{{ commitLog.commits.blink[commitLog.lastRevision['blink']].url }}">{{ commitLog.lastRevision['blink'] }}</a>
- </template>
- </template>
- <script>
- Polymer({
- _sortedBuilders: [],
- _fullyProcessedRevision: null,
- builderLatestRevisions: null,
-
- builderLatestRevisionsChanged: function() {
- // Get the list of builders sorted with the most out-of-date one first.
- var sortedBuilders = Object.keys(this.builderLatestRevisions);
- sortedBuilders.sort(function (a, b) { return this.builderLatestRevisions[a].revision - this.builderLatestRevisions[b].revision;}.bind(this));
-
- this._sortedBuilders = sortedBuilders;
- this._fullyProcessedRevision = this.builderLatestRevisions[sortedBuilders[0]];
- },
- });
- </script>
-</polymer-element>
« no previous file with comments | « Tools/GardeningServer/ui/ct-results-detail.html ('k') | Tools/GardeningServer/ui/ct-unexpected-failures.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698