fix up some of the modals

This commit is contained in:
Matthew Hodgson 2015-07-21 17:02:06 -07:00
parent ceb214f192
commit 67d3368e1e
5 changed files with 34 additions and 17 deletions

View file

@ -43,11 +43,15 @@ module.exports = React.createClass({
case this.Phases.Error:
return (
<div>
<img src={this.state.avatarUrl} />
<div>
<div className="mx_Dialog_content">
<img src={this.state.avatarUrl}/>
</div>
<div className="mx_Dialog_content">
Upload new:
<input type="file" onChange={this.onFileSelected}/>
{this.state.errorText}
</div>
<div className="mx_Dialog_buttons">
<button onClick={this.props.onFinished}>Cancel</button>
</div>
</div>