aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/app.js
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2016-05-11 07:51:49 +0800
committerkumavis <aaron@kumavis.me>2016-05-11 07:52:07 +0800
commitc2c33ff6cdabfd6f766c57c7d6d142074bf305ae (patch)
tree5da17157ccdda2496b711935ffcb7f361d9900b5 /ui/app/app.js
parent39403eb79471e463d9e9467f7dc296fcb715292b (diff)
downloadtangerine-wallet-browser-c2c33ff6cdabfd6f766c57c7d6d142074bf305ae.tar
tangerine-wallet-browser-c2c33ff6cdabfd6f766c57c7d6d142074bf305ae.tar.gz
tangerine-wallet-browser-c2c33ff6cdabfd6f766c57c7d6d142074bf305ae.tar.bz2
tangerine-wallet-browser-c2c33ff6cdabfd6f766c57c7d6d142074bf305ae.tar.lz
tangerine-wallet-browser-c2c33ff6cdabfd6f766c57c7d6d142074bf305ae.tar.xz
tangerine-wallet-browser-c2c33ff6cdabfd6f766c57c7d6d142074bf305ae.tar.zst
tangerine-wallet-browser-c2c33ff6cdabfd6f766c57c7d6d142074bf305ae.zip
ui - redesign - app header + accounts selection
Diffstat (limited to 'ui/app/app.js')
-rw-r--r--ui/app/app.js34
1 files changed, 20 insertions, 14 deletions
diff --git a/ui/app/app.js b/ui/app/app.js
index a4ce40881..0d68a01c0 100644
--- a/ui/app/app.js
+++ b/ui/app/app.js
@@ -73,9 +73,15 @@ App.prototype.render = function() {
h(LoadingIndicator),
// top row
- h('.app-header.flex-column.flex-center', {
+ h('.app-header.flex-row.flex-space-between', {
}, [
+ h('img', {
+ height: 24,
+ width: 24,
+ src: '/images/icon-128.png',
+ }),
h('h1', 'MetaMask'),
+ h('i.fa.fa-bars'),
]),
// panel content
@@ -115,19 +121,19 @@ App.prototype.render = function() {
},
}),
- // toggle
- onOffToggle({
- toggleMetamaskActive: this.toggleMetamaskActive.bind(this),
- isUnlocked: state.isUnlocked,
- }),
-
- // help
- h('i.fa.fa-question.fa-lg.cursor-pointer', {
- style: {
- opacity: state.isUnlocked ? '1.0' : '0.0',
- },
- onClick() { state.dispatch(actions.showInfoPage()) }
- }),
+ // // toggle
+ // onOffToggle({
+ // toggleMetamaskActive: this.toggleMetamaskActive.bind(this),
+ // isUnlocked: state.isUnlocked,
+ // }),
+
+ // // help
+ // h('i.fa.fa-question.fa-lg.cursor-pointer', {
+ // style: {
+ // opacity: state.isUnlocked ? '1.0' : '0.0',
+ // },
+ // onClick() { state.dispatch(actions.showInfoPage()) }
+ // }),
]),
])
)