aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/modals
diff options
context:
space:
mode:
authorsdtsui <szehungdanieltsui@gmail.com>2017-08-21 21:14:28 +0800
committersdtsui <szehungdanieltsui@gmail.com>2017-08-21 21:14:28 +0800
commit86b71f014a4bda433532cf7cbe7d76b243d3fb70 (patch)
tree275a0ac424d6f2deb217656a80a53ca9c172edc3 /ui/app/components/modals
parent35508a28984afeccac31eb7c6789e26681f02b22 (diff)
downloadtangerine-wallet-browser-86b71f014a4bda433532cf7cbe7d76b243d3fb70.tar
tangerine-wallet-browser-86b71f014a4bda433532cf7cbe7d76b243d3fb70.tar.gz
tangerine-wallet-browser-86b71f014a4bda433532cf7cbe7d76b243d3fb70.tar.bz2
tangerine-wallet-browser-86b71f014a4bda433532cf7cbe7d76b243d3fb70.tar.lz
tangerine-wallet-browser-86b71f014a4bda433532cf7cbe7d76b243d3fb70.tar.xz
tangerine-wallet-browser-86b71f014a4bda433532cf7cbe7d76b243d3fb70.tar.zst
tangerine-wallet-browser-86b71f014a4bda433532cf7cbe7d76b243d3fb70.zip
Add wrapper CSS for NewAccountModal
Diffstat (limited to 'ui/app/components/modals')
-rw-r--r--ui/app/components/modals/new-account-modal.js68
1 files changed, 29 insertions, 39 deletions
diff --git a/ui/app/components/modals/new-account-modal.js b/ui/app/components/modals/new-account-modal.js
index c55d69964..15341a2e9 100644
--- a/ui/app/components/modals/new-account-modal.js
+++ b/ui/app/components/modals/new-account-modal.js
@@ -22,59 +22,49 @@ function mapDispatchToProps (dispatch) {
}
}
-inherits(BuyOptions, Component)
-function BuyOptions () {
+inherits(NewAccountModal, Component)
+function NewAccountModal () {
Component.call(this)
}
-module.exports = connect(mapStateToProps, mapDispatchToProps)(BuyOptions)
+module.exports = connect(mapStateToProps, mapDispatchToProps)(NewAccountModal)
-// BuyOptions is currently meant to be rendered inside <Modal />
-// It is the only component in this codebase that does so
-// It utilizes modal styles
-BuyOptions.prototype.render = function () {
+NewAccountModal.prototype.render = function () {
return h('div', {}, [
- h('div.buy-modal-content.transfers-subview', {
+ h('div.new-account-modal-wrapper', {
}, [
- h('div.buy-modal-content-title-wrapper.flex-column.flex-center', {
- style: {},
- }, [
- h('div.buy-modal-content-title', {
- style: {},
- }, 'New Account Modal'),
- h('div', {}, 'How would you like to buy Ether?'),
+ h('div', {}, [
+ 'New Account',
]),
- h('div.buy-modal-content-options.flex-column.flex-center', {}, [
-
- h('div.buy-modal-content-option', {
- onClick: () => {
- const { toCoinbase, address } = this.props
- toCoinbase(address)
- },
- }, [
- h('div.buy-modal-content-option-title', {}, 'Coinbase'),
- h('div.buy-modal-content-option-subtitle', {}, 'Buy with Fiat'),
+ h('div', {}, [
+ h('i.fa.fa-times', {}, [
]),
+ ]),
+
+ h('div', {}, [
+ 'Account Name',
+ ]),
- h('div.buy-modal-content-option', {}, [
- h('div.buy-modal-content-option-title', {}, 'Shapeshift'),
- h('div.buy-modal-content-option-subtitle', {}, 'Trade any digital asset for any other'),
- ]),
+ h('div', {}, [
+ h('input', {
+ placeholder: 'E.g. My new account'
+ }, []),
+ ]),
- h('div.buy-modal-content-option', {}, [
- h('div.buy-modal-content-option-title', {}, 'Direct Deposit'),
- h('div.buy-modal-content-option-subtitle', {}, 'Deposit from another account'),
- ]),
+ h('div', {}, [
+ 'or',
+ ]),
+ h('div', {}, [
+ 'Import an account',
]),
- h('button', {
- style: {
- background: 'white',
- },
- onClick: () => { this.props.hideModal() },
- }, h('div.buy-modal-content-footer#buy-modal-content-footer-text',{}, 'Cancel')),
+ h('div', {}, [
+ h('button.btn-clear', {}, [
+ 'SAVE',
+ ]),
+ ]),
])
])
}