From 93b935ee0ae9f0fba06780f035cc19e9c0e15442 Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Thu, 3 Dec 2015 13:43:59 -0300 Subject: [PATCH 1/3] New design for modals. Fix notification errors --- public/views/backup.html | 4 +- public/views/buyGlidera.html | 8 +- public/views/create.html | 12 +- public/views/import.html | 46 ++++---- public/views/join.html | 12 +- public/views/modals/txp-details.html | 167 ++++++++++++++------------- public/views/paperWallet.html | 5 +- public/views/sellGlidera.html | 4 +- public/views/walletHome.html | 57 +++++---- src/css/main.css | 7 +- src/css/mobile.css | 21 ++++ 11 files changed, 185 insertions(+), 158 deletions(-) diff --git a/public/views/backup.html b/public/views/backup.html index 33e4061c9..6dbd71fd3 100644 --- a/public/views/backup.html +++ b/public/views/backup.html @@ -20,8 +20,8 @@
- - {{wordsC.error}} + + {{wordsC.error|translate}}
diff --git a/public/views/buyGlidera.html b/public/views/buyGlidera.html index f60e945e3..bcab328de 100644 --- a/public/views/buyGlidera.html +++ b/public/views/buyGlidera.html @@ -35,8 +35,8 @@
-
- +
+ This operation was disabled because you have a pending first transaction
@@ -117,8 +117,8 @@

-
- +
+ {{buy.error}}
diff --git a/public/views/create.html b/public/views/create.html index e0254971e..d7b4fc04c 100644 --- a/public/views/create.html +++ b/public/views/create.html @@ -49,13 +49,13 @@
+
+ + {{create.error|translate}} + +
-
-
- - {{create.error|translate}} - -
+
-
-
- -
- - {{import.error|translate}} - -
+
+
+ + {{import.error|translate}} + +
+
+
-
-
- -
- - {{import.error|translate}} - -
+
+
+ + {{import.error|translate}} + +
+
+
-
-
-
- - {{import.error|translate}} - -
+
+
+ + {{import.error|translate}} + +
+
diff --git a/public/views/join.html b/public/views/join.html index fce9954f4..c587ff86e 100644 --- a/public/views/join.html +++ b/public/views/join.html @@ -34,13 +34,13 @@
+
+ + {{join.error|translate}} + +
-
-
- - {{join.error|translate}} - -
+
  • - Fee: + Fee {{tx.feeStr}}
  • - Time: + Time
  • - Created by: + Created by {{tx.creatorName}}
  • Warning: this transaction has unconfirmed inputs
    +

    Payment details

    • - To: + To {{tx.paypro.domain}} @@ -81,83 +139,36 @@
    • - Expires: + Expires
    • - Merchant Message: + Merchant Message {{tx.paypro.pr.pd.memo}}
    -

    Participants

    +

    +
    + {{tx.requiredSignatures}}/{{tx.walletN}} +
    + Participants +

    • {{ac.copayerName}} ({{'Me'|translate}}) - - - - + + Rejected + Signed
    -
    -
    - - {{error|translate}} - -
    - -
    - The payment was removed by creator -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    -
    Payment accepted, but not yet broadcasted
    - - -
    -
    -
    Payment accepted. It will be broadcasted by Glidera. In case there is a problem, it can be deleted 6 hours after it was created.
    -
    -
    - Payment Sent -
    -
    - Payment Rejected -
    -
    +
    diff --git a/public/views/paperWallet.html b/public/views/paperWallet.html index 53894df75..b06bf75f7 100644 --- a/public/views/paperWallet.html +++ b/public/views/paperWallet.html @@ -19,9 +19,8 @@ Sending funds...
    -
    - - {{paperWallet.error|translate}} +
    + {{paperWallet.error|translate}}
    diff --git a/public/views/sellGlidera.html b/public/views/sellGlidera.html index 1d2d7960a..bf948a1ef 100644 --- a/public/views/sellGlidera.html +++ b/public/views/sellGlidera.html @@ -35,8 +35,8 @@
    -
    - +
    + This operation was disabled because you have a pending first transaction
    diff --git a/public/views/walletHome.html b/public/views/walletHome.html index 295234259..68f182e9a 100644 --- a/public/views/walletHome.html +++ b/public/views/walletHome.html @@ -301,36 +301,33 @@
    +
    + + {{home.addrError|translate}} + +

    My Bitcoin address

    -
    -
    - - {{home.addrError|translate}} - -
    - -
    - -
    -
    -
    -
    -
    -
    -
    -
    -
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    -
    -

    - {{home.generatingAddress ? '...' : home.addr[index.walletId]}} +

    +
    +

    + {{home.generatingAddress ? '...' : home.addr[index.walletId]}} -

    -
    +
    @@ -386,14 +383,14 @@
    +
    + + {{home.error|translate}} + +
    -
    - -
    - - {{home.error|translate}} - -
    +
    +
    diff --git a/src/css/main.css b/src/css/main.css index e0cd00855..4318fc8af 100644 --- a/src/css/main.css +++ b/src/css/main.css @@ -75,7 +75,7 @@ h4.title a { .preferences h4, .modal-content h4, .walletHome h4, .glidera h4 { background: #F6F7F9; - padding: 25px 0px 5px 20px; + padding: 25px 0px 5px 10px; text-transform: uppercase; color: #555; font-size: 12px; @@ -272,9 +272,6 @@ input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill, inpu padding: 0.5rem; border-radius: 2px; background: #FFFFFF; - box-shadow: 1px 1px 0px 0px rgba(0,0,0,0.10); - margin: 0 auto; - margin-bottom: 1.6rem; } .box-notification .box-icon { @@ -482,6 +479,7 @@ ul.manage li { .m0 {margin: 0;} .p0i {padding: 0 !important;} .db {display: block;} +.dib {display: inline-block;} .size-10 { font-size: 10px; } .size-12 { font-size: 12px; } .size-14 { font-size: 14px; } @@ -529,6 +527,7 @@ ul.manage li { .p25l {padding-left: 25px;} .p15 {padding:15px;} .p20 {padding:20px;} +.p20t {padding-top:20px;} .p10 {padding:10px;} .p10b {padding-bottom:10px;} .p45t {padding-top:45px;} diff --git a/src/css/mobile.css b/src/css/mobile.css index c8f79cc39..585fa132e 100644 --- a/src/css/mobile.css +++ b/src/css/mobile.css @@ -744,6 +744,27 @@ textarea:focus padding-top: 1rem; } +.payment-proposal-head { + color: #fff; + padding: 0 10px 20px 10px; + text-align: center; +} + +.payment-proposal-to { + display: inline-block; + padding: 3px 15px; + background-color: rgba(0, 0, 0, 0.1); +} + +.payment-proposal-to i { + margin-right: 10px; + padding-right: 10px; + border-right: 1px solid; + border-color: rgba(0, 0, 0, 0.1); + font-size: 25px; + vertical-align: middle; +} + ::-webkit-input-placeholder { color: #B7C2CD; } From 69d83ec5278ae8be5643520c20e64f15a4a8d517 Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Thu, 3 Dec 2015 15:11:23 -0300 Subject: [PATCH 2/3] New design for transaction info --- public/views/modals/tx-details.html | 33 ++++++++++++++-------------- public/views/modals/txp-details.html | 8 +++---- src/css/main.css | 4 ++-- 3 files changed, 23 insertions(+), 22 deletions(-) diff --git a/public/views/modals/tx-details.html b/public/views/modals/tx-details.html index 1e1294504..8b1673cb4 100644 --- a/public/views/modals/tx-details.html +++ b/public/views/modals/tx-details.html @@ -15,11 +15,11 @@