From d970d670f98e80b656b3f0189ee786c86eb58690 Mon Sep 17 00:00:00 2001 From: Manuel Araoz Date: Tue, 27 May 2014 17:58:04 -0300 Subject: [PATCH] UI changes to setup and signin --- index.html | 20 ++++++++++++-------- js/controllers/signin.js | 9 --------- 2 files changed, 12 insertions(+), 17 deletions(-) diff --git a/index.html b/index.html index b2012aa34..4fcec18d3 100644 --- a/index.html +++ b/index.html @@ -191,9 +191,11 @@

Create a new wallet

- - - + +
@@ -272,6 +274,7 @@
+

Create new wallet

Select total number of copayers
+
Your Wallet Password(doesn't need to be shared) Required
+
Wallet name Optional
- +
-
+
Your name Optional
- +
diff --git a/js/controllers/signin.js b/js/controllers/signin.js index 721959d25..057b548ba 100644 --- a/js/controllers/signin.js +++ b/js/controllers/signin.js @@ -13,15 +13,6 @@ angular.module('copay.signin').controller('SigninController', $scope.openPassword = ''; $scope.create = function(form) { - if (form && form.$invalid) { - $rootScope.$flashMessage = { message: 'Please, enter required fields', type: 'error'}; - return; - } - - $rootScope.walletName = form.walletName.$modelValue; - $rootScope.walletPassword = form.createPassword.$modelValue; - - $location.path('setup'); };