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

Side by Side Diff: Tools/GardeningServer/ui/ct-failure-stream.html

Issue 555493005: [Sheriff-o-matic] Use before content hax to hide category labels instead of ever-present spans (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove premature builders category 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-failure-card.html"> 7 <link rel="import" href="ct-failure-card.html">
8 8
9 <polymer-element name="ct-failure-stream" attributes="groups commitLog tree cate gory" noscript> 9 <polymer-element name="ct-failure-stream" attributes="groups commitLog tree cate gory title" noscript>
10 <template> 10 <template>
11 <style> 11 <style>
12 :host { 12 :host {
13 display: block; 13 display: block;
14 } 14 }
15 15
16 ct-failure-card { 16 ct-failure-card {
17 margin-bottom: 5px; 17 margin-bottom: 5px;
18 padding: 5px; 18 padding: 5px;
19 border-top: 1px solid lightgrey; 19 border-bottom: 1px solid lightgrey;
20 }
21
22 /* FIXME: Don't use before hax to add labels */
23 ct-failure-card:first-of-type::before {
24 content: "{{ title }}:";
25 display: block;
26 font-weight: bold;
27 font-size: 18px;
28 padding: 5px;
29 background-color: #f5f5f5;
30 margin-bottom: 5px;
20 } 31 }
21 </style> 32 </style>
22 <!-- FIXME: Show a label based on the category when the filtered stream isn' t empty -->
23 <template repeat="{{ group in groups }}"> 33 <template repeat="{{ group in groups }}">
24 <template if="{{ group.category == category }}"> 34 <template if="{{ group.category == category }}">
25 <ct-failure-card group="{{ group }}" commitLog="{{ commitLog }}" tree="{ { tree }}"></ct-failure-card> 35 <ct-failure-card group="{{ group }}" commitLog="{{ commitLog }}" tree="{ { tree }}"></ct-failure-card>
26 </template> 36 </template>
27 </template> 37 </template>
28 </template> 38 </template>
29 </polymer-element> 39 </polymer-element>
OLDNEW
« no previous file with comments | « Tools/GardeningServer/ui/ct-failure-card.html ('k') | Tools/GardeningServer/ui/ct-unexpected-failures.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698