diff --git a/js/directives.js b/js/directives.js index 6649261f8..6e79ac871 100644 --- a/js/directives.js +++ b/js/directives.js @@ -256,23 +256,6 @@ angular.module('copayApp.directives') } }; }) -// From https://gist.github.com/asafge/7430497 -.directive('ngReallyClick', [ - - function() { - return { - restrict: 'A', - link: function(scope, element, attrs) { - element.bind('click', function() { - var message = attrs.ngReallyMessage; - if (message && confirm(message)) { - scope.$apply(attrs.ngReallyClick); - } - }); - } - } - } -]) .directive('showFocus', function($timeout) { return function(scope, element, attrs) { scope.$watch(attrs.showFocus, diff --git a/views/modals/wallet-info.html b/views/modals/wallet-info.html index fd25372db..300024827 100644 --- a/views/modals/wallet-info.html +++ b/views/modals/wallet-info.html @@ -1,4 +1,5 @@ -
+
+

{{item.name || item.id }}

{{item.requiredCopayers}} of {{item.totalCopayers}} - {{networkName}} @@ -29,16 +30,9 @@ ng-show="isSafari || isCordova"> View Backup

- +
@@ -54,4 +48,24 @@
+ +
+

Are you sure you want to delete the wallet + {{(item.name || item.id)}} +

+
+ +
+
+ +
+
diff --git a/views/profile.html b/views/profile.html index 54ac59ef3..f291758a7 100644 --- a/views/profile.html +++ b/views/profile.html @@ -128,9 +128,21 @@ Delete Profile

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

- Delete Profile - +
+ Delete Profile + +
+
+

Are you sure you want to delete this profile?

+
+
+ Cancel +
+
+ Delete +
+
+