Split signin.html in home, join and open files. Signin process with responsive support

This commit is contained in:
Gustavo Maximiliano Cortez 2014-07-23 17:10:02 -03:00
commit 9875e9d643
21 changed files with 329 additions and 288 deletions

10
js/controllers/home.js Normal file
View file

@ -0,0 +1,10 @@
'use strict';
angular.module('copayApp.controllers').controller('HomeController',
function($scope, $rootScope, walletFactory, notification) {
$scope.loading = false;
if ($rootScope.pendingPayment) {
notification.info('Login Required', 'Please open wallet to complete payment');
}
$scope.hasWallets = walletFactory.getWallets().length > 0 ? true : false;
});