This commit is contained in:
Matias Alejo Garcia 2014-12-06 17:54:02 -03:00
parent 90195c0f38
commit f13e71b045
4 changed files with 11 additions and 11 deletions

View File

@ -117,8 +117,8 @@ angular.module('copayApp.controllers').controller('CreateProfileController', fun
// mobile
if ($scope.isMobile) {
_credentials = {
email: form.email.$modelValue,
password: form.password.$modelValue,
email: emailOrUsername,
password: password,
};
$scope.askForPin = 1;
$rootScope.hideNavigation = true;

View File

@ -89,14 +89,14 @@ angular.module('copayApp.controllers').controller('SettingsController', function
}),
},
function() {
notification.success('Settings saved');
notification.success('Settings saved',"Settings were saved");
$location.path('/');
});
};
$scope.reset = function() {
configService.reset(function() {
notification.success('Settings reseted');
notification.success('Settings reseted',"Settings were reseted");
$location.path('/');
});
};

View File

@ -20,7 +20,7 @@
</div>
</div>
<div class="large-4 large-centered medium-6 medium-centered columns m20b" ng-show="!loading && !askForPin">
<div class="large-5 large-centered medium-6 medium-centered columns m20b" ng-show="!loading && !askForPin">
<div class="logo-setup hide-for-small-only">
<img src="img/logo-negative-beta.svg" alt="Copay" width="100">
<div ng-include="'views/includes/version.html'"></div>

View File

@ -20,7 +20,7 @@
</div>
</div>
<div class="large-4 large-centered medium-7 medium-centered columns" ng-show="!$root.starting">
<div class="large-5 large-centered medium-7 medium-centered columns" ng-show="!$root.starting">
<div class="logo-setup" ng-show="!$root.iden">
<img src="img/logo-negative-beta.svg" alt="Copay" width="100">
<div ng-include="'views/includes/version.html'"></div>
@ -164,22 +164,22 @@
<div class="box-setup-footer">
<div class="right">
<a class="button-setup text-gray" ng-click="$root.go('#!/settings')">
<a class="button-setup text-gray" ng-click="$root.go('/settings')">
<i class="icon-wrench"></i>
<span translate>Settings</span>
</a>
</div>
<div class="left m10r">
<a class="button-setup text-gray" ng-click="$root.go('#!/createProfile')">
<a class="button-setup text-gray" ng-click="$root.go('/createProfile')">
<i class="icon-person"></i>
<span translate>Create a profile</span>
<span translate>Create profile</span>
</a>
</div>
<div class="left">
<a class="button-setup text-gray" ng-click="$root.go('#!/importProfile')">
<a class="button-setup text-gray" ng-click="$root.go('/importProfile')">
<i class="icon-upload"></i>
<span translate>Import a profile</span>
<span translate>Import</span>
</a>
</div>
</div>