From df2811eebaead0ad824ff7b79dc7940befd17c7e Mon Sep 17 00:00:00 2001 From: Javier Date: Thu, 26 May 2016 15:02:00 -0300 Subject: [PATCH] homogenized modals - add addressbook modal --- public/views/modals/addressbook.html | 135 ++++++++ public/views/modals/destination-address.html | 150 --------- public/views/modals/paypro.html | 17 +- .../{searchTransactions.html => search.html} | 21 +- public/views/modals/tx-details.html | 288 +++++++++--------- public/views/walletHome.html | 2 +- src/css/ionic-migration.css | 4 + src/js/controllers/modals/addressbook.js | 153 ++++++++++ src/js/controllers/modals/paypro.js | 3 +- src/js/controllers/modals/search.js | 10 + src/js/controllers/modals/txDetails.js | 2 - src/js/controllers/walletHome.js | 206 ++----------- src/sass/main.scss | 5 +- 13 files changed, 499 insertions(+), 497 deletions(-) create mode 100644 public/views/modals/addressbook.html delete mode 100644 public/views/modals/destination-address.html rename public/views/modals/{searchTransactions.html => search.html} (86%) create mode 100644 src/js/controllers/modals/addressbook.js create mode 100644 src/js/controllers/modals/search.js diff --git a/public/views/modals/addressbook.html b/public/views/modals/addressbook.html new file mode 100644 index 000000000..6c83ae286 --- /dev/null +++ b/public/views/modals/addressbook.html @@ -0,0 +1,135 @@ + +
+ + + + + +
+
\ No newline at end of file diff --git a/public/views/modals/destination-address.html b/public/views/modals/destination-address.html deleted file mode 100644 index 493ab09bf..000000000 --- a/public/views/modals/destination-address.html +++ /dev/null @@ -1,150 +0,0 @@ -
- - - -
diff --git a/public/views/modals/paypro.html b/public/views/modals/paypro.html index 278ecf555..11d977f61 100644 --- a/public/views/modals/paypro.html +++ b/public/views/modals/paypro.html @@ -1,10 +1,15 @@ - - - {{'Close'|translate}} - -

Payment request

-
+
diff --git a/public/views/modals/searchTransactions.html b/public/views/modals/search.html similarity index 86% rename from public/views/modals/searchTransactions.html rename to public/views/modals/search.html index 7f528b8cf..c43fe8343 100644 --- a/public/views/modals/searchTransactions.html +++ b/public/views/modals/search.html @@ -1,12 +1,17 @@ - - - - {{'Close'|translate}} - -

Search Transactions

-
- + + +