Revamp of asset designs

This commit is contained in:
James Barnsley
2017-02-07 10:00:29 +13:00
parent 008ae09fda
commit cfdccc0d85
12 changed files with 104 additions and 120 deletions

View File

@ -33,15 +33,15 @@ class VersionManager extends React.Component{
return <button className="secondary" onClick={() => this.props.pusherActions.startUpgrade()}>Upgrade to { this.props.pusher.version.latest }</button>
}
return <button className="secondary" disabled>Already up to date</button>
return <button className="secondary" disabled>No updates available</button>
}
render(){
return (
<div className="version-manager">
<span className="version-manager">
{ this.renderUpgradeButton() }
<div className="description">{ this.props.pusher.version.current } currently installed</div>
</div>
<span className="description">{ this.props.pusher.version.current } installed</span>
</span>
);
}
}