|
|
@ -31,7 +31,14 @@ ExportAccountView.prototype.render = function() { |
|
|
|
and you should only do it if you know what you're doing.` |
|
|
|
and you should only do it if you know what you're doing.` |
|
|
|
var confirmation = `If you're absolutely sure, type "I understand" below and
|
|
|
|
var confirmation = `If you're absolutely sure, type "I understand" below and
|
|
|
|
submit.` |
|
|
|
submit.` |
|
|
|
return h('div', { key: 'exporting' }, [ |
|
|
|
return ( |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
h('div', { |
|
|
|
|
|
|
|
key: 'exporting', |
|
|
|
|
|
|
|
style: { |
|
|
|
|
|
|
|
margin: '0 20px', |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
}, [ |
|
|
|
h('p.error', warning), |
|
|
|
h('p.error', warning), |
|
|
|
h('p', confirmation), |
|
|
|
h('p', confirmation), |
|
|
|
h('input#exportAccount', { |
|
|
|
h('input#exportAccount', { |
|
|
@ -44,6 +51,8 @@ ExportAccountView.prototype.render = function() { |
|
|
|
onClick: () => this.props.dispatch(actions.backToAccountDetail(this.props.address)) |
|
|
|
onClick: () => this.props.dispatch(actions.backToAccountDetail(this.props.address)) |
|
|
|
}, 'Cancel'), |
|
|
|
}, 'Cancel'), |
|
|
|
]) |
|
|
|
]) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (accountExported) { |
|
|
|
if (accountExported) { |
|
|
|