From f00574140a63784956db13094f47fb4148301dbf Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Thu, 13 Oct 2016 11:45:45 -0300 Subject: [PATCH] Fix styling for import/export views --- src/sass/views/export.scss | 15 ++++ src/sass/views/import.scss | 12 +++ src/sass/views/tab-receive.scss | 2 +- src/sass/views/views.scss | 2 + www/views/export.html | 8 +- www/views/import.html | 13 ++-- www/views/tab-export-file.html | 126 ++++++++++++++++--------------- www/views/tab-export-qrCode.html | 10 +-- www/views/tab-import-phrase.html | 20 ++--- 9 files changed, 119 insertions(+), 89 deletions(-) create mode 100644 src/sass/views/export.scss create mode 100644 src/sass/views/import.scss diff --git a/src/sass/views/export.scss b/src/sass/views/export.scss new file mode 100644 index 000000000..61ecfd63d --- /dev/null +++ b/src/sass/views/export.scss @@ -0,0 +1,15 @@ +#export { + .list { + background-color: #fff; + } + .top-tabs.row { + padding: 0; + } + .top-tabs .col { + font-size: 14px; + cursor: pointer; + padding: 10px 5px; + border-bottom-width: 2px; + border-bottom-color: #172565; + } +} diff --git a/src/sass/views/import.scss b/src/sass/views/import.scss new file mode 100644 index 000000000..1edb3406c --- /dev/null +++ b/src/sass/views/import.scss @@ -0,0 +1,12 @@ +#import { + .top-tabs.row { + padding: 0; + } + .top-tabs .col { + font-size: 14px; + cursor: pointer; + padding: 10px 5px; + border-bottom-width: 2px; + border-bottom-color: #172565; + } +} diff --git a/src/sass/views/tab-receive.scss b/src/sass/views/tab-receive.scss index 0192e213f..e38b8be30 100644 --- a/src/sass/views/tab-receive.scss +++ b/src/sass/views/tab-receive.scss @@ -14,7 +14,7 @@ background: #fff; .incomplete { padding: 50px; - height: 350px; + height: 352px; .title { padding: 20px; font-size: 25px; diff --git a/src/sass/views/views.scss b/src/sass/views/views.scss index 7ecf39b7a..0112476f3 100644 --- a/src/sass/views/views.scss +++ b/src/sass/views/views.scss @@ -17,6 +17,8 @@ @import "zero-state"; @import "onboarding/onboarding"; @import "includes/actionSheet"; +@import "export"; +@import "import"; @import "includes/walletActivity"; @import "includes/wallets"; @import "includes/modals/modals"; diff --git a/www/views/export.html b/www/views/export.html index bdec27e4a..b6117ced1 100644 --- a/www/views/export.html +++ b/www/views/export.html @@ -1,4 +1,4 @@ - + {{'Export wallet' | translate}} @@ -6,11 +6,11 @@ -
-
+
+
File/Text
-
+
QR Code
diff --git a/www/views/import.html b/www/views/import.html index 45bda015e..b5ce0d8fb 100644 --- a/www/views/import.html +++ b/www/views/import.html @@ -1,4 +1,4 @@ - + {{'Import Wallet' | translate}} @@ -6,14 +6,17 @@ -
-
+
+
Recovery phrase
-
+
File/Text
-
+
Hardware wallet
diff --git a/www/views/tab-export-file.html b/www/views/tab-export-file.html index f9a67b08a..8198f5cec 100644 --- a/www/views/tab-export-file.html +++ b/www/views/tab-export-file.html @@ -5,7 +5,7 @@
-
+
+ +
+
+ + Show advanced options + Hide advanced options + + + + Do not include private key + +
+ +
+ + + + WARNING: The private key of this wallet is not available. The export allows to check the wallet balance, transaction history, and create spend proposals from the export. However, does not allow to approve (sign) proposals, so funds will not be accessible from the export. + + +
+ +
+ + + + WARNING: Not including the private key allows to check the wallet balance, transaction history, and create spend proposals from the export. However, does not allow to approve (sign) proposals, so funds will not be accessible from the export. + + +
- -
- - Show advanced options - Hide advanced options - - - - Do not include private key - -
- -
- - - - WARNING: The private key of this wallet is not available. The export allows to check the wallet balance, transaction history, and create spend proposals from the export. However, does not allow to approve (sign) proposals, so funds will not be accessible from the export. - - -
- -
- - - - WARNING: Not including the private key allows to check the wallet balance, transaction history, and create spend proposals from the export. However, does not allow to approve (sign) proposals, so funds will not be accessible from the export. - - -
- - - - - -
-

Export options

- - + + -
+ ng-show="isSafari && !isCordova"> + + View + + +
+

Export options

+ + +
+
-
+
diff --git a/www/views/tab-export-qrCode.html b/www/views/tab-export-qrCode.html index 18ca08122..8cb3ec127 100644 --- a/www/views/tab-export-qrCode.html +++ b/www/views/tab-export-qrCode.html @@ -1,10 +1,10 @@ -
-
+
+
-
From the destination device, go to Add wallet > Import wallet and scan this QR code
+
From the destination device, go to Add wallet > Import wallet and scan this QR code
-
-
Exporting via QR not supported for this wallet
+
+
Exporting via QR not supported for this wallet
diff --git a/www/views/tab-import-phrase.html b/www/views/tab-import-phrase.html index 12f272821..494eca1ca 100644 --- a/www/views/tab-import-phrase.html +++ b/www/views/tab-import-phrase.html @@ -12,20 +12,16 @@
-
-
- -
-
+
+