cleanin gpu
This commit is contained in:
parent
4474e23042
commit
7c2cdd7042
|
@ -11,10 +11,12 @@ app.config(['$stateProvider', '$urlRouterProvider', 'localStorageServiceProvider
|
|||
data: { requiresLogin: false },
|
||||
url: '/splash-page',
|
||||
templateUrl: '/templates/splash-page.html',
|
||||
controller: 'loginCtrl as vm'
|
||||
})
|
||||
.state('app',{
|
||||
data: { requiresLogin: true },
|
||||
url: '/',
|
||||
controller: 'loginCtrl as vm',
|
||||
views: {
|
||||
'header': {
|
||||
templateUrl: '/templates/partials/header.html',
|
||||
|
|
|
@ -3,8 +3,4 @@ app.controller('boltCtrl', [
|
|||
function($scope, Auth) {
|
||||
|
||||
var vm = this;
|
||||
vm.userName = function(profile){
|
||||
profile = Auth.getProfile();
|
||||
return profile.email;
|
||||
};
|
||||
}]);
|
||||
|
|
|
@ -123,14 +123,9 @@ app.controller('loginCtrl', [
|
|||
vm.setIssuer(vm.defaultIssuer);
|
||||
|
||||
vm.getSession = function() {
|
||||
console.log('asdf');
|
||||
return Auth.select(Auth.session);
|
||||
};
|
||||
|
||||
$scope.$watch('vm.session', function (newValue, oldValue) {
|
||||
vm.session = newValue;
|
||||
});
|
||||
|
||||
vm.initListLoggedInProfiles = function () {
|
||||
vm.activeProfiles = Auth.getActiveSessions();
|
||||
};
|
||||
|
@ -157,5 +152,4 @@ app.controller('loginCtrl', [
|
|||
});
|
||||
};
|
||||
|
||||
|
||||
}]);
|
||||
|
|
|
@ -1,13 +1,7 @@
|
|||
<div notification-directive></div>
|
||||
|
||||
<div achievement-directive></div>
|
||||
|
||||
<div upload-directive></div>
|
||||
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<div class="media">
|
||||
<h5 class="media-heading">System Message > Jane Smith {{ vm.session }}</h5>
|
||||
<h5 class="media-heading">System Message > <span ng-bind="vm.session.subject"></span></h5>
|
||||
<hr>
|
||||
<div class="media-left">
|
||||
<div class="image-thing"><i class="fa fa-bullhorn fa-3x" aria-hidden="true"></i></div>
|
||||
|
@ -39,5 +33,3 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div todo-directive></div>
|
||||
|
|
Loading…
Reference in New Issue