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

Side by Side Diff: Tools/GardeningServer/ui/ct-builder-grid.html

Issue 541123002: Move builderList creation to ct-failure-card (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased 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="../model/ct-builder.html"> 7 <link rel="import" href="../model/ct-builder.html">
8 <link rel="import" href="../model/ct-builder-list.html"> 8 <link rel="import" href="../model/ct-builder-list.html">
9 <link rel="import" href="ct-builder.html"> 9 <link rel="import" href="ct-builder.html">
10 10
11 <polymer-element name="ct-builder-grid" attributes="failures"> 11 <polymer-element name="ct-builder-grid" attributes="builderList">
12 <template> 12 <template>
13 <style> 13 <style>
14 ct-builder { 14 ct-builder {
15 display: block; 15 display: block;
16 } 16 }
17 </style> 17 </style>
18 <template repeat="{{ builder in _builderList.builders }}"> 18 <template repeat="{{ builder in builderList.builders }}">
19 <ct-builder builder="{{ builder }}"></ct-builder> 19 <ct-builder builder="{{ builder }}"></ct-builder>
20 </template> 20 </template>
21 </template> 21 </template>
22 <script> 22 <script>
23 Polymer({ 23 Polymer({
24 failures: null, 24 builderList: null,
25 _builderList: null,
26
27 failuresChanged: function() {
28 this._builderList = new CTBuilderList(this.failures);
29 },
30 }); 25 });
31 </script> 26 </script>
32 </polymer-element> 27 </polymer-element>
OLDNEW
« no previous file with comments | « Tools/GardeningServer/ui/ct-bot-failure-card.html ('k') | Tools/GardeningServer/ui/ct-failure-card.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698