mirror of
https://github.com/ysoftdevs/pf2015.git
synced 2026-01-15 16:23:55 +01:00
add badges bar
This commit is contained in:
@@ -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();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user