cleanin gpu

This commit is contained in:
Jon Lambson 2017-08-21 16:06:38 -06:00
parent 4474e23042
commit 7c2cdd7042
4 changed files with 4 additions and 20 deletions

View File

@ -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',

View File

@ -1,10 +1,6 @@
app.controller('boltCtrl', [
'$scope', 'Auth',
function($scope, Auth) {
var vm = this;
vm.userName = function(profile){
profile = Auth.getProfile();
return profile.email;
};
}]);

View File

@ -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', [
});
};
}]);

View File

@ -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>