Split index.html in many files smaller. New right column when the wallet is ready. Removed templates selector.
This commit is contained in:
parent
6bad4ae59d
commit
0a027360a8
28 changed files with 1394 additions and 1749 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue