|
|
@ -88,21 +88,11 @@ App.prototype.render = function () { |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, [ |
|
|
|
}, [ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// app bar
|
|
|
|
// app bar
|
|
|
|
this.renderAppBar(), |
|
|
|
this.renderAppBar(), |
|
|
|
|
|
|
|
|
|
|
|
// slideout - move to separate render func
|
|
|
|
// sidebar
|
|
|
|
this.renderSidebar(), |
|
|
|
this.renderSidebar(), |
|
|
|
// h('div.phone-visible', {} ,[
|
|
|
|
|
|
|
|
// h(SlideoutMenu, {
|
|
|
|
|
|
|
|
// isOpen: false,
|
|
|
|
|
|
|
|
// }, [
|
|
|
|
|
|
|
|
// h(WalletView, {
|
|
|
|
|
|
|
|
// responsiveDisplayClassname: '.phone-visible',
|
|
|
|
|
|
|
|
// }),
|
|
|
|
|
|
|
|
// ]),
|
|
|
|
|
|
|
|
// ])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// network dropdown
|
|
|
|
// network dropdown
|
|
|
|
this.renderNetworkDropdown(), |
|
|
|
this.renderNetworkDropdown(), |
|
|
@ -113,7 +103,7 @@ App.prototype.render = function () { |
|
|
|
loadingMessage: loadMessage, |
|
|
|
loadingMessage: loadMessage, |
|
|
|
}), |
|
|
|
}), |
|
|
|
|
|
|
|
|
|
|
|
// panel content
|
|
|
|
// content
|
|
|
|
this.renderPrimary(), |
|
|
|
this.renderPrimary(), |
|
|
|
]) |
|
|
|
]) |
|
|
|
) |
|
|
|
) |
|
|
@ -202,7 +192,7 @@ App.prototype.renderAppBar = function () { |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
|
|
|
|
|
|
|
|
h('.full-width', { |
|
|
|
h('.full-width', { |
|
|
|
height: '38px', |
|
|
|
style: {} |
|
|
|
}, [ |
|
|
|
}, [ |
|
|
|
|
|
|
|
|
|
|
|
h('.app-header.flex-row.flex-space-between', { |
|
|
|
h('.app-header.flex-row.flex-space-between', { |
|
|
@ -210,6 +200,7 @@ App.prototype.renderAppBar = function () { |
|
|
|
alignItems: 'center', |
|
|
|
alignItems: 'center', |
|
|
|
visibility: props.isUnlocked ? 'visible' : 'none', |
|
|
|
visibility: props.isUnlocked ? 'visible' : 'none', |
|
|
|
background: '#EFEFEF', // $gallery
|
|
|
|
background: '#EFEFEF', // $gallery
|
|
|
|
|
|
|
|
paddingTop: '1.5vh', |
|
|
|
height: '12vh', |
|
|
|
height: '12vh', |
|
|
|
maxHeight: '60px', |
|
|
|
maxHeight: '60px', |
|
|
|
position: 'relative', |
|
|
|
position: 'relative', |
|
|
|