<div ng-controller="Developer.WorkspaceController">
  <div class="row">
    <div hawtio-breadcrumbs></div>
  </div>

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

  <div class="row">
    <div class="col-md-12">
      <a class="btn btn-default pull-right"
              href="{{baseUri}}/kubernetes/workspaces"><i class="fa fa-list"></i></a>
      <span class="pull-right">&nbsp;</span>
      <a class="btn btn-default pull-right" ng-show="entity.$configLink"
              title="View the workspace configuration"
              href="{{entity.$configLink}}">
        Configuration
      </a>
      <span class="pull-right">&nbsp;</span>
      <a class="btn btn-default pull-right" ng-show="entity.$podLink"
              title="View the workspace pod"
              href="{{entity.$podLink}}">
        Pod
      </a>
      <span class="pull-right">&nbsp;</span>
      <a class="btn btn-primary pull-right" ng-show="entity.$logsLink"
              title="View the workspace logs"
              href="{{entity.$logsLink}}">
        View Log
      </a>
    </div>
  </div>
  <div class="row">
    <div class="col-md-12">
      <div ng-hide="model.fetched">
        <div class="align-center">
          <i class="fa fa-spinner fa-spin"></i>
        </div>
      </div>
      <div ng-show="model.fetched">
        <div hawtio-object="entity" config="config"></div>
      </div>
    </div>
  </div>
</div>
