From 206d01f71ed3b280fc8b513eca747bd08dca94bc Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Tue, 21 Apr 2015 15:22:58 -0300 Subject: [PATCH 1/4] Fix animation --- public/views/send.html | 4 ++-- public/views/walletHome.html | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/public/views/send.html b/public/views/send.html index 6647a6008..2ff9ce1aa 100644 --- a/public/views/send.html +++ b/public/views/send.html @@ -115,8 +115,8 @@ -
- {{send.onGoingProcess|translate}}... +
+ {{send.onGoingProcess|translate}}...
diff --git a/public/views/walletHome.html b/public/views/walletHome.html index c527cb240..e70bd45a4 100644 --- a/public/views/walletHome.html +++ b/public/views/walletHome.html @@ -15,14 +15,12 @@ -
- - - {{index.totalBalanceStr }} - +
+ + {{index.totalBalanceStr }}
-
+
Opening Wallet... Updating Status... Updating Balance... @@ -30,8 +28,10 @@ Scanning Wallet funds... Recreating Wallet on BWS...
-
- {{index.totalBalanceAlternative}} {{index.alternativeIsoCode}} +
+ {{index.totalBalanceAlternative}} {{index.alternativeIsoCode}}
From bfc1c61753cd8501f7a77ec58337d3f46c2e5374 Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Tue, 21 Apr 2015 16:32:25 -0300 Subject: [PATCH 2/4] Fix animation for wp --- public/views/send.html | 4 +-- public/views/walletHome.html | 55 +++++++++++++++++++----------------- 2 files changed, 31 insertions(+), 28 deletions(-) diff --git a/public/views/send.html b/public/views/send.html index 2ff9ce1aa..c69adbb86 100644 --- a/public/views/send.html +++ b/public/views/send.html @@ -115,8 +115,8 @@
-
- {{send.onGoingProcess|translate}}... +
+ {{send.onGoingProcess|translate}}...
diff --git a/public/views/walletHome.html b/public/views/walletHome.html index e70bd45a4..4583807b5 100644 --- a/public/views/walletHome.html +++ b/public/views/walletHome.html @@ -2,38 +2,41 @@
-
- Could not update Wallet -
[Tap to retry] -
- - -
- Scan status finished with error -
[Tap to retry] -
- - - +
+
+ Could not update Wallet +
[Tap to retry] +
+ +
+ Scan status finished with error +
[Tap to retry] +
+ +
- - {{index.totalBalanceStr }} - -
-
- Opening Wallet... - Updating Status... - Updating Balance... - Updating Pending Transactions... - Scanning Wallet funds... - Recreating Wallet on BWS... + {{index.totalBalanceStr}}
+ ng-class="{'animated fadeIn':!index.hideBalance && index.alternativeBalanceAvailable}" + ng-show="index.alternativeBalanceAvailable"> {{index.totalBalanceAlternative}} {{index.alternativeIsoCode}}
+
+ +
+
+ Opening Wallet... + Updating Status... + Updating Balance... + Updating Pending Transactions... + Scanning Wallet funds... + Recreating Wallet on BWS... +
+
+ +
{{index.walletName | limitTo: 1}}
From 68173e632e204a551cc5cbe2dbb1d3de5741821c Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Tue, 21 Apr 2015 17:00:32 -0300 Subject: [PATCH 3/4] Important fix for chrome app. Fix updating alternative amount --- Gruntfile.js | 2 -- public/views/walletHome.html | 9 +++++---- src/js/routes.js | 2 -- test/karma.conf.js | 2 -- 4 files changed, 5 insertions(+), 10 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index c062a6aef..1e77a305b 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -78,8 +78,6 @@ module.exports = function(grunt) { }, angular: { src: [ - 'bower_components/fastclick/lib/fastclick.js', - 'bower_components/modernizr/modernizr.js', 'bower_components/qrcode-generator/js/qrcode.js', 'bower_components/qrcode-decoder-js/lib/qrcode-decoder.js', 'bower_components/moment/min/moment-with-locales.js', diff --git a/public/views/walletHome.html b/public/views/walletHome.html index 4583807b5..24603c618 100644 --- a/public/views/walletHome.html +++ b/public/views/walletHome.html @@ -17,10 +17,11 @@
{{index.totalBalanceStr}}
-
- {{index.totalBalanceAlternative}} {{index.alternativeIsoCode}} +
+ + {{index.totalBalanceAlternative}} {{index.alternativeIsoCode}} +
diff --git a/src/js/routes.js b/src/js/routes.js index ef538d08a..317adff43 100644 --- a/src/js/routes.js +++ b/src/js/routes.js @@ -7,8 +7,6 @@ if (window && window.navigator) { var isaosp = (rxaosp && rxaosp[1] < 537); if (!window.cordova && isaosp) unsupported = true; - if (!Modernizr.localstorage) - unsupported = true; if (unsupported) { window.location = '#/unsupported'; } diff --git a/test/karma.conf.js b/test/karma.conf.js index 3b2cb70bd..881d6b189 100644 --- a/test/karma.conf.js +++ b/test/karma.conf.js @@ -15,8 +15,6 @@ module.exports = function(config) { // list of files / patterns to load in the browser files: [ - 'bower_components/fastclick/lib/fastclick.js', - 'bower_components/modernizr/modernizr.js', 'bower_components/qrcode-generator/js/qrcode.js', 'bower_components/qrcode-decoder-js/lib/qrcode-decoder.js', 'bower_components/moment/min/moment-with-locales.js', From 02c6cd6ed99ea31fcdfbdf872badfe49a2a263b0 Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Tue, 21 Apr 2015 17:35:11 -0300 Subject: [PATCH 4/4] Fix unsent transaction for 1-1 wallets --- public/views/walletHome.html | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/public/views/walletHome.html b/public/views/walletHome.html index 24603c618..f5344162c 100644 --- a/public/views/walletHome.html +++ b/public/views/walletHome.html @@ -99,15 +99,9 @@
-
-
-
-

Unsent transactions

-
-
-
-
+

Unsent transactions

+