| 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>
|
|
|