diff --git a/src/main/webapp/WEB-INF/jsp/index.jsp b/src/main/webapp/WEB-INF/jsp/index.jsp index f5eb87bc2..5ee07724e 100644 --- a/src/main/webapp/WEB-INF/jsp/index.jsp +++ b/src/main/webapp/WEB-INF/jsp/index.jsp @@ -33,6 +33,9 @@ + + + diff --git a/src/main/webapp/components/header.html b/src/main/webapp/components/header.html index fec7efac5..40a8e9065 100644 --- a/src/main/webapp/components/header.html +++ b/src/main/webapp/components/header.html @@ -2,7 +2,7 @@
- - - + - + - + - + - - + \ No newline at end of file diff --git a/src/main/webapp/components/main/MainController.js b/src/main/webapp/components/main/MainController.js index 1f9641e0d..f89a37040 100644 --- a/src/main/webapp/components/main/MainController.js +++ b/src/main/webapp/components/main/MainController.js @@ -1,5 +1,17 @@ var MainController = function($scope, $rootScope, $state) { + $scope.getSession = function() { + return $scope.session; + }; + + $scope.login = function() { + $scope.session = { 'username' : 'test' }; + }; + + $scope.logout = function() { + $scope.session = null; + }; + $scope.menuTabs = [ { 'name' : 'Main Page', 'url' : '#', diff --git a/src/main/webapp/components/owners/owners.html b/src/main/webapp/components/owners/owners.html index 104b6d311..5b017ad73 100644 --- a/src/main/webapp/components/owners/owners.html +++ b/src/main/webapp/components/owners/owners.html @@ -19,7 +19,7 @@ -
+