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

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

Issue 728023004: Remove GardeningServer. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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/ui/ct-results-detail.html ('k') | Tools/GardeningServer/ui/ct-router.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/GardeningServer/ui/ct-results-panel.html
diff --git a/Tools/GardeningServer/ui/ct-results-panel.html b/Tools/GardeningServer/ui/ct-results-panel.html
deleted file mode 100644
index 9682900a7fb08b88027768c9191fc3faf0131fd7..0000000000000000000000000000000000000000
--- a/Tools/GardeningServer/ui/ct-results-panel.html
+++ /dev/null
@@ -1,98 +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/core-menu/core-menu.html">
-<link rel="import" href="ct-results-by-builder.html">
-<link rel="import" href="ct-embedded-flakiness-dashboard.html">
-<link rel="import" href="ct-popout-iframe.html">
-<link rel="import" href="ct-commit-list.html">
-
-<polymer-element name="ct-results-panel" attributes="group failureGroupKey tree">
- <template>
- <style>
- :host {
- display: flex;
- flex-direction: column;
- }
-
- core-menu > div {
- padding: 5px 10px;
- }
-
- core-menu > div.core-selected {
- font-weight: bold;
- }
-
- .message {
- margin: 20px;
- text-align: center;
- }
-
- ct-popout-iframe {
- height: 100%;
- }
-
- core-menu {
- box-shadow: 0 3px 3px #ccc;
- flex: none;
- /* Override /deep/ selector in core-menu.css. */
- margin: 0 !important;
- max-height: 20%;
- overflow: auto;
- /* So the box-shadow goes on top of the results. */
- z-index: 1;
- }
-
- .results {
- flex: 1;
- overflow: auto;
- /* Stay below the box shadow of the core-menu. */
- padding-top: 6px;
- }
- </style>
-
- <template if="{{ !group.data.url && !group.data.failures.length }}">
- <div class="message">{{ loading ? 'Loading...' : 'No results to display.' }}</div>
- </template>
-
- <template if="{{ group.data.url }}">
- <ct-popout-iframe src="{{ group.data.url }}"></ct-popout-iframe>
- </template>
-
- <template if="{{ group.data.failures }}">
- <template if="{{ group.data.failures.length }}">
- <core-menu selected="{{ selected }}">
- <template repeat="{{ failure in group.data.failures }}">
- <template if="{{ failure.testName }}">
- <div>{{ failure.testName }}</div>
- </template>
- </template>
- </core-menu>
- </template>
- <div class="results">
- <template if="{{ group.data.failures[selected].testName }}">
- <ct-embedded-flakiness-dashboard test="{{ group.data.failures[selected] }}"></ct-embedded-flakiness-dashboard>
- </template>
- <ct-results-by-builder failure="{{ group.data.failures[selected] }}"></ct-results-by-builder>
- <ct-commit-list commitList="{{ group.data.commitList }}" detailed="true"></ct-commit-list>
- </div>
- </template>
-
- </template>
- <script>
- Polymer({
- group: null,
- selected: 0,
- loading: true,
-
- groupChanged: function() {
- if (this.group)
- this.loading = false;
- this.selected = 0;
- },
- });
- </script>
-</polymer-element>
« no previous file with comments | « Tools/GardeningServer/ui/ct-results-detail.html ('k') | Tools/GardeningServer/ui/ct-router.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698