From 45db939dd88498d8253f7a0f2e1ff63d2aadef43 Mon Sep 17 00:00:00 2001 From: bechi Date: Fri, 18 Jul 2014 18:56:39 -0300 Subject: [PATCH] send page --- css/main.css | 41 +++++++++++ views/send.html | 190 +++++++++++++++++++++++------------------------- 2 files changed, 130 insertions(+), 101 deletions(-) diff --git a/css/main.css b/css/main.css index a11dc13f0..bbf307aea 100644 --- a/css/main.css +++ b/css/main.css @@ -66,6 +66,11 @@ h3 { font-weight: 100; font-size: 22px; color: #2C3E50; + margin-bottom: 2rem; +} + +h4 { + font-size: 0.875rem; } body, html{ @@ -149,6 +154,7 @@ body, html{ .m10b {margin-bottom: 10px;} .m15b {margin-bottom: 20px;} .m10r {margin-right: 10px;} +.m15l {margin-left: 15px;} .m20r {margin-right: 20px;} .m10 {margin: 10px;} .m15 {margin: 15px;} @@ -565,6 +571,41 @@ button[disabled].warning:focus, height: 50px; } +.icon-input { + position: absolute; + top: 11px; + right: 20px; + font-size: 16px; + color: #fff; +} + +.icon-input .fi-check { + background-color: #1ABC9C; + padding: 0.2rem 0.4rem; +} + +.icon-input .fi-x { + background-color: #C0392A; + padding: 0.2rem 0.4rem; +} + +.send-bar { + background-color: #EDEDF5; + padding: 1.5rem; +} + +.row { + margin-left: -0.9375rem; +} + +.has-error { + color: #C0392A; +} + +.is-valid { + color: #1ABC9C; +} + input.ng-invalid-match, input.ng-invalid-match:focus { border-color: red; } diff --git a/views/send.html b/views/send.html index abf12a60b..60778eb36 100644 --- a/views/send.html +++ b/views/send.html @@ -1,119 +1,107 @@
-
-
+
+

{{title}}

- +
-
-
- -
- -
-
- -
-
- Cancel -
-
-
-
- -
-
- - - Get QR code - - -
-
-
- -
-
+

To address (*)

+
+ + + +
+ Valid + Not valid
-
+
+ +
+
+ Cancel +
+
+
+
+ +
+
+ + + Get QR code + + +
+
+
+ +
+
+
-
-
- - -
- {{$root.unitName}} -
-
+

Amount (*)

+
+ + + Use all funds ({{getAvailableAmount()}} {{$root.unitName}}) + +
+ Valid + Not valid + Insufficient funds + + +
-
- - Total amount for this transaction: - -
- {{amount + defaultFee |noFractionNumber}} {{$root.unitName}} - - {{ ((amount + defaultFee) * unitToBtc)|noFractionNumber:8}} BTC - -
- - Including fee of {{defaultFee|noFractionNumber}} {{$root.unitName}} - +
+ {{$root.unitName}}
-
+
-
-
- -
- -
-
+

Note +

+
+ + too long!
-
+
+
-
-
- +
+
Send to
+

address

+
+
+ Total amount for this transaction: +
+
+ {{amount + defaultFee |noFractionNumber}} {{$root.unitName}} + + {{ ((amount + defaultFee) * unitToBtc)|noFractionNumber:8}} BTC +
+ + Including fee of {{defaultFee|noFractionNumber}} {{$root.unitName}} +
- -
-
-
+
+ +
+
+ + +

Address Book

Empty. Create an alias for your addresses