<div>

<div class="row">
  <div class="col">
    <div class="mt-4 pull-right">
      <button type="button" class="btn btn-secondary btn-sm" id="add-asset" ng-click="addAsset()">
        <span class="fas fa-plus"></span> Add Asset
      </button>
    </div>
  </div>
</div>
<p></p>
<div class="table-responsive">
  <table class="table table-striped table-sm">
    <thead>
      <tr>
        <th>Name</th>
        <th>Value</th>
        <th><span class="pull-right">Actions</span></th>
      </tr>
    </thead>
    <tbody>
      <tr ng-repeat="asset in node.assets">
        <td>{{asset.name}}</td>
        <td>{{asset.value}}</td>
        <td>
          <span class="pull-right">
            <button type="button" class="btn btn-secondary btn-sm" uib-tooltip="Edit the asset" ng-click="editAsset($index)">
              <span class="fas fa-pencil"></span>
            </button>
            <button type="button" class="btn btn-secondary btn-sm" uib-tooltip="Remove the asset" ng-click="removeAsset($index)">
              <span class="fas fa-trash-can"></span>
            </button>
          </span>
        </td>
      </tr>
    </tbody>
  </table>
</div>

</div>
