aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/main-container.js
diff options
context:
space:
mode:
authorsdtsui <szehungdanieltsui@gmail.com>2017-07-31 11:42:12 +0800
committersdtsui <szehungdanieltsui@gmail.com>2017-07-31 11:42:12 +0800
commitca1a4b309676c3d10473acf4869b398d4ed50fb7 (patch)
treeb259bec545e016dc4b3cd9c880c8de1eb40a2c50 /ui/app/main-container.js
parentb15575b4530d4c1830af0471e9fb5bc1ee689ee3 (diff)
downloadtangerine-wallet-browser-ca1a4b309676c3d10473acf4869b398d4ed50fb7.tar
tangerine-wallet-browser-ca1a4b309676c3d10473acf4869b398d4ed50fb7.tar.gz
tangerine-wallet-browser-ca1a4b309676c3d10473acf4869b398d4ed50fb7.tar.bz2
tangerine-wallet-browser-ca1a4b309676c3d10473acf4869b398d4ed50fb7.tar.lz
tangerine-wallet-browser-ca1a4b309676c3d10473acf4869b398d4ed50fb7.tar.xz
tangerine-wallet-browser-ca1a4b309676c3d10473acf4869b398d4ed50fb7.tar.zst
tangerine-wallet-browser-ca1a4b309676c3d10473acf4869b398d4ed50fb7.zip
Add layout for main container elements
Diffstat (limited to 'ui/app/main-container.js')
-rw-r--r--ui/app/main-container.js41
1 files changed, 41 insertions, 0 deletions
diff --git a/ui/app/main-container.js b/ui/app/main-container.js
new file mode 100644
index 000000000..ca68ba6b0
--- /dev/null
+++ b/ui/app/main-container.js
@@ -0,0 +1,41 @@
+const Component = require('react').Component
+const h = require('react-hyperscript')
+const inherits = require('util').inherits
+
+module.exports = MainContainer
+
+inherits(MainContainer, Component)
+function MainContainer () {
+ Component.call(this)
+}
+
+MainContainer.prototype.render = function () {
+ console.log("rendering MainContainer...");
+ return h('div.flex-row', {
+ style: {
+ position: 'absolute',
+ marginTop: '6vh',
+ width: '98%',
+ zIndex: 20,
+ }
+ }, [
+ h('div.wallet-view', {
+ style: {
+ flexGrow: 1,
+ height: '82vh',
+ background: 'blue',
+ }
+ }, [
+ ]),
+
+ h('div.tx-view', {
+ style: {
+ flexGrow: 2,
+ height: '82vh',
+ background: 'green',
+ }
+ }, [
+ ]),
+ ])
+}
+