diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-06-03 07:52:18 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-06-03 07:52:18 +0800 |
commit | 9cc04be5e467ea6f41584c42cc742680163a6fe6 (patch) | |
tree | 1dfa5a964ac95efb3c85a0c5559d1413c6918e94 /ui/app/config.js | |
parent | 01e63d41ede22a7290553f888261583d22b24eda (diff) | |
download | tangerine-wallet-browser-9cc04be5e467ea6f41584c42cc742680163a6fe6.tar.gz tangerine-wallet-browser-9cc04be5e467ea6f41584c42cc742680163a6fe6.tar.zst tangerine-wallet-browser-9cc04be5e467ea6f41584c42cc742680163a6fe6.zip |
Added seed word recovery to config screen
Diffstat (limited to 'ui/app/config.js')
-rw-r--r-- | ui/app/config.js | 30 |
1 files changed, 24 insertions, 6 deletions
diff --git a/ui/app/config.js b/ui/app/config.js index ddf158325..c4d473b10 100644 --- a/ui/app/config.js +++ b/ui/app/config.js @@ -78,7 +78,7 @@ ConfigScreen.prototype.render = function() { ]), h('div', [ - h('button', { + h('button.spaced', { style: { alignSelf: 'center', }, @@ -86,11 +86,11 @@ ConfigScreen.prototype.render = function() { event.preventDefault() state.dispatch(actions.setProviderType('mainnet')) } - }, 'Use Main Network') + }, 'Use Main Network'), ]), h('div', [ - h('button', { + h('button.spaced', { style: { alignSelf: 'center', }, @@ -98,11 +98,11 @@ ConfigScreen.prototype.render = function() { event.preventDefault() state.dispatch(actions.setProviderType('testnet')) } - }, 'Use Morden Test Network') + }, 'Use Morden Test Network'), ]), h('div', [ - h('button', { + h('button.spaced', { style: { alignSelf: 'center', }, @@ -110,7 +110,25 @@ ConfigScreen.prototype.render = function() { event.preventDefault() state.dispatch(actions.setRpcTarget('http://localhost:8545/')) } - }, 'Use http://localhost:8545') + }, 'Use http://localhost:8545'), + ]), + + h('hr.horizontal-line'), + + h('div', { + style: { + marginTop: '20px', + } + }, [ + h('button', { + style: { + alignSelf: 'center', + }, + onClick(event) { + event.preventDefault() + state.dispatch(actions.revealSeedConfirmation()) + } + }, 'Reveal Seed Words') ]), ]), |