summaryrefslogtreecommitdiffstats
path: root/vbd/gui/module/src/main/resources/vpp/main.js
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/main.js
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/main.js')
-rw-r--r--vbd/gui/module/src/main/resources/vpp/main.js20
1 files changed, 20 insertions, 0 deletions
diff --git a/vbd/gui/module/src/main/resources/vpp/main.js b/vbd/gui/module/src/main/resources/vpp/main.js
new file mode 100644
index 000000000..5ca86fd5f
--- /dev/null
+++ b/vbd/gui/module/src/main/resources/vpp/main.js
@@ -0,0 +1,20 @@
+require.config({
+ paths : {
+ 'angular-material' : 'app/vpp/bower_components/angular-material/angular-material.min',
+ 'angular-animate' : 'app/vpp/bower_components/angular-animate/angular-animate.min',
+ 'angular-aria' : 'app/vpp/bower_components/angular-aria/angular-aria.min',
+ 'angular-smart-table' : 'app/vpp/bower_components/angular-smart-table/dist/smart-table',
+ 'lodash' : 'app/vpp/assets/js/lodash.min',
+ 'next': 'app/vpp/assets/js/next',
+ },
+
+ shim : {
+ 'angular-material' : ['angular'],
+ 'angular-animate' : ['angular'],
+ 'angular-aria' : ['angular'],
+ 'angular-smart-table' : ['angular'],
+ },
+
+});
+
+define(['app/vpp/vpp.module']);