Fixes transition of splash and creating wallet

This commit is contained in:
Gustavo Maximiliano Cortez 2015-04-20 10:02:41 -03:00
commit a82f477c20
4 changed files with 12 additions and 56 deletions

View file

@ -1079,18 +1079,9 @@ input.ng-invalid-match, input.ng-invalid-match:focus {
font-weight: normal;
}
.panel.splash {
.splash .start-button {
position: absolute;
height: 93.8%;
z-index: 10;
}
.panel.splash button {
position: absolute;
bottom: 1rem;
left: 1rem;
width: 90.5%;
z-index: 9999;
bottom: 0;
}
.preferences li {

View file

@ -21,49 +21,11 @@ angular
url: '/splash',
needProfile: false,
views: {
'splash': {
template: '<div ui-view="steps"></div>',
controller: function($state) {
$state.transitionTo('splash.one');
}
}
}
})
.state('splash.one', {
views: {
'steps': {
'main': {
templateUrl: 'views/splash/1.html'
}
}
})
.state('splash.two', {
views: {
'steps': {
templateUrl: 'views/splash/2.html'
}
}
})
.state('splash.three', {
views: {
'steps': {
templateUrl: 'views/splash/3.html'
}
}
})
.state('splash.four', {
views: {
'steps': {
templateUrl: 'views/splash/4.html'
}
}
})
.state('splash.five', {
views: {
'steps': {
templateUrl: 'views/splash/5.html'
}
}
})
.state('walletHome', {
url: '/',
walletShouldBeComplete: true,
@ -88,7 +50,10 @@ angular
needProfile: false,
views: {
'main': {
templateUrl: 'views/createProfile.html'
templateUrl: 'views/createProfile.html',
controller: function($scope) {
$scope.mainDark = true;
}
}
}
})