Add throbber while waiting for builds to load

This commit is contained in:
Ian Minoso 2016-12-15 12:57:18 -08:00
parent 2730c26b2e
commit 149dd46076
4 changed files with 50 additions and 17 deletions

View file

@ -1,5 +1,7 @@
import * as React from "react";
import Build from "./build";
import Throbber from "./throbber";
interface IBody {
description: string;
@ -90,9 +92,9 @@ class body extends React.Component<IBody, IBodyState> {
<div className="tab-pane in active" id="tab1">
<div className="rp-description">{description}</div>
</div>
<div className="tab-pane" id="tab2">
<h3 className="tab-header">Repository Builds</h3>
<div className="tab-pane" id="tab2">
<div className="panel-body">
<h3 className="tab-header">Repository Builds</h3>
<Build data={this.state.currentBuild}/>
</div>
</div>