|
|
@ -32,15 +32,20 @@ PrivateKeyImportView.prototype.render = function () { |
|
|
|
|
|
|
|
|
|
|
|
return ( |
|
|
|
return ( |
|
|
|
h('div.new-account-import-form__private-key', [ |
|
|
|
h('div.new-account-import-form__private-key', [ |
|
|
|
h('span.new-account-create-form__instruction', 'Paste your private key string here:'), |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
h('input.new-account-import-form__input-password', { |
|
|
|
h('div.new-account-import-form__private-key-password-container', [ |
|
|
|
type: 'password', |
|
|
|
|
|
|
|
id: 'private-key-box', |
|
|
|
|
|
|
|
onKeyPress: () => this.createKeyringOnEnter(), |
|
|
|
|
|
|
|
}), |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
h('div.new-account-create-form__buttons', {}, [ |
|
|
|
h('span.new-account-import-form__instruction', 'Paste your private key string here:'), |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
h('input.new-account-import-form__input-password', { |
|
|
|
|
|
|
|
type: 'password', |
|
|
|
|
|
|
|
id: 'private-key-box', |
|
|
|
|
|
|
|
onKeyPress: () => this.createKeyringOnEnter(), |
|
|
|
|
|
|
|
}), |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
]), |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
h('div.new-account-import-form__buttons', {}, [ |
|
|
|
|
|
|
|
|
|
|
|
h('button.new-account-create-form__button-cancel', { |
|
|
|
h('button.new-account-create-form__button-cancel', { |
|
|
|
onClick: () => goHome(), |
|
|
|
onClick: () => goHome(), |
|
|
|