From 90136f1c3080dcf1dad9fb64a6d18ab9abc932e9 Mon Sep 17 00:00:00 2001 From: Ivan Socolsky Date: Mon, 1 Dec 2014 12:13:11 -0300 Subject: [PATCH] added controls to ux --- js/controllers/profile.js | 4 ++++ views/profile.html | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/js/controllers/profile.js b/js/controllers/profile.js index 92238910c..5eaea7953 100644 --- a/js/controllers/profile.js +++ b/js/controllers/profile.js @@ -4,6 +4,7 @@ angular.module('copayApp.controllers').controller('ProfileController', function( $scope.isSafari = Object.prototype.toString.call(window.HTMLElement).indexOf('Constructor') > 0; $rootScope.title = 'Profile'; + $scope.hideAdv = true; $scope.downloadProfileBackup = function() { backupService.profileDownload($rootScope.iden); @@ -53,4 +54,7 @@ angular.module('copayApp.controllers').controller('ProfileController', function( }); }; + $scope.deleteProfile = function () { + + }; }); diff --git a/views/profile.html b/views/profile.html index a0d0a6160..85e07270a 100644 --- a/views/profile.html +++ b/views/profile.html @@ -37,6 +37,7 @@ +
@@ -94,4 +95,35 @@
+ +
+ +
+ +
+ +
+
+
+
+

+ Delete Profile +

+

Permanently delete this profile and all its wallets. WARNING: this action cannot be reversed.

+ Delete Profile + +
+
+
+