<div class="modal" tabindex="-1" role="dialog">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <h4 class="modal-title">{{title}}</h4>
      </div>
      <div class="modal-body">
        <table class="table">
          <thead>
            <tr>
              <th>Macro Step</th>
              <th>Status</th>
            </tr>
          </thead>
          <tbody>
            <tr ng-repeat="step in macro track by $index">

                <td>{{step.name}}</td>
                <td>
                  <span ng-show="step.isTesting"><i class="fa fa-spin fa-circle-o-notch"></i>&nbsp;Testing</span>
                  <span class="text-success" ng-show="step.isCompleted"><i class="fa fa-check"></i>&nbsp;Completed</span>
                  <span class="text-danger" ng-show="step.isError"><i class="fa fa-times"></i>&nbsp;Request Failed</span>
                </td>

            </tr>
          </tbody>
        </table>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-primary" ng-disabled="!macroCompleted" ng-click="$hide()">OK</button>
        <button type="button" class="btn btn-danger" ng-click="cancel();$hide()">Cancel</button>
      </div>
    </div>
  </div>
</div>
