summaryrefslogtreecommitdiffstats
path: root/vbd/gui/module/src/main/resources/vpp/views/inventory-table.tpl.html
diff options
context:
space:
mode:
authorVarun Seereeram <vseereer@cisco.com>2016-02-04 05:15:51 -0800
committerRobert Varga <nite@hq.sk>2016-02-04 17:32:32 +0100
commit882ddc69b05a4001718d90aa9c57f1e13d80aa0d (patch)
tree1345178f9dba4b72906836b47477c67ba2809431 /vbd/gui/module/src/main/resources/vpp/views/inventory-table.tpl.html
parent517c7d143f399e7343082e2e7978ace2260271a8 (diff)
GUI initial commit
- open ui on http://controllerIp:8181/index.html - added interfaces to vpp topo. - fixed VPP mounting - fixed VPP Editing and deleting Change-Id: I6ae2c6e5781d3e0cdb78b112d706b9f5076301d5 Signed-off-by: Daniel Malachovsky <daniel.malachovsky@pantheon.sk> Signed-off-by: Varun Seereeram <vseereer@cisco.com> Signed-off-by: Robert Varga <nite@hq.sk>
Diffstat (limited to 'vbd/gui/module/src/main/resources/vpp/views/inventory-table.tpl.html')
-rw-r--r--vbd/gui/module/src/main/resources/vpp/views/inventory-table.tpl.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/vbd/gui/module/src/main/resources/vpp/views/inventory-table.tpl.html b/vbd/gui/module/src/main/resources/vpp/views/inventory-table.tpl.html
new file mode 100644
index 000000000..ad24bce14
--- /dev/null
+++ b/vbd/gui/module/src/main/resources/vpp/views/inventory-table.tpl.html
@@ -0,0 +1,28 @@
+<div ng-controller="InventoryTableController">
+ <md-button ng-click="addVppShowForm()">Mount VPP</md-button>
+ <md-button ng-click="getVppList()">Reload VPPs</md-button>
+ <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> \ No newline at end of file