aboutsummaryrefslogtreecommitdiffstats
path: root/old-ui
diff options
context:
space:
mode:
authorThomas <tmashuang@gmail.com>2018-02-28 04:01:09 +0800
committerThomas <tmashuang@gmail.com>2018-02-28 04:01:09 +0800
commit50f20358c1ffe0e04f65025db9ac9627af313b33 (patch)
treea20a4635f290f8baa49472030216af11e046cd9f /old-ui
parentced62ac551a095c8f94f550f0c01a9d4fd04ce5b (diff)
downloadtangerine-wallet-browser-50f20358c1ffe0e04f65025db9ac9627af313b33.tar
tangerine-wallet-browser-50f20358c1ffe0e04f65025db9ac9627af313b33.tar.gz
tangerine-wallet-browser-50f20358c1ffe0e04f65025db9ac9627af313b33.tar.bz2
tangerine-wallet-browser-50f20358c1ffe0e04f65025db9ac9627af313b33.tar.lz
tangerine-wallet-browser-50f20358c1ffe0e04f65025db9ac9627af313b33.tar.xz
tangerine-wallet-browser-50f20358c1ffe0e04f65025db9ac9627af313b33.tar.zst
tangerine-wallet-browser-50f20358c1ffe0e04f65025db9ac9627af313b33.zip
Add import account disclaimer
Diffstat (limited to 'old-ui')
-rw-r--r--old-ui/app/accounts/import/index.js26
-rw-r--r--old-ui/app/css/lib.css2
2 files changed, 23 insertions, 5 deletions
diff --git a/old-ui/app/accounts/import/index.js b/old-ui/app/accounts/import/index.js
index 3502efe93..a57525ccf 100644
--- a/old-ui/app/accounts/import/index.js
+++ b/old-ui/app/accounts/import/index.js
@@ -34,10 +34,7 @@ AccountImportSubview.prototype.render = function () {
const { type } = state
return (
- h('div', {
- style: {
- },
- }, [
+ h('div', [
h('.section-title.flex-row.flex-center', [
h('i.fa.fa-arrow-left.fa-lg.cursor-pointer', {
onClick: (event) => {
@@ -46,6 +43,27 @@ AccountImportSubview.prototype.render = function () {
}),
h('h2.page-subtitle', 'Import Accounts'),
]),
+ h('.error', {
+ style: {
+ display: 'inline-block',
+ alignItems: 'center',
+ padding: '5px 15px 0px 15px',
+ },
+ }, [
+ h('span', 'Imported accounts will not be associated with your originally created MetaMask account seedphrase. Learn more about imported accounts '),
+ h('span', {
+ style: {
+ color: 'rgba(247, 134, 28, 1)',
+ cursor: 'pointer',
+ textDecoration: 'underline',
+ },
+ onClick: () => {
+ global.platform.openWindow({
+ url: 'https://metamask.helpscoutdocs.com/article/17-what-are-loose-accounts',
+ })
+ },
+ }, 'here.'),
+ ]),
h('div', {
style: {
padding: '10px',
diff --git a/old-ui/app/css/lib.css b/old-ui/app/css/lib.css
index f3acbee76..fd63b2b2e 100644
--- a/old-ui/app/css/lib.css
+++ b/old-ui/app/css/lib.css
@@ -217,7 +217,7 @@ hr.horizontal-line {
background: rgba(255,0,0,0.8);
color: white;
bottom: 0px;
- left: -8px;
+ left: -18px;
border-radius: 10px;
height: 20px;
min-width: 20px;