aboutsummaryrefslogtreecommitdiffstats
path: root/old-ui
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2017-11-15 00:04:55 +0800
committerDan <danjm.com@gmail.com>2017-12-05 10:38:23 +0800
commit7f795240706c013dc4a9ece0e9c9e33897c7fc71 (patch)
tree631ca16db8ea6d5efd2e57f4c25699e3482512ca /old-ui
parent6561e75aa2fb03c77544da3c090ad6ea2883d29a (diff)
downloadtangerine-wallet-browser-7f795240706c013dc4a9ece0e9c9e33897c7fc71.tar
tangerine-wallet-browser-7f795240706c013dc4a9ece0e9c9e33897c7fc71.tar.gz
tangerine-wallet-browser-7f795240706c013dc4a9ece0e9c9e33897c7fc71.tar.bz2
tangerine-wallet-browser-7f795240706c013dc4a9ece0e9c9e33897c7fc71.tar.lz
tangerine-wallet-browser-7f795240706c013dc4a9ece0e9c9e33897c7fc71.tar.xz
tangerine-wallet-browser-7f795240706c013dc4a9ece0e9c9e33897c7fc71.tar.zst
tangerine-wallet-browser-7f795240706c013dc4a9ece0e9c9e33897c7fc71.zip
Add UI selection
Diffstat (limited to 'old-ui')
-rw-r--r--old-ui/app/app.js45
1 files changed, 23 insertions, 22 deletions
diff --git a/old-ui/app/app.js b/old-ui/app/app.js
index e3f72793c..dcf19a0a9 100644
--- a/old-ui/app/app.js
+++ b/old-ui/app/app.js
@@ -93,31 +93,32 @@ App.prototype.render = function () {
log.debug('Main ui render function')
return (
-
- h('.flex-column.full-height', {
- style: {
- // Windows was showing a vertical scroll bar:
- overflow: 'hidden',
- position: 'relative',
- alignItems: 'center',
- },
- }, [
-
- // app bar
- this.renderAppBar(),
- this.renderNetworkDropdown(),
- this.renderDropdown(),
-
- this.renderLoadingIndicator({ isLoading, isLoadingNetwork, loadMessage }),
-
- // panel content
- h('.app-primary' + (transForward ? '.from-right' : '.from-left'), {
+ h('.old-ui', [
+ h('.flex-column.full-height', {
style: {
- width: '100%',
+ // Windows was showing a vertical scroll bar:
+ overflow: 'hidden',
+ position: 'relative',
+ alignItems: 'center',
},
}, [
- this.renderPrimary(),
- ]),
+
+ // app bar
+ this.renderAppBar(),
+ this.renderNetworkDropdown(),
+ this.renderDropdown(),
+
+ this.renderLoadingIndicator({ isLoading, isLoadingNetwork, loadMessage }),
+
+ // panel content
+ h('.app-primary' + (transForward ? '.from-right' : '.from-left'), {
+ style: {
+ width: '100%',
+ },
+ }, [
+ this.renderPrimary(),
+ ]),
+ ])
])
)
}