blob: 3335ad3954be422048c5a9e422448ffe42d78d9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
<div ng-controller="InventoryTableController">
<md-button ng-click="addVppShowForm()">Mount VPP</md-button>
<md-button ng-click="getVppList()">Reload VPPs</md-button>
<md-content layout-padding>
<table st-table="displayVppList" st-safe-src="vppList" class="table table-striped">
<thead>
<tr>
<th st-sort="name">VPP Name</th>
<th st-sort="ipAddress">IP Address</th>
<th st-sort="port">Port</th>
<th st-sort="status">Connection Status</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="vpp in displayVppList">
<td>{{vpp.name}}</td>
<td>{{vpp.ipAddress}}</td>
<td>{{vpp.port}}</td>
<td>{{vpp.status}}</td>
<td>
<md-button ng-click="viewTopology(vpp)">View Topology</md-button>
<md-button ng-click="editVppShowForm(vpp)" ng-hide="vpp.status === 'connected'">Edit</md-button>
<md-button ng-click="deleteVpp(vpp)" >Delete</md-button>
</td>
</tr>
</tbody>
</table>
</md-content>
</div>
|