diff options
author | JoramWilander <jwawilander@gmail.com> | 2015-07-28 11:41:44 -0400 |
---|---|---|
committer | JoramWilander <jwawilander@gmail.com> | 2015-07-28 11:41:44 -0400 |
commit | 0bfc769b4dc03538b5ee1897a33febf7a45226a2 (patch) | |
tree | 26170b66c47a5301f185764189a8276bc7623feb /web/react/components | |
parent | ff362b77929cbb65f941e14144472f7d6ca9d430 (diff) | |
download | chat-0bfc769b4dc03538b5ee1897a33febf7a45226a2.tar.gz chat-0bfc769b4dc03538b5ee1897a33febf7a45226a2.tar.bz2 chat-0bfc769b4dc03538b5ee1897a33febf7a45226a2.zip |
updated user sign up page and login page with new UI details
Diffstat (limited to 'web/react/components')
-rw-r--r-- | web/react/components/login.jsx | 2 | ||||
-rw-r--r-- | web/react/components/signup_user_complete.jsx | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/web/react/components/login.jsx b/web/react/components/login.jsx index 45b558dca..fe0a47777 100644 --- a/web/react/components/login.jsx +++ b/web/react/components/login.jsx @@ -105,7 +105,7 @@ module.exports = React.createClass({ <div className="signup-team__container"> <h5 className="margin--less">Sign in to:</h5> <h2 className="signup-team__name">{ teamDisplayName }</h2> - <h2 className="signup-team__subdomain">on { teamName }</h2> + <h2 className="signup-team__subdomain">on { config.SiteName }</h2> <form onSubmit={this.handleSubmit}> <div className={server_error ? 'form-group has-error' : 'form-group'}> { server_error } diff --git a/web/react/components/signup_user_complete.jsx b/web/react/components/signup_user_complete.jsx index 36fa27ad7..670aab943 100644 --- a/web/react/components/signup_user_complete.jsx +++ b/web/react/components/signup_user_complete.jsx @@ -40,7 +40,7 @@ module.exports = React.createClass({ this.setState({name_error: "", email_error: "", password_error: "", server_error: ""}); - this.state.user.allow_marketing = this.refs.email_service.getDOMNode().checked; + this.state.user.allow_marketing = true; client.createUser(this.state.user, this.state.data, this.state.hash, function(data) { @@ -125,7 +125,7 @@ module.exports = React.createClass({ <div> <img className="signup-team-logo" src="/static/images/logo.png" /> <h5 className="margin--less">Welcome to:</h5> - <h2 className="signup-team__name"> "teamDisplayName" </h2> + <h2 className="signup-team__name">{ this.props.teamDisplayName }</h2> <h2 className="signup-team__subdomain">on { config.SiteName }</h2> <h4 className="color--light">Let's create your account</h4> { signup_message } @@ -147,7 +147,6 @@ module.exports = React.createClass({ { password_error } </div> </div> - <div className="checkbox"><label><input type="checkbox" ref="email_service" /> It's ok to send me occassional email with updates about the {config.SiteName} service. </label></div> </div> <p className="margin--extra"><button onClick={this.handleSubmit} className="btn-primary btn">Create Account</button></p> { server_error } |