diff --git a/js/controllers.js b/js/controllers.js index 7e91f0bed..793e48cda 100644 --- a/js/controllers.js +++ b/js/controllers.js @@ -1,36 +1,6 @@ function MastheadController($scope) { $scope.template = 'partials/masthead.html'; - - $scope.hclass = 'active'; - $scope.cclass = ''; - $scope.iclass = ''; - $scope.sclass = ''; - - $scope.linkChange = function(link) { - $scope.hclass = ''; - $scope.cclass = ''; - $scope.iclass = ''; - $scope.sclass = ''; - - //This is shitty, I need help with this crap. - switch(link) { - case 'home': - $scope.hclass = 'active'; - break; - case 'containers': - $scope.cclass = 'active'; - break; - case 'images': - $scope.iclass = 'active'; - break; - case 'settings': - $scope.sclass = 'active'; - break; - default: - console.log('Not supported:' + link); - } - }; } function DashboardController($scope, Container) { diff --git a/partials/masthead.html b/partials/masthead.html index 7835148d5..a63e6df63 100644 --- a/partials/masthead.html +++ b/partials/masthead.html @@ -4,10 +4,10 @@
diff --git a/partials/statusbar.html b/partials/statusbar.html index d4abfe6ff..24feef1a9 100644 --- a/partials/statusbar.html +++ b/partials/statusbar.html @@ -1,3 +1,3 @@