<div ng-controller="Kubernetes.BuildLogsController">
  <div class="row">
    <div hawtio-breadcrumbs></div>
  </div>

  <div class="row">
    <div hawtio-tabs></div>
  </div>

  <div class="row">
    <div class="col-md-12">
      <span class="pull-right">&nbsp;</span>
      <a class="btn btn-default pull-right" ng-show="entity.$viewLink"
         title="View the build detail"
         href="{{entity.$viewLink}}">
        Build
      </a>
      <a class="btn btn-primary pull-right" ng-show="entity.$configLink"
         title="View the build configuration"
         href="{{entity.$configLink}}">
        Configuration
      </a>
    </div>
  </div>
  <div class="row">
    <div class="col-md-12">
      <div ng-hide="fetched">
        <div class="align-center">
          <i class="fa fa-spinner fa-spin"></i>
        </div>
      </div>
      <div ng-show="fetched">
        <h3>logs for {{entity.$configId}}</h3>

        <p>
          <pre>
            <code>
              {{logsText}}
            </code>
          </pre>
        </p>
      </div>
    </div>
  </div>
</div>
