From 6055164412d7fa3dd0db63de8c5a387672e7f644 Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Sat, 3 Jan 2015 17:22:06 -0300 Subject: [PATCH] fix all unloggead forms --- js/controllers/createProfile.js | 8 +++++++- views/createProfile.html | 24 +++++++++++++----------- views/home.html | 10 +++++----- 3 files changed, 25 insertions(+), 17 deletions(-) diff --git a/js/controllers/createProfile.js b/js/controllers/createProfile.js index c4cfa4b20..08551ab6b 100644 --- a/js/controllers/createProfile.js +++ b/js/controllers/createProfile.js @@ -22,6 +22,8 @@ angular.module('copayApp.controllers').controller('CreateProfileController', fun pinService.makePinInput($scope, 'newpin', function(newValue) { _firstpin = newValue; $scope.askForPin = 2; + $scope.hideForWP = 0; + }); pinService.makePinInput($scope, 'repeatpin', function(newValue) { @@ -29,7 +31,9 @@ angular.module('copayApp.controllers').controller('CreateProfileController', fun _firstpin = null; $scope.createPin(newValue); } else { - $scope.askForPin = 1; + $scope.askForPin = 1; + $scope.hideForWP = 0; + _firstpin = null; $scope.setPinForm.newpin.$setViewValue(''); @@ -156,6 +160,8 @@ angular.module('copayApp.controllers').controller('CreateProfileController', fun password: password, }; $scope.askForPin = 1; + $scope.hideForWP = 0; + $rootScope.hideNavigation = true; $timeout(function() { $rootScope.$digest(); diff --git a/views/createProfile.html b/views/createProfile.html index 8abd44750..bf17708f5 100644 --- a/views/createProfile.html +++ b/views/createProfile.html @@ -20,8 +20,8 @@
clipo
-

Creating in the cloud

-

Creating on this device

+

Creating in the cloud

+

Creating on this device

@@ -29,9 +29,9 @@ clipo
-

Creating on this device

-

Creating in the cloud

-
{{userOrEmail}}
+

Creating on this device

+

Creating in the cloud

+
{{userOrEmail}}
@@ -149,10 +149,12 @@
-
- - -
+
+ +
+
+ +
Password Strength: {{passwordStrength.message}} @@ -213,11 +215,11 @@
- +
- +
diff --git a/views/home.html b/views/home.html index da3b0712e..66b5adb11 100644 --- a/views/home.html +++ b/views/home.html @@ -38,11 +38,11 @@
- +
- +
@@ -65,7 +65,7 @@
-
+
clipo
@@ -79,7 +79,7 @@
- +
@@ -131,7 +131,7 @@
- +