add badges bar

This commit is contained in:
Juraj Michalek
2014-12-30 17:32:05 +00:00
parent 41c2761004
commit 5659ff118e
5 changed files with 115 additions and 17 deletions

View File

@@ -3,6 +3,8 @@ angular.module('level-selector', ['LocalStorageModule'])
$scope.isLevelSelectorVisible = true;
$scope.isInfoVisible = false;
$scope.levelLock = [
{state:'unlocked', text:'1'},
{state:'locked', text:'2'},
@@ -67,6 +69,14 @@ angular.module('level-selector', ['LocalStorageModule'])
}
};
$scope.showInfo = function() {
$scope.isInfoVisible = true;
};
$scope.hideInfo = function() {
$scope.isInfoVisible = false;
};
var init = function() {
$scope.loadConfiguration();
};