aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/app.js
diff options
context:
space:
mode:
authorsdtsui <szehungdanieltsui@gmail.com>2017-08-09 08:11:25 +0800
committersdtsui <szehungdanieltsui@gmail.com>2017-08-09 08:11:25 +0800
commit928adae1042addb8cf123879dd8ec50928ac456f (patch)
tree8802bda6967e7bd5e94db9700e1d934128497581 /ui/app/app.js
parent922a272e811ad104c2d7b7d4c0912a4d629ec2e7 (diff)
downloadtangerine-wallet-browser-928adae1042addb8cf123879dd8ec50928ac456f.tar
tangerine-wallet-browser-928adae1042addb8cf123879dd8ec50928ac456f.tar.gz
tangerine-wallet-browser-928adae1042addb8cf123879dd8ec50928ac456f.tar.bz2
tangerine-wallet-browser-928adae1042addb8cf123879dd8ec50928ac456f.tar.lz
tangerine-wallet-browser-928adae1042addb8cf123879dd8ec50928ac456f.tar.xz
tangerine-wallet-browser-928adae1042addb8cf123879dd8ec50928ac456f.tar.zst
tangerine-wallet-browser-928adae1042addb8cf123879dd8ec50928ac456f.zip
Implement modal content for buy flow - mobile view
Diffstat (limited to 'ui/app/app.js')
-rw-r--r--ui/app/app.js50
1 files changed, 49 insertions, 1 deletions
diff --git a/ui/app/app.js b/ui/app/app.js
index 71e767b91..e842d6297 100644
--- a/ui/app/app.js
+++ b/ui/app/app.js
@@ -133,7 +133,55 @@ App.prototype.render = function () {
App.prototype.renderGlobalModal = function() {
return h(Modal, {
ref: "modalRef",
- }, ['test modal'])
+ }, [
+ h('div.modal-contents.transfers-subview', {
+
+ }, [
+ h('div.flex-column.flex-center', {
+ style: {
+ justifyContent: 'space-around',
+ width: '100%',
+ height: '100px',
+ },
+ }, [
+ h('div', {
+ style: {
+ fontSize: '26px',
+ marginTop: '15px',
+ },
+ }, 'Transfers'),
+ h('div', {}, 'How would you like to buy Ether?'),
+ ]),
+
+ h('div.buy-options.flex-column.flex-center', {}, [
+
+ h('div.buy-option', {}, [
+ h('div.buy-option-title', {}, 'Coinbase'),
+ h('div.buy-option-subtitle', {}, 'Buy with Fiat'),
+
+ ]),
+
+ h('div.buy-option', {}, [
+ h('div.buy-option-title', {}, 'Shapeshift'),
+ h('div.buy-option-subtitle', {}, 'Trade any digital asset for any other'),
+ ]),
+
+ h('div.buy-option', {}, [
+ h('div.buy-option-title', {}, 'Coinbase'),
+ h('div.buy-option-subtitle', {}, 'Deposit from another account'),
+ ]),
+
+ ]),
+
+ h('div', {
+ style: {
+ textTransform: 'uppercase',
+ width: '100%',
+ height: '50px',
+ }
+ }, 'Cancel'),
+ ])
+ ])
}
App.prototype.renderSidebar = function() {