summaryrefslogtreecommitdiffstats
path: root/vbd/gui/module/src/main/resources/vpp/views/inventory-table.tpl.html
blob: 4f15332de189c91f704141cd9fdb057eff541f5a (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
32
<div ng-controller="InventoryTableController">
	<md-button ng-click="addVppShowForm()">Mount VPP</md-button>
	<md-button ng-click="getVppList()">Reload VPPs</md-button>
    <!--FIXME: decide which element to use, if static, or ui-grid-->
	<!--<table class="footable">
	 	<thead>
	 		<tr>
	 			<th>VPP Name</th>
	 			<th>IP Address</th>
	 			<th>Port</th>
	 			<th>Connection Status</th>
	 			<th>Actions</th>
	 		</tr>
	 	</thead>
	 	<tbody>
	 		<tr ng-repeat="vpp in vppList">
	 			<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>-->
	<div ng-controller="InventoryTableDefinitonController" class="black">
		<div ui-grid="gridOptions" ui-grid-expandable class="grid"></div>
	</div>
</div>