Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed some login issue & modded api ref
  • Loading branch information
adl13006 committed Dec 2, 2015
1 parent fd752dc commit c44ba43
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
Binary file modified API_REF.xlsx
Binary file not shown.
5 changes: 3 additions & 2 deletions TeamDBAwesome/TeamDBAwesome/js/userController.js
Expand Up @@ -7,8 +7,9 @@ angular.module('routerApp').controller('userController', function ($q, $window,

// Logging out
$scope.logout = function () {
$cookies.remove('userid');
$state.go('partial-home');
// $cookies.remove('userid');
// $state.go('user-home');
console.log("Happening");
}

// Customer Information Editing
Expand Down
Expand Up @@ -5,7 +5,7 @@
</style>


<div ng-controller="adminController">
<div ng-controller="userController">
<nav class="navbar navbar-inverse navbar-fixed-top navbar-xs" role="navigation">
<div class="container">
<div class="navbar ">
Expand Down
6 changes: 4 additions & 2 deletions TeamDBAwesome/TeamDBAwesome/pages/templates/user-header.html
Expand Up @@ -17,7 +17,7 @@
}
</style>

<div ng-controller='userController'>
<div ng-controller="adminController">
<nav class="navbar navbar-inverse navbar-fixed-top navbar-xs" role="navigation">
<div class="container">
<div class="navbar ">
Expand All @@ -43,7 +43,9 @@
</a>
</li>
<li>
<center> <span class="glyphicon glyphicon glyphicon glyphicon-console" aria-hidden="true" ng-click="logout()"><br></span>&nbsp;Logout</center>
<a ng-click="logout()">
<center><span class="glyphicon glyphicon glyphicon-log-out" aria-hidden="true"><br></span>&nbsp;Logout</center>
</a>
</li>
</ul>
</div>
Expand Down

0 comments on commit c44ba43

Please sign in to comment.