From 8759b633fb8808f4cc508c13eb9ae7fb4d538c26 Mon Sep 17 00:00:00 2001 From: Javier Date: Tue, 31 May 2016 14:51:17 -0300 Subject: [PATCH] add transaction comment - custom popup (Gabriel) --- package.json | 2 +- public/views/includes/note.html | 7 ++ public/views/modals/paypro.html | 90 ++++++++++--------- public/views/modals/tx-details.html | 99 +++++++++++--------- public/views/modals/txp-details.html | 2 +- public/views/walletHome.html | 11 ++- src/css/ionic-migration.css | 8 ++ src/js/controllers/modals/txDetails.js | 119 +++++++++++++++++-------- 8 files changed, 205 insertions(+), 133 deletions(-) create mode 100644 public/views/includes/note.html diff --git a/package.json b/package.json index 366841eeb..ac580e726 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "url": "https://github.com/bitpay/copay/issues" }, "dependencies": { - "bitcore-wallet-client": "2.5.0", + "bitcore-wallet-client": "~2.5.0", "express": "^4.11.2", "fs": "0.0.2", "grunt": "^0.4.5", diff --git a/public/views/includes/note.html b/public/views/includes/note.html new file mode 100644 index 000000000..49008491b --- /dev/null +++ b/public/views/includes/note.html @@ -0,0 +1,7 @@ + +
+ +
+
+ +
diff --git a/public/views/modals/paypro.html b/public/views/modals/paypro.html index 393deb8b2..ca7599de5 100644 --- a/public/views/modals/paypro.html +++ b/public/views/modals/paypro.html @@ -11,54 +11,56 @@ - -
-
- {{unitTotal}} {{unitName}} + + -

Details

-
    -
  • - Pay To - {{paypro.domain}} -
  • -
  • - Address - {{paypro.toAddress}} -
  • -
  • - Certified by - - - - {{paypro.caName}}
    - (Trusted) -
    - - - Self-signed Certificate +

    Details

    +
      +
    • + Pay To + {{paypro.domain}} +
    • +
    • + Address + {{paypro.toAddress}} +
    • +
    • + Certified by + + + + {{paypro.caName}}
      + (Trusted)
      - - {{paypro.caName}}
      - WARNING: UNTRUSTED CERTIFICATE + + + Self-signed Certificate + + + {{paypro.caName}}
      + WARNING: UNTRUSTED CERTIFICATE +
      -
      -
    • -
    • - Memo - {{paypro.memo}} -
    • -
    • - Expires - {{paypro.expires * 1000 | amTimeAgo }} -
    • -
    +
  • +
  • + Memo + {{paypro.memo}} +
  • +
  • + Expires + {{paypro.expires * 1000 | amTimeAgo }} +
  • +
+
- \ No newline at end of file + diff --git a/public/views/modals/tx-details.html b/public/views/modals/tx-details.html index 181500889..a29ec80c5 100644 --- a/public/views/modals/tx-details.html +++ b/public/views/modals/tx-details.html @@ -6,13 +6,11 @@
-

- Transaction -

+

Transaction

- + diff --git a/public/views/modals/txp-details.html b/public/views/modals/txp-details.html index 1310923b6..81055b0eb 100644 --- a/public/views/modals/txp-details.html +++ b/public/views/modals/txp-details.html @@ -18,7 +18,7 @@
- +