Split index.html in many files smaller. New right column when the wallet is ready. Removed templates selector.

This commit is contained in:
Gustavo Maximiliano Cortez 2014-07-16 17:59:28 -03:00
commit 0a027360a8
28 changed files with 1394 additions and 1749 deletions

View file

@ -2,10 +2,18 @@
angular.module('copayApp.controllers').controller('BackupController',
function($scope, $rootScope, $location, $window, $timeout, $modal, backupService, walletFactory, controllerUtils) {
$scope.download = function() {
backupService.download($rootScope.wallet);
$scope.backup = function() {
var w = $rootScope.wallet;
w.setBackupReady();
backupService.download(w);
};
$scope.dowloadBackup = function() {
var w = $rootScope.wallet;
backupService.download(w);
}
$scope.deleteWallet = function() {
var w = $rootScope.wallet;
w.disconnect();