| Index: Tools/GardeningServer/ui/ct-builder-failure-card.html
|
| diff --git a/Tools/GardeningServer/ui/ct-builder-failure-card.html b/Tools/GardeningServer/ui/ct-builder-failure-card.html
|
| index b84ece438a54354a8869c9648625582278959cb4..5d26cbc459d55fead904001badec4ee49fdd62d4 100644
|
| --- a/Tools/GardeningServer/ui/ct-builder-failure-card.html
|
| +++ b/Tools/GardeningServer/ui/ct-builder-failure-card.html
|
| @@ -8,9 +8,14 @@ found in the LICENSE file.
|
| <link rel="import" href="ct-commit-list.html">
|
| <link rel="import" href="ct-test-list.html">
|
|
|
| -<polymer-element name="ct-builder-failure-card" attributes="group builderList" noscript>
|
| +<polymer-element name="ct-builder-failure-card" attributes="group" noscript>
|
| <template>
|
| <style>
|
| + :host {
|
| + display: flex;
|
| + flex: 1;
|
| + }
|
| +
|
| ct-builder-grid {
|
| margin-right: 10px;
|
| width: 250px;
|
| @@ -20,7 +25,7 @@ found in the LICENSE file.
|
| flex: 1;
|
| }
|
| </style>
|
| - <ct-builder-grid builderList="{{ builderList }}"></ct-builder-grid>
|
| + <ct-builder-grid builderList="{{ _builderList }}"></ct-builder-grid>
|
| <div id="failure">
|
| <template if="{{ group.failure.step == 'building' }}">
|
| Running
|
| @@ -31,6 +36,20 @@ found in the LICENSE file.
|
| for {{ group.failure.testName }}
|
| </div>
|
| </template>
|
| + <script>
|
| + Polymer({
|
| + group: null,
|
| + _builderList: null,
|
| +
|
| + observe: {
|
| + 'group.failure': '_updateBuilderList',
|
| + },
|
| +
|
| + _updateBuilderList: function() {
|
| + this._builderList = new CTBuilderList(this.group.failure);
|
| + },
|
| + });
|
| + </script>
|
| </polymer-element>
|
|
|
|
|
|
|