<!--
Copyright 2014 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->

<polymer-element name="ct-builder" attributes="builder" noscript>
  <template>
    <style>
      a {
        border: 1px solid gray;
        display: inline-block;
        font-size: 11px;
        margin-bottom: 2px;
        padding: 1px;
        text-decoration: none;
      }

      span {
        background-color: #555;
        color: white;
        padding: 0 2px;
      }
    </style>
    <a href="{{ builder.buildUrl }}">
      <span>{{ builder.builder }}</span>
    </a>
  </template>
</polymer-element>
