diff --git a/public/index.html b/public/index.html index 613e465c5..a1d9133f9 100644 --- a/public/index.html +++ b/public/index.html @@ -38,7 +38,7 @@ ng-class="{'main': index.hasProfile, 'main-dark': mainDark, 'animation-left': index.swipeLeft, 'animation-right': index.swipeRight}" ui-view="main"> -
+
diff --git a/public/views/includes/clientError.html b/public/views/includes/clientError.html index de193f2cf..68f1c2666 100644 --- a/public/views/includes/clientError.html +++ b/public/views/includes/clientError.html @@ -5,7 +5,9 @@

Wallet Service Error

-
{{index.clientError.message || index.clientError}}
+
+ {{index.clientError.error || index.clientError.message || index.clientError}} +
diff --git a/public/views/includes/menu.html b/public/views/includes/menu.html index 6a1d5f8aa..78208dc95 100644 --- a/public/views/includes/menu.html +++ b/public/views/includes/menu.html @@ -1,9 +1,7 @@ -
-
- +
+
diff --git a/public/views/modals/txp-details.html b/public/views/modals/txp-details.html index dce76c29d..e0d86829b 100644 --- a/public/views/modals/txp-details.html +++ b/public/views/modals/txp-details.html @@ -11,7 +11,7 @@
-

Information

+

Information

  • To: @@ -85,21 +85,9 @@
-
+
The transaction was removed by creator -
- - -
- -
- * Only transactions created by yourself with no peer signatures can be removed -
-
+
@@ -142,5 +130,17 @@ Transaction finally rejected
+ +
+ +
+ * Only transactions created by yourself with no peer signatures can be removed +
+
+
diff --git a/public/views/receive.html b/public/views/receive.html index d17e24cb0..3fc6c72b0 100644 --- a/public/views/receive.html +++ b/public/views/receive.html @@ -1,77 +1,69 @@
-
-
- - - WARNING: Backup needed - -
-
- Before receiving funds, it is highly recommended you backup your wallet keys. -
- -
- - SKIP BACKUP - -
-
- - Backup now - -
-
+
+
+ + + WARNING: Backup needed + +
+
+ Before receiving funds, it is highly recommended you backup your wallet keys. +
-
-
-
-
- Generating a new address... -
+
+ + SKIP BACKUP + +
+
+ + Backup now +
-
-
- - {{receive.error|translate}} - -
- -
+ + diff --git a/public/views/walletHome.html b/public/views/walletHome.html index dab4dc1cc..82894d4a9 100644 --- a/public/views/walletHome.html +++ b/public/views/walletHome.html @@ -1,18 +1,17 @@ -
-
+
+
-
Could not update Wallet
Tap to retry
- +
Scan status finished with error
Tap to retry
- +
{{index.totalBalanceStr}} @@ -32,31 +31,27 @@
- -
-
-
{{index.walletName | limitTo: 1}}
-
-
-
-

- {{index.m}} of {{index.n}} -

-
- Multisignature wallet - Personal Wallet - - Testnet -
-
+
+
{{index.walletName | limitTo: 1}}
+ +
+

+ {{index.m}} of {{index.n}} +

+
+ Multisignature wallet + Personal Wallet + - Testnet
+
+
@@ -77,21 +72,21 @@
-
+
- - WARNING: Wallet not registered - -
-
- This wallet is not registered at the given Bitcore Wallet Service (BWS). You can recreate it from the local information. -
-
- Recreate - -
+ + WARNING: Wallet not registered + +
+
+ This wallet is not registered at the given Bitcore Wallet Service (BWS). You can recreate it from the local information. +
+
+ + Recreate + +
diff --git a/src/css/mobile.css b/src/css/mobile.css index 3bd3bf162..21404d8da 100644 --- a/src/css/mobile.css +++ b/src/css/mobile.css @@ -652,13 +652,13 @@ a.pin-button:active { .animation-left.ng-enter { -webkit-transform: translate3d(100%, 0, 0); transform: translate3d(100%, 0, 0); - -webkit-transition-delay: 0.1s; + -webkit-transition-delay: 0.05s; opacity: 0; } .animation-right.ng-enter { -webkit-transform: translate3d(-100%, 0, 0); transform: translate3d(-100%, 0, 0); - -webkit-transition-delay: 0.1s; + -webkit-transition-delay: 0.05s; opacity: 0; } .animation-left.ng-enter.ng-enter-active, @@ -672,15 +672,18 @@ a.pin-button:active { .animation-right.ng-leave { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); + opacity: 0; } .animation-left.ng-leave.animation-left.ng-leave-active { -webkit-transform: translate3d(-100%, 0, 0); transform: translate3d(-100%, 0, 0); + -webkit-transition-delay: 0.05s; opacity: 0; } .animation-right.ng-leave.animation-right.ng-leave-active { -webkit-transform: translate3d(100%, 0, 0); transform: translate3d(100%, 0, 0); + -webkit-transition-delay: 0.05s; opacity: 0; } diff --git a/src/js/controllers/index.js b/src/js/controllers/index.js index d18581154..ee699b1c1 100644 --- a/src/js/controllers/index.js +++ b/src/js/controllers/index.js @@ -6,12 +6,28 @@ angular.module('copayApp.controllers').controller('indexController', function($r self.onGoingProcess = {}; self.limitHistory = 5; - self.hideMenuBar = false; - function strip(number) { return (parseFloat(number.toPrecision(12))); }; + self.menu = [{ + 'title': 'Home', + 'icon': 'icon-home', + 'link': 'walletHome' + }, { + 'title': 'Receive', + 'icon': 'icon-receive', + 'link': 'receive' + }, { + 'title': 'Send', + 'icon': 'icon-paperplane', + 'link': 'send' + }, { + 'title': 'History', + 'icon': 'icon-history', + 'link': 'history' + }]; + self.setOngoingProcess = function(processName, isOn) { $log.debug('onGoingProcess', processName, isOn); self[processName] = isOn; @@ -193,6 +209,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r self.openWallet = function() { var fc = profileService.focusedClient; self.updateColor(); + $rootScope.$apply(); $timeout(function() { self.setOngoingProcess('openingWallet', true); self.updateError = false; diff --git a/src/js/controllers/menu.js b/src/js/controllers/menu.js deleted file mode 100644 index 53e9a0525..000000000 --- a/src/js/controllers/menu.js +++ /dev/null @@ -1,27 +0,0 @@ -'use strict'; - -angular.module('copayApp.controllers').controller('menuController', function($state) { - - this.menu = [{ - 'title': 'Home', - 'icon': 'icon-home', - 'link': 'walletHome' - }, { - 'title': 'Receive', - 'icon': 'icon-receive', - 'link': 'receive' - }, { - 'title': 'Send', - 'icon': 'icon-paperplane', - 'link': 'send' - }, { - 'title': 'History', - 'icon': 'icon-history', - 'link': 'history' - }]; - - this.go = function(state) { - $state.go(state); - }; - -}); diff --git a/src/js/controllers/walletHome.js b/src/js/controllers/walletHome.js index dbb0aa999..2450616cb 100644 --- a/src/js/controllers/walletHome.js +++ b/src/js/controllers/walletHome.js @@ -194,7 +194,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi }; $scope.cancel = function() { - $modalInstance.close(); + $modalInstance.dismiss('cancel'); }; };