diff options
author | Daniel Malachovsky <daniel.malachovsky@pantheon.sk> | 2016-02-09 20:16:14 +0100 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2016-02-09 22:03:21 +0000 |
commit | 514939ff19a8838e45934f90af039fbeea12fd40 (patch) | |
tree | 1bd242504dc8ecf862c66a0abefd4775ccde71b4 /vbd/gui/module/src/main/resources/vpp/views/inventory-detail.tpl.html | |
parent | 5aa62ee7d2be070b2ffef0443b59c8891ed06845 (diff) |
Design changes p. 1
- fixed some design flaws
- added tunnel table into inventory detail
- added filter to remove vxlan_tunnel from interfaces list in bd mnager
Change-Id: Ia9f0ca737d062ed2ed57734561dbece34d20b7c3
Signed-off-by: Daniel Malachovsky <daniel.malachovsky@pantheon.sk>
Diffstat (limited to 'vbd/gui/module/src/main/resources/vpp/views/inventory-detail.tpl.html')
-rw-r--r-- | vbd/gui/module/src/main/resources/vpp/views/inventory-detail.tpl.html | 33 |
1 files changed, 31 insertions, 2 deletions
diff --git a/vbd/gui/module/src/main/resources/vpp/views/inventory-detail.tpl.html b/vbd/gui/module/src/main/resources/vpp/views/inventory-detail.tpl.html index 1fc3fa617..9d08cf67d 100644 --- a/vbd/gui/module/src/main/resources/vpp/views/inventory-detail.tpl.html +++ b/vbd/gui/module/src/main/resources/vpp/views/inventory-detail.tpl.html @@ -11,7 +11,12 @@ <!-- right aligned detail --> <div class="md-sidenav-left md-whiteframe-z2" flex layout-margin> <md-content layout-padding> - <h3>VPP Detail</h3> + <div style="float: left"> + <h3>VPP Detail</h3> + </div> + <div style="float: right"> + <md-button ng-click="setMainView('inventory')" class="md-raised">Back to VPP List</md-button> + </div> <table class="table table-striped"> <tbody> @@ -37,6 +42,30 @@ </tr> </tbody> </table> + + <div style="float: left"> + <h3>VXLAN Tunnel</h3> + </div> + <table st-table="displayInterfaceList" st-safe-src="selectedVpp.interfaces" class="table table-striped"> + <thead> + <tr> + <th st-sort="name" class="interactive">Name</th> + <th st-sort="oper-status" class="interactive" >Oper Status</th> + <th st-sort="admin-status" class="interactive">Admin Status</th> + <th st-sort="v3po:vxlan.src" class="interactive">Source IP</th> + <th st-sort="v3po:vxlan.src" class="interactive">Destination IP</th> + </tr> + </thead> + <tbody> + <tr ng-repeat="interface in displayInterfaceList | filter: filterGetVxlanIf"> + <td>{{interface.name}}</td> + <td>{{interface['admin-status']}}</td> + <td>{{interface['phys-address']}}</td> + <td>{{interface['v3po:vxlan'].src}}</td> + <td>{{interface['v3po:vxlan'].dst}}</td> + </tr> + </tbody> + </table> </md-content> </div> </div> @@ -56,7 +85,7 @@ </tr> </thead> <tbody> - <tr ng-repeat="interface in displayInterfaceList"> + <tr ng-repeat="interface in displayInterfaceList | filter: filterRemoveVxlanIf"> <td>{{interface.name}}</td> <td>{{interface['oper-status']}}</td> <td>{{interface['admin-status']}}</td> |