summaryrefslogtreecommitdiffstats
path: root/vbd/gui/module/src/main/resources/vpp/views/index.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/index.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/index.tpl.html')
-rw-r--r--vbd/gui/module/src/main/resources/vpp/views/index.tpl.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/vbd/gui/module/src/main/resources/vpp/views/index.tpl.html b/vbd/gui/module/src/main/resources/vpp/views/index.tpl.html
new file mode 100644
index 000000000..add7f7854
--- /dev/null
+++ b/vbd/gui/module/src/main/resources/vpp/views/index.tpl.html
@@ -0,0 +1,16 @@
+<div ng-controller="vppCtrl">
+ <md-toolbar>
+ <div class="md-toolbar-tools float-left">
+ <span flex></span>
+ <md-button ng-click="setMainView('inventory')">Inventory</md-button>
+ <span flex></span>
+ <md-button ng-click="setMainView('bridgeDomains')">Bridge Domains</md-button>
+ <span flex></span>
+ </div>
+ </md-toolbar>
+
+ <div ng-view style="height: 100%">
+ <section ng-if="mainView === 'inventory'" ng-include src="view_path+'inventory-table.tpl.html'"></section>
+ <section ng-if="mainView === 'bridgeDomains'" ng-include src="view_path+'bridge-domains.tpl.html'"></section>
+ </div>
+</div> \ No newline at end of file