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

Side by Side Diff: Tools/GardeningServer/ui/ct-commit.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: Moar flex Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!-- 1 <!--
2 Copyright 2014 The Chromium Authors. All rights reserved. 2 Copyright 2014 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be 3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. 4 found in the LICENSE file.
5 --> 5 -->
6 6
7 <polymer-element name="ct-commit" attributes="data" noscript> 7 <polymer-element name="ct-commit" attributes="data">
8 <template> 8 <template>
9 <style> 9 <style>
10 :host { 10 :host {
11 display: block; 11 display: block;
12 } 12 }
13 a {
14 padding: 5px 10px;
15 margin-right: 5px;
16 border-radius: 4px;
17 display: inline-block;
18 }
19 :host(:hover) a {
20 background-color: #555;
21 color: white;
22 }
23 :host(:hover) a::after {
24 content: '';
25 width: 0;
26 height: 0;
27 margin-top: 5px;
28 position: absolute;
29 margin-left: 10px;
30 border-top: 5px solid white;
31 border-left: 5px solid #555;
32 border-bottom: 5px solid white;
33 }
13 </style> 34 </style>
14 {{data.revision}}: {{data.summary}} <em>{{data.author}} ({{data.reviewer}})< /em> 35 <a href="{{data.revision|changesetURL}}">{{data.revision}}</a> {{data.summar y}} <em>{{data.author}}</em>
esprehn 2014/07/01 19:47:44 It's usually nice to put spaces around the pipe si
15 </template> 36 </template>
37 <script>
38 Polymer({
39 changesetURL: function(revision) {
40 return trac.changesetURL(revision);
41 },
42 });
43 </script>
16 </polymer-element> 44 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698