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

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

Issue 349783003: Polymer-based Garden-O-Matic should have a basic results panel (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix UI nit Created 6 years, 6 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-o-matic.html
diff --git a/Tools/GardeningServer/ui/ct-sheriff-o-matic.html b/Tools/GardeningServer/ui/ct-sheriff-o-matic.html
index fff450d52df7724a73c653a8aaaecc852ed51f77..f764e9ec9001dd5f71c8e382a74c3d42f0977b51 100644
--- a/Tools/GardeningServer/ui/ct-sheriff-o-matic.html
+++ b/Tools/GardeningServer/ui/ct-sheriff-o-matic.html
@@ -17,9 +17,10 @@ found in the LICENSE file.
<script src="../scripts/model.js"></script>
<link rel="import" href="../bower_components/core-pages/core-pages.html">
-<link rel="import" href="../bower_components/paper-tabs/paper-tabs.html">
<link rel="import" href="../bower_components/paper-tabs/paper-tab.html">
+<link rel="import" href="../bower_components/paper-tabs/paper-tabs.html">
<link rel="import" href="ct-unexpected-failures.html">
+<link rel="import" href="ct-results-panel.html">
<polymer-element name="ct-sheriff-o-matic">
<template>
@@ -35,12 +36,19 @@ found in the LICENSE file.
<paper-tab>Results</paper-tab>
</paper-tabs>
<core-pages selected="{{selected}}">
- <ct-unexpected-failures></ct-unexpected-failures>
+ <ct-unexpected-failures on-ct-examine-failures="{{onExamine}}"></ct-unexpected-failures>
+ <ct-results-panel failures="{{currentFailures}}"></ct-results-panel>
</core-pages>
</template>
<script>
Polymer({
selected: 0,
+ currentFailures: [],
+
+ onExamine: function(event) {
+ this.currentFailures = event.detail;
+ this.selected = 1;
+ },
});
</script>
</polymer-element>

Powered by Google App Engine
This is Rietveld 408576698