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

Unified Diff: Tools/GardeningServer/ui/ct-results-comparison.html

Issue 350563002: Port first garden-o-matic component over to polymer (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add files 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
« no previous file with comments | « Tools/GardeningServer/styles/results.css ('k') | Tools/GardeningServer/ui/ct-results-comparison-tests.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/GardeningServer/ui/ct-results-comparison.html
diff --git a/Tools/GardeningServer/ui/ct-results-comparison.html b/Tools/GardeningServer/ui/ct-results-comparison.html
new file mode 100644
index 0000000000000000000000000000000000000000..4106247c3b6a7422dfecd46465f8f9a5cbaffd2c
--- /dev/null
+++ b/Tools/GardeningServer/ui/ct-results-comparison.html
@@ -0,0 +1,36 @@
+<!--
+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-test-output.html">
+
+<polymer-element name="ct-results-comparison" attributes="type expectedUrl actualUrl diffUrl" noscript>
+ <template>
+ <style>
+ :host {
+ display: flex;
+ flex-wrap: wrap;
+ width: 100%;
+ }
+ .container {
+ flex: 1;
+ min-width: 300px;
+ }
+ </style>
+
+ <div class="container">
+ <h2>Expected</h2>
+ <ct-test-output type="{{type}}" url="{{expectedUrl}}"></ct-test-output>
+ </div>
+ <div class="container">
+ <h2>Actual</h2>
+ <ct-test-output type="{{type}}" url="{{actualUrl}}"></ct-test-output>
+ </div>
+ <div class="container">
+ <h2>Diff</h2>
+ <ct-test-output type="{{type}}" url="{{diffUrl}}"></ct-test-output>
+ </div>
+ </template>
+</polymer-element>
« no previous file with comments | « Tools/GardeningServer/styles/results.css ('k') | Tools/GardeningServer/ui/ct-results-comparison-tests.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698