summaryrefslogtreecommitdiff
path: root/ui/app/components/main_panel/user_section.js
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2016-12-30 17:12:21 -0800
committerRuben Pollan <meskio@sindominio.net>2017-01-10 19:12:29 +0100
commit8f992ee6e84d21c3e6306b27856e4ba90accc1f2 (patch)
treebe314682a3aac223fd7c6ba7c12f8e9d25d5c487 /ui/app/components/main_panel/user_section.js
parent7e86aa78721aa0a5a291bcf08fab2fb311cb8026 (diff)
[bug] For now, disable UI for supporting multiple accounts. It does not currently work with API tokens.
Diffstat (limited to 'ui/app/components/main_panel/user_section.js')
-rw-r--r--ui/app/components/main_panel/user_section.js17
1 files changed, 12 insertions, 5 deletions
diff --git a/ui/app/components/main_panel/user_section.js b/ui/app/components/main_panel/user_section.js
index 317f9931..b792bb43 100644
--- a/ui/app/components/main_panel/user_section.js
+++ b/ui/app/components/main_panel/user_section.js
@@ -9,6 +9,8 @@ import Account from 'models/account'
import bitmask from 'lib/bitmask'
+import App from 'app'
+
export default class UserSection extends React.Component {
static get defaultProps() {return{
@@ -87,11 +89,16 @@ export default class UserSection extends React.Component {
address = this.props.account.address
}
let header = (
- <Login
- onLogin={this.props.onLogin}
- domain={this.props.account.domain}
- address={address}
- />
+ <div>
+ <Login
+ onLogin={this.props.onLogin}
+ domain={this.props.account.domain}
+ address={address}
+ />
+ <br />
+ <Glyphicon glyph="user" />&nbsp;
+ <a href="#" onClick={App.show.bind(App, 'wizard')}>Create a new account...</a>
+ </div>
)
return (
<SectionLayout icon="user" className="wide-margin" header={header}/>