add manage page to create/join/import/delete wallets
This commit is contained in:
parent
29bbfa184c
commit
d9cd2e95d4
5 changed files with 36 additions and 9 deletions
3
js/controllers/manage.js
Normal file
3
js/controllers/manage.js
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
'use strict';
|
||||
angular.module('copayApp.controllers').controller('ManageController', function($scope, $rootScope, $location, controllerUtils) {
|
||||
});
|
||||
|
|
@ -202,7 +202,9 @@ Storage.prototype.clearAll = function(cb) {
|
|||
this.db.clear(cb);
|
||||
};
|
||||
|
||||
Storage.prototype.decrypt = function(base64) {
|
||||
Storage.prototype.decrypt = function(base64, password) {
|
||||
// password
|
||||
|
||||
var decryptedStr = this._decrypt(base64);
|
||||
return JSON.parse(decryptedStr);
|
||||
};
|
||||
|
|
|
|||
|
|
@ -60,6 +60,10 @@ angular
|
|||
templateUrl: 'views/warning.html',
|
||||
validate: true
|
||||
})
|
||||
.when('/manage', {
|
||||
templateUrl: 'views/manage.html',
|
||||
validate: true
|
||||
})
|
||||
.otherwise({
|
||||
templateUrl: 'views/errors/404.html',
|
||||
title: 'Error'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue