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

Unified Diff: Tools/GardeningServer/ui/ct-commit-list.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-commit.html ('k') | Tools/GardeningServer/ui/ct-detailed-commit.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/GardeningServer/ui/ct-commit-list.html
diff --git a/Tools/GardeningServer/ui/ct-commit-list.html b/Tools/GardeningServer/ui/ct-commit-list.html
deleted file mode 100644
index d31d5efff0aab346ed338c075e256d8032b60667..0000000000000000000000000000000000000000
--- a/Tools/GardeningServer/ui/ct-commit-list.html
+++ /dev/null
@@ -1,61 +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="ct-commit.html">
-<link rel="import" href="ct-detailed-commit.html">
-<link rel="import" href="../bower_components/paper-button/paper-button.html">
-
-<polymer-element name="ct-commit-list" attributes="commitList detailed">
- <template>
- <style>
- :host {
- display: block;
- }
- paper-icon-button {
- vertical-align: middle;
- }
- paper-icon-button::shadow #icon {
- margin: 0px;
- }
- .repository-info {
- display: block;
- margin-bottom: 10px;
- }
- ct-commit {
- margin-left: 10px;
- }
- </style>
- <template repeat="{{ repository in commitList.repositories }}">
- <div class="repository-info">
- <span style="font-weight: bold">{{ repository.name }}</span> {{ repository.range }}
- <paper-icon-button icon="unfold-more"
- on-click="{{ _toggle }}" repository="{{ repository.name }}"></paper-icon-button>
- <template if="{{ repository.expanded }}">
- <template repeat="{{ commit in repository.commits }}">
- <template if="{{ !detailed }}">
- <ct-commit data="{{ commit }}"></ct-commit>
- </template>
- <template if="{{ detailed }}">
- <ct-detailed-commit data="{{ commit }}"></ct-detailed-commit>
- </template>
- </template>
- </template>
- </div>
- </template>
- </template>
- <script>
- Polymer({
- detailed: false,
- _toggle: function(event, detail, sender, target) {
- var repo = sender.getAttribute('repository');
- var r = this.commitList.repositories.find(function(item) {
- return item.name === repo;
- });
- r.expanded = !r.expanded;
- }
- });
- </script>
-</polymer-element>
« no previous file with comments | « Tools/GardeningServer/ui/ct-commit.html ('k') | Tools/GardeningServer/ui/ct-detailed-commit.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698