diff options
author | kumavis <kumavis@users.noreply.github.com> | 2016-06-03 08:28:27 +0800 |
---|---|---|
committer | kumavis <kumavis@users.noreply.github.com> | 2016-06-03 08:28:27 +0800 |
commit | 3b3c472dee5dcb349f955bf07de2efc069347f66 (patch) | |
tree | 126ec2da99a9b3f266b7fb0be67612faaef47e3b /ui/app/config.js | |
parent | f8e6a5eaf0afcc711f41cc53f1d4225a5eea24d7 (diff) | |
parent | 10fec9052f2cd200868de25217bdaa4646fa0913 (diff) | |
download | tangerine-wallet-browser-3b3c472dee5dcb349f955bf07de2efc069347f66.tar tangerine-wallet-browser-3b3c472dee5dcb349f955bf07de2efc069347f66.tar.gz tangerine-wallet-browser-3b3c472dee5dcb349f955bf07de2efc069347f66.tar.bz2 tangerine-wallet-browser-3b3c472dee5dcb349f955bf07de2efc069347f66.tar.lz tangerine-wallet-browser-3b3c472dee5dcb349f955bf07de2efc069347f66.tar.xz tangerine-wallet-browser-3b3c472dee5dcb349f955bf07de2efc069347f66.tar.zst tangerine-wallet-browser-3b3c472dee5dcb349f955bf07de2efc069347f66.zip |
Merge pull request #240 from MetaMask/RecoverSeed
reveal Vault Recovery Seed
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') ]), ]), |