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

Unified Diff: Tools/GardeningServer/ui/ct-sheriff-card.html

Issue 476903004: [sheriff-o-matic]: Basic trooper display for sheriff-o-matic. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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-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>
+
+

Powered by Google App Engine
This is Rietveld 408576698