diff options
author | sdtsui <szehungdanieltsui@gmail.com> | 2017-08-03 15:43:24 +0800 |
---|---|---|
committer | sdtsui <szehungdanieltsui@gmail.com> | 2017-08-03 15:43:24 +0800 |
commit | 267d12646c93931c76a1c0fa1ccabd61f8e0dcd6 (patch) | |
tree | 1471663b2883b75c232b65ce2d42ef7530b1cf30 /ui/app/components/tx-view.js | |
parent | 6fd1c15a5c2fa961e20ff18732bc4879357c2e0a (diff) | |
download | tangerine-wallet-browser-267d12646c93931c76a1c0fa1ccabd61f8e0dcd6.tar tangerine-wallet-browser-267d12646c93931c76a1c0fa1ccabd61f8e0dcd6.tar.gz tangerine-wallet-browser-267d12646c93931c76a1c0fa1ccabd61f8e0dcd6.tar.bz2 tangerine-wallet-browser-267d12646c93931c76a1c0fa1ccabd61f8e0dcd6.tar.lz tangerine-wallet-browser-267d12646c93931c76a1c0fa1ccabd61f8e0dcd6.tar.xz tangerine-wallet-browser-267d12646c93931c76a1c0fa1ccabd61f8e0dcd6.tar.zst tangerine-wallet-browser-267d12646c93931c76a1c0fa1ccabd61f8e0dcd6.zip |
Implement 'clear buttons' for tx view
Diffstat (limited to 'ui/app/components/tx-view.js')
-rw-r--r-- | ui/app/components/tx-view.js | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/ui/app/components/tx-view.js b/ui/app/components/tx-view.js index c0e40e9b4..b2799a65f 100644 --- a/ui/app/components/tx-view.js +++ b/ui/app/components/tx-view.js @@ -56,6 +56,44 @@ TxView.prototype.render = function () { }, [ ]), + h('div.flex-row.flex-wrap', { + style: { + margin: '1.8em 1.3em 0.8em 1.3em', + flex: '1 0 auto', + } + }, [ + + h('div.flex-column.flex-center', { + style: { + width: '100%', + } + }, [ + + h('div', {}, 'ETH LOGO'), + + h('div', {}, '1001.124 ETH'), + + h('div', {}, '$300,000 USD'), + + ]), + + h('div.flex-row.flex-center', { + style: { + width: '100%', + } + }, [ + h('button.btn-clear', { + textAlign: 'center' + }, 'BUY'), + + h('button.btn-clear', { + textAlign: 'center' + }, 'SEND'), + + ]), + + ]), + h('div.flex-row', { style: { margin: '1.8em 1.3em 0.8em 1.3em', |