From b5023ae9e7ee7557c01791be67fc893d27acb9d5 Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Tue, 16 Aug 2016 18:38:18 -0300 Subject: [PATCH] send --- public/views/amount.html | 88 +++++++++ public/views/confirm.html | 81 +++++++++ public/views/feedback.html | 12 -- public/views/modals/inputAmount.html | 157 ---------------- public/views/tab-send.html | 4 +- .../{modals/inputAmount.js => amount.js} | 90 +++++---- src/js/controllers/confirm.js | 172 ++++++++++++++++++ src/js/controllers/search.js | 72 ++++++++ src/js/controllers/tab-send.js | 35 ++-- src/js/routes.js | 87 +++++---- 10 files changed, 547 insertions(+), 251 deletions(-) create mode 100644 public/views/amount.html create mode 100644 public/views/confirm.html delete mode 100644 public/views/feedback.html delete mode 100644 public/views/modals/inputAmount.html rename src/js/controllers/{modals/inputAmount.js => amount.js} (69%) create mode 100644 src/js/controllers/confirm.js create mode 100644 src/js/controllers/search.js diff --git a/public/views/amount.html b/public/views/amount.html new file mode 100644 index 000000000..85ba297c1 --- /dev/null +++ b/public/views/amount.html @@ -0,0 +1,88 @@ + + + Enter Amount + + + + + + + + + +
+ +
+ Recipient +
+ +
+ + {{toName || toAddress}} +
+ +
+ Amount +
+ + +
+ + + + +
{{amount || "0.00" }}
+
+ {{globalResult}} {{amountResult || '0.00'}} {{alternativeIsoCode}} +
+
+ {{globalResult}} {{alternativeResult || '0.00'}} {{unitName}} +
+
+
+ + +
+
+ + +
+
+
7
+
8
+
9
+
/
+
+ +
+
4
+
5
+
6
+
x
+
+ +
+
1
+
2
+
3
+
+
+
+ +
+
.
+
0
+
+
-
+
+
+
+
+
diff --git a/public/views/confirm.html b/public/views/confirm.html new file mode 100644 index 000000000..8fa5703a6 --- /dev/null +++ b/public/views/confirm.html @@ -0,0 +1,81 @@ + + + Send confirmation + + + + + + + + + + + + + + + + +
+
+ Sending +
{{amount}} {{unitName}}
+
{{alternativeAmount}} {{alternativeIsoCode}}
+
+
+ +
+
Fee: Economy (97 bits)
+ +
+ + +

{{toName || toAddress}}

+
+ +
+ + +
+ +
+ + +
+
    +
  • + + {{item.name || item.id}} + + {{item.m}}-of-{{item.n}} + + + Incomplete + + +
  • +
+
+
+
+
+ + +
+ Add Memo + +
+
+ +
+
+ Slide to complete + +
+
+
+ +
diff --git a/public/views/feedback.html b/public/views/feedback.html deleted file mode 100644 index ff62217b6..000000000 --- a/public/views/feedback.html +++ /dev/null @@ -1,12 +0,0 @@ - - - feedback - -   - - - - diff --git a/public/views/modals/inputAmount.html b/public/views/modals/inputAmount.html deleted file mode 100644 index 7af0e46a0..000000000 --- a/public/views/modals/inputAmount.html +++ /dev/null @@ -1,157 +0,0 @@ - - -
- -
- -

Enter amount

- -
- - -
- - -
- - - - - -
-
{{amount || '-'}}
-
- {{globalResult}} {{amountResult || '0.00'}} {{alternativeIsoCode}} -
-
- {{globalResult}} {{alternativeResult || '0.00'}} {{unitName}} -
-
- -
-
- - -
-
-
7
-
8
-
9
-
/
-
- -
-
4
-
5
-
6
-
x
-
- -
-
1
-
2
-
3
-
+
-
- -
-
.
-
0
-
-
-
-
-
-
- - - - - - -
-
- Sending -
{{sendingAmount}} {{unitName}}
-
{{sendingAlternativeAmount}} {{alternativeIsoCode}}
-
-
- -
- Fee: Economy (97 bits) - - - - -

{{recipientName}}

-
- - - - -

Focused Wallet (Default Wallet)

-
- - - Add Memo - - -
- -
-
- Slide to complete - -
-
-
-
-
diff --git a/public/views/tab-send.html b/public/views/tab-send.html index 956235e59..ec7a10448 100644 --- a/public/views/tab-send.html +++ b/public/views/tab-send.html @@ -12,11 +12,11 @@ -

Contacts & Wallets

+

Contacts & Wallets