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

Side by Side Diff: Tools/GardeningServer/ui/ct-trooper-card.html

Issue 565523002: [Sheriff-o-matic] Refactor cards and get rid of ct-failure-cards (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix includes. Created 6 years, 3 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 <link rel="import" href="ct-chart.html"> 7 <link rel="import" href="ct-chart.html">
8 8
9 <polymer-element name="ct-trooper-card" attributes="group"> 9 <polymer-element name="ct-trooper-card" attributes="group">
10 <template> 10 <template>
11 <style> 11 <style>
12 :host {
13 display: flex;
14 flex: 1;
15 }
16
12 #failure { 17 #failure {
13 flex: 1; 18 flex: 1;
14 margin-left: 10px; 19 margin-left: 10px;
15 } 20 }
16 21
17 #details { 22 #details {
18 font-weight: bold; 23 font-weight: bold;
19 } 24 }
20 25
21 ::shadow #chart { 26 ::shadow #chart {
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 this.options = { 105 this.options = {
101 scaleBeginAtZero: true, 106 scaleBeginAtZero: true,
102 legend: false, 107 legend: false,
103 annotateLabel: '<%=v1%>: <%=Math.round(v3)%>', 108 annotateLabel: '<%=v1%>: <%=Math.round(v3)%>',
104 annotateDisplay: true 109 annotateDisplay: true
105 } 110 }
106 }, 111 },
107 }); 112 });
108 </script> 113 </script>
109 </polymer-element> 114 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698