Skip to content
Permalink
Browse files

Some cleaning up

  • Loading branch information
adl13006 committed Dec 10, 2015
1 parent bb65e81 commit 2736dcd30e7aa99490d24592c7b9588cc8f9539d
@@ -75,7 +75,8 @@ angular.module('routerApp').controller('homeController', function ($scope, $http
else {
$cookies.put("userid", user.username);
console.log($cookies.get('userid'));
$cookies.put('name', response.firstname);
console.log(response);
$cookies.put('name', response.FName);
$state.go('user-home');
}
})
@@ -555,4 +555,5 @@ angular.module('routerApp').controller('userController', function ($q, $window,
}

//End Playlist Editor
$scope.name = $cookies.get('name');
});
@@ -2,7 +2,7 @@
<div class="row">
<div ng-controller='homeController'>
<div class="text-center">
<h1>Please sign in</h1> use user 1
<h1>Please sign in</h1>
</div>
<div class="row">
<div class="col-sm-6 col-sm-offset-3">
@@ -17,7 +17,15 @@
</style>

<div ng-controller="userController" data-ng-init="initPortal()">
<center><h1>~~ Browse our Media ~~</h1></center>
<center><pre><h3>Welcome {{name}}</h3>
____ _ _ _ __ __ _ _
/ ___| |__ ___ ___| | __ ___ _ _| |_ ___ _ _ _ __ | \/ | ___ __| (_) __ _
| | | '_ \ / _ \/ __| |/ / / _ \| | | | __| / _ \| | | | '__| | |\/| |/ _ \/ _` | |/ _` |
| |___| | | | __/ (__| < | (_) | |_| | |_ | (_) | |_| | | | | | | __/ (_| | | (_| |
\____|_| |_|\___|\___|_|\_\ \___/ \__,_|\__| \___/ \__,_|_| |_| |_|\___|\__,_|_|\__,_|


</pre></center>
<form name="myForm">
<table>
<td width="90%"><center><input type="text" ng-model="token" class="form-control" placeholder="Search our music database!" /></center></td>

0 comments on commit 2736dcd

Please sign in to comment.
You can’t perform that action at this time.