ui tweaks

This commit is contained in:
Jeffrey Morgan
2015-02-06 12:33:01 -05:00
parent c1a442223b
commit 9d05d5acc2

View File

@@ -417,9 +417,17 @@ var ContainerDetails = React.createClass({
if (this.state.progress) {
body = (
<div className="details-progress">
<h2>Downloading</h2>
<Radial progress={Math.round(this.state.progress * 100)}/>
</div>
);
} else {
body = (
<div className="details-progress">
<h2>Connecting</h2>
<Radial spin="true" progress="90"/>
</div>
);
}
} else {
if (this.state.page === this.PAGE_HOME) {