From d2bdca00f4440cb918b76d6d48b0db5e2b52c9be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20Baz=C3=A1n?= Date: Fri, 10 Jun 2016 15:16:02 -0300 Subject: [PATCH] ionic modals in coinbase and glidera and delete confirmation --- public/views/buyCoinbase.html | 4 +- public/views/coinbase.html | 2 +- .../views/modals/coinbase-confirmation.html | 32 +-- public/views/modals/coinbase-tx-details.html | 212 +++++++++--------- public/views/modals/confirmation.html | 30 +-- public/views/modals/glidera-confirmation.html | 32 +-- public/views/modals/glidera-tx-details.html | 134 +++++------ public/views/modals/wallets.html | 84 +++---- public/views/sellCoinbase.html | 4 +- src/js/controllers/buyCoinbase.js | 72 +++--- src/js/controllers/buyGlidera.js | 63 ++---- src/js/controllers/coinbase.js | 55 +---- src/js/controllers/copayers.js | 42 ++-- src/js/controllers/glidera.js | 55 ++--- .../modals/coinbaseConfirmation.js | 20 ++ .../controllers/modals/coinbaseTxDetails.js | 18 ++ src/js/controllers/modals/confirmation.js | 15 ++ .../controllers/modals/glideraConfirmation.js | 18 ++ src/js/controllers/modals/glideraTxDetails.js | 9 + src/js/controllers/modals/wallets.js | 30 +++ src/js/controllers/preferencesCoinbase.js | 39 +--- src/js/controllers/preferencesDelete.js | 42 ++-- src/js/controllers/preferencesGlidera.js | 40 +--- src/js/controllers/sellCoinbase.js | 109 +++++---- src/js/controllers/sellGlidera.js | 67 ++---- src/js/controllers/tx.js | 75 ------- src/js/controllers/walletHome.js | 2 +- src/sass/main.scss | 4 + 28 files changed, 579 insertions(+), 730 deletions(-) create mode 100644 src/js/controllers/modals/coinbaseConfirmation.js create mode 100644 src/js/controllers/modals/coinbaseTxDetails.js create mode 100644 src/js/controllers/modals/confirmation.js create mode 100644 src/js/controllers/modals/glideraConfirmation.js create mode 100644 src/js/controllers/modals/glideraTxDetails.js create mode 100644 src/js/controllers/modals/wallets.js delete mode 100644 src/js/controllers/tx.js diff --git a/public/views/buyCoinbase.html b/public/views/buyCoinbase.html index 553a6a6b0..620a90a6a 100644 --- a/public/views/buyCoinbase.html +++ b/public/views/buyCoinbase.html @@ -24,7 +24,7 @@ -
@@ -105,7 +105,7 @@
-
+

Funds sent to Copay Wallet

diff --git a/public/views/coinbase.html b/public/views/coinbase.html index 7111704c9..6e93206f9 100644 --- a/public/views/coinbase.html +++ b/public/views/coinbase.html @@ -10,7 +10,7 @@ -

+
diff --git a/public/views/modals/coinbase-confirmation.html b/public/views/modals/coinbase-confirmation.html index ad8e7207b..c243c0f28 100644 --- a/public/views/modals/coinbase-confirmation.html +++ b/public/views/modals/coinbase-confirmation.html @@ -1,16 +1,18 @@ -
-
-

Are you sure you would like to log out of your Coinbase account?

-

You will need to log back in to buy or sell bitcoin in Copay.

-
- + +
+
+

Are you sure you would like to log out of your Coinbase account?

+

You will need to log back in to buy or sell bitcoin in Copay.

+
+ +
+
+ +
+
-
- -
-
-
+ diff --git a/public/views/modals/coinbase-tx-details.html b/public/views/modals/coinbase-tx-details.html index c3252dfb4..1eb355e59 100644 --- a/public/views/modals/coinbase-tx-details.html +++ b/public/views/modals/coinbase-tx-details.html @@ -1,107 +1,109 @@ - + + -