From ee2f2ffb824995e96e311d8cdc8f0bfa94b8cebc Mon Sep 17 00:00:00 2001 From: bechi Date: Thu, 13 Nov 2014 17:42:41 -0300 Subject: [PATCH 1/4] notification & form-erro on setting --- css/src/main.css | 37 +++++++++++++++++++++++++++++++------ views/settings.html | 23 ++++++++++++++++++----- 2 files changed, 49 insertions(+), 11 deletions(-) diff --git a/css/src/main.css b/css/src/main.css index 08dcc6312..929906d84 100644 --- a/css/src/main.css +++ b/css/src/main.css @@ -324,6 +324,7 @@ a:hover { } .box-setup { + margin-bottom: 7rem; padding: 1.3rem; border-radius: 2px; background: #FFFFFF; @@ -338,6 +339,29 @@ a:hover { font-size: 12px; } +.box-notification { + height: 41px; + position: relative; + font-size: 12px; + width: 70%; + padding: 0.9rem 0.7rem 0.7rem 3rem; + border-radius: 4px; + background: #F2F5F8; + margin: 0 auto; +} + +.box-notification .box-icon { + margin-right: 77px; + position: absolute; + top: 0; + left: 0; + color: white; + background-color: #1ABC9C; + padding: 0.5rem; + border-top-left-radius: 4px; + border-bottom-left-radius: 4px; +} + .last-transactions { margin-bottom: 2rem; background-color: #E8EAEF; @@ -1211,21 +1235,22 @@ a:hover .photo-container { } .icon-input { - position: absolute; - top: 11px; - right: 20px; - font-size: 16px; + font-size: 9px; color: #fff; + vertical-align: middle; + margin-right: 3px; } .icon-input .fi-check { + padding: .1rem .3rem; background-color: #1ABC9C; - padding: 0.2rem 0.4rem; + border-radius: 100%; } .icon-input .fi-x { + padding: .1rem .3rem; background-color: #C0392A; - padding: 0.2rem 0.4rem; + border-radius: 100%; } .box-status { diff --git a/views/settings.html b/views/settings.html index e5a82163f..4e0d2008f 100644 --- a/views/settings.html +++ b/views/settings.html @@ -7,7 +7,14 @@

{{title|translate}}

- +
+
+ +
+ + {{message|translate}} + +
Language - - not valid + +
+ + Not valid +
From c594885e3f0c3c47e3e9a59d5cdf98024e289d12 Mon Sep 17 00:00:00 2001 From: bechi Date: Thu, 13 Nov 2014 17:47:19 -0300 Subject: [PATCH 2/4] fix color --- views/settings.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/views/settings.html b/views/settings.html index 4e0d2008f..bdbe204c4 100644 --- a/views/settings.html +++ b/views/settings.html @@ -36,7 +36,7 @@
-
+
Insight API server is open-source software. You can run your own instances, check Insight API Homepage
@@ -45,7 +45,7 @@ -
+
Wallets and profiles are stored encrypted using your password as a key. You can store the encrypted data locally, on your platform, or remotely on the Insight Server. More pluggins are welcomed!
@@ -53,7 +53,7 @@ Log level -
+
Log level shows information on the console. This is usefull to find bugs and help users. 'debug' is the most verbose level while 'fatal' only shows unexcpected errors
From 1b8c001aa449588050585ccfa7a492485d8cb492 Mon Sep 17 00:00:00 2001 From: bechi Date: Fri, 14 Nov 2014 14:58:04 -0300 Subject: [PATCH 3/4] fix new profile --- css/src/main.css | 34 +++++++++++++++++++++++---- views/createProfile.html | 50 ++++++++++++++++++++++------------------ 2 files changed, 57 insertions(+), 27 deletions(-) diff --git a/css/src/main.css b/css/src/main.css index 929906d84..a05723473 100644 --- a/css/src/main.css +++ b/css/src/main.css @@ -77,6 +77,16 @@ header .alt-currency { background: #16A085; } +.panel h3, .box-setup h3 { + font-weight: 700; + font-size: 16px; + color: #2C3E50; + text-transform: uppercase; + border-bottom: 1px solid #E5E7EA; + margin-bottom: 1.5rem; + padding: 0 0 0.8rem; +} + .alt-currency { background: #2C3E50; padding: 0.05rem 0.2rem; @@ -348,6 +358,7 @@ a:hover { border-radius: 4px; background: #F2F5F8; margin: 0 auto; + margin-bottom: 1.6rem; } .box-notification .box-icon { @@ -362,6 +373,11 @@ a:hover { border-bottom-left-radius: 4px; } +.box-notification .box-icon.error { + background-color: #C0392A; +} + + .last-transactions { margin-bottom: 2rem; background-color: #E8EAEF; @@ -848,6 +864,14 @@ input { border: 0; } +label { + text-transform: uppercase; + font-weight: 700; + font-size: 11px; + color: #34495E; + padding: 0 0.2rem 0.3rem; +} + button.radius, .button.radius { -webkit-border-radius: 3px; border-radius: 3px; @@ -908,6 +932,12 @@ input[type='submit'] appearance: none; } + +input[type=date], input[type=datetime-local], input[type=datetime], input[type=email], input[type=month], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=time], input[type=url], input[type=week], textarea { + color: #7A8C9E; + margin-bottom: 1.3rem; +} + button.secondary, .button.secondary { color: #fff; @@ -1327,10 +1357,6 @@ a.text-warning:hover {color: #FD7262;} border: 0; } -.box-setup h3 { - color: #fff; -} - .box-setup h1 { font-size: 16px; text-transform: uppercase; diff --git a/views/createProfile.html b/views/createProfile.html index dabf355f1..acef90c98 100644 --- a/views/createProfile.html +++ b/views/createProfile.html @@ -10,45 +10,49 @@
-

Create Profile

+

Create Profile

+
+
+ +
+ + {{error|translate}} + +
+ + + + Not valid + + - -
-

- - {{error|translate}} -

+
+ + + + {{'Passwords must match'|translate}} + + - - -

- - {{'Passwords must match'|translate}} -

+ match="password" required >
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+
+ + + Get QR code + + +
+
+
+ +
+
-
-
+
+
+
+ + + + Not valid + + + + +
+ {{$root.wallet.settings.unitName}} +
+
+
+
+
+ +
+ +
+
+ {{alternativeIsoCode}} +
+
+
+
+ +
+
+

This is a payment protocol transaction

+
+

+ Send to: + {{$root.merchant.domain}} +

+

+ Total amount for this transaction: + {{amount + defaultFee |noFractionNumber}} {{$root.wallet.settings.unitName}} + + {{ rateService.toFiat((amount + defaultFee) * unitToSatoshi, alternativeIsoCode) | noFractionNumber: 2 }} {{ alternativeIsoCode }} + + + (Including fee of + {{defaultFee|noFractionNumber}} + {{$root.wallet.settings.unitName}}) + +

+

+ Server Says: + {{$root.merchant.pr.pd.memo}} +

+

+ Certificate: + {{$root.merchant.pr.ca}} + Untrusted +

+

+ Payment Expiration: + {{$root.merchant.expiration}} +

+
+
+
+ +
+
+ + +
+
+ +
+
+ +
+
+ +