diff options
author | Dan Finlay <flyswatter@users.noreply.github.com> | 2017-03-23 07:00:11 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-23 07:00:11 +0800 |
commit | 86f9be06eb3351917e7746988ab4c50e77bb9a1e (patch) | |
tree | 7fdb83ba4a611a381f47903e3f6b82cb22ce5eec /ui/app/components | |
parent | 457611d8f8766bc756e154bbf4bce1efeb8a3097 (diff) | |
parent | b9714b881a862302baa0c21d8b8c5360c0e9f85d (diff) | |
download | tangerine-wallet-browser-86f9be06eb3351917e7746988ab4c50e77bb9a1e.tar tangerine-wallet-browser-86f9be06eb3351917e7746988ab4c50e77bb9a1e.tar.gz tangerine-wallet-browser-86f9be06eb3351917e7746988ab4c50e77bb9a1e.tar.bz2 tangerine-wallet-browser-86f9be06eb3351917e7746988ab4c50e77bb9a1e.tar.lz tangerine-wallet-browser-86f9be06eb3351917e7746988ab4c50e77bb9a1e.tar.xz tangerine-wallet-browser-86f9be06eb3351917e7746988ab4c50e77bb9a1e.tar.zst tangerine-wallet-browser-86f9be06eb3351917e7746988ab4c50e77bb9a1e.zip |
Merge branch 'master' into i1234-HardGasLimits-BrowserForm
Diffstat (limited to 'ui/app/components')
-rw-r--r-- | ui/app/components/account-export.js | 1 | ||||
-rw-r--r-- | ui/app/components/drop-menu-item.js | 5 | ||||
-rw-r--r-- | ui/app/components/network.js | 12 |
3 files changed, 17 insertions, 1 deletions
diff --git a/ui/app/components/account-export.js b/ui/app/components/account-export.js index 38a1d28ef..888196c5d 100644 --- a/ui/app/components/account-export.js +++ b/ui/app/components/account-export.js @@ -52,6 +52,7 @@ ExportAccountView.prototype.render = function () { }, [ h('p.error', warning), h('input#exportAccount.sizing-input', { + type: 'password', placeholder: 'confirm password', onKeyPress: this.onExportKeyPress.bind(this), style: { diff --git a/ui/app/components/drop-menu-item.js b/ui/app/components/drop-menu-item.js index 9f002234e..3eb6ec876 100644 --- a/ui/app/components/drop-menu-item.js +++ b/ui/app/components/drop-menu-item.js @@ -42,7 +42,10 @@ DropMenuItem.prototype.activeNetworkRender = function () { if (providerType === 'mainnet') return h('.check', '✓') break case 'Ropsten Test Network': - if (provider.type === 'testnet') return h('.check', '✓') + if (providerType === 'testnet') return h('.check', '✓') + break + case 'Kovan Test Network': + if (providerType === 'kovan') return h('.check', '✓') break case 'Localhost 8545': if (activeNetwork === 'http://localhost:8545') return h('.check', '✓') diff --git a/ui/app/components/network.js b/ui/app/components/network.js index 77805fd57..d9045167f 100644 --- a/ui/app/components/network.js +++ b/ui/app/components/network.js @@ -40,6 +40,9 @@ Network.prototype.render = function () { } else if (parseInt(networkNumber) === 3) { hoverText = 'Ropsten Test Network' iconName = 'ropsten-test-network' + } else if (providerName === 'kovan') { + hoverText = 'Kovan Test Network' + iconName = 'kovan-test-network' } else { hoverText = 'Unknown Private Network' iconName = 'unknown-private-network' @@ -70,6 +73,15 @@ Network.prototype.render = function () { }}, 'Ropsten Test Net'), ]) + case 'kovan-test-network': + return h('.network-indicator', [ + h('.menu-icon.hollow-diamond'), + h('.network-name', { + style: { + color: '#690496', + }}, + 'Kovan Test Net'), + ]) default: return h('.network-indicator', [ h('i.fa.fa-question-circle.fa-lg', { |