ONOS-1934 - CORD-GUI -- CSS for demo user page and navigation bar. Updated bundles page to use the new JSON format. WIP.
Change-Id: I8d6b8c5c5d3de0a23d9cb7e2ccf7529bb27de299
diff --git a/apps/demo/cord-gui/src/main/webapp/app/view/home/home.js b/apps/demo/cord-gui/src/main/webapp/app/view/home/home.js
index b4b8a0d..be600f7 100644
--- a/apps/demo/cord-gui/src/main/webapp/app/view/home/home.js
+++ b/apps/demo/cord-gui/src/main/webapp/app/view/home/home.js
@@ -17,8 +17,7 @@
(function () {
'use strict';
- var before = 'http://localhost:8080/rs/dashboard/0',
- after = 'http://localhost:8080/rs/dashboard/1';
+ var url = 'http://localhost:8080/rs/dashboard';
angular.module('cordHome', [])
.controller('CordHomeCtrl', ['$log', '$scope', '$resource',
@@ -26,7 +25,7 @@
var DashboardData, resource;
$scope.page = 'dashboard';
- DashboardData = $resource(before);
+ DashboardData = $resource(url);
resource = DashboardData.get({},
// success
function () {