Home | History | Annotate | Download | only in ui
      1 <!--
      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
      4 found in the LICENSE file.
      5 -->
      6 
      7 <link rel="import" href="ct-builder.html">
      8 
      9 <polymer-element name="ct-builder-failure-card" attributes="group" noscript>
     10   <template>
     11     <style>
     12       :host {
     13         display: block;
     14       }
     15       div {
     16         margin-bottom: 10px;
     17       }
     18     </style>
     19     <div>
     20       <ct-builder builder="{{ group.builder }}"></ct-builder>
     21       <template if="{{ group.failure.state }}">
     22         {{ group.failure.state == 'building' ? 'running' : group.failure.state }}
     23       </template>
     24       for {{ group.failure.hoursSinceLastUpdate }} hours.
     25     </div>
     26     <div>
     27       {{ group.failure.pendingBuilds }} pending builds.
     28     </div>
     29   </template>
     30 </polymer-element>
     31 
     32 
     33