mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Add import account disclaimer
This commit is contained in:
parent
ced62ac551
commit
50f20358c1
@ -34,10 +34,7 @@ AccountImportSubview.prototype.render = function () {
|
|||||||
const { type } = state
|
const { type } = state
|
||||||
|
|
||||||
return (
|
return (
|
||||||
h('div', {
|
h('div', [
|
||||||
style: {
|
|
||||||
},
|
|
||||||
}, [
|
|
||||||
h('.section-title.flex-row.flex-center', [
|
h('.section-title.flex-row.flex-center', [
|
||||||
h('i.fa.fa-arrow-left.fa-lg.cursor-pointer', {
|
h('i.fa.fa-arrow-left.fa-lg.cursor-pointer', {
|
||||||
onClick: (event) => {
|
onClick: (event) => {
|
||||||
@ -46,6 +43,27 @@ AccountImportSubview.prototype.render = function () {
|
|||||||
}),
|
}),
|
||||||
h('h2.page-subtitle', 'Import Accounts'),
|
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', {
|
h('div', {
|
||||||
style: {
|
style: {
|
||||||
padding: '10px',
|
padding: '10px',
|
||||||
|
@ -217,7 +217,7 @@ hr.horizontal-line {
|
|||||||
background: rgba(255,0,0,0.8);
|
background: rgba(255,0,0,0.8);
|
||||||
color: white;
|
color: white;
|
||||||
bottom: 0px;
|
bottom: 0px;
|
||||||
left: -8px;
|
left: -18px;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
min-width: 20px;
|
min-width: 20px;
|
||||||
|
@ -35,6 +35,28 @@ AccountImportSubview.prototype.render = function () {
|
|||||||
return (
|
return (
|
||||||
h('div.new-account-import-form', [
|
h('div.new-account-import-form', [
|
||||||
|
|
||||||
|
h('.warning', {
|
||||||
|
style: {
|
||||||
|
display: 'inline-block',
|
||||||
|
alignItems: 'center',
|
||||||
|
padding: '15px 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.new-account-import-form__select-section', [
|
h('div.new-account-import-form__select-section', [
|
||||||
|
|
||||||
h('div.new-account-import-form__select-label', 'Select Type'),
|
h('div.new-account-import-form__select-label', 'Select Type'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user