Skip to content
This repository has been archived by the owner on Dec 17, 2019. It is now read-only.

Commit

Permalink
Added NoBuild component
Browse files Browse the repository at this point in the history
  • Loading branch information
jhellar committed Aug 8, 2018
1 parent 2f99d85 commit d8872be
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
18 changes: 18 additions & 0 deletions ui/src/components/build/NoBuild.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import React, { Component } from 'react';
import { Button } from 'patternfly-react';

import './NoBuild.css';

class NoBuild extends Component {
render = () => {
return (
<div className="no-builds-note">
<h2>No Builds</h2>
<p>No builds exist for {this.props.buildConfigName}</p>
<Button>Start Build</Button>
</div>
);
}
}

export default NoBuild;
3 changes: 3 additions & 0 deletions ui/src/components/build/NoBuild.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.no-builds-note {
text-align: center;
}

0 comments on commit d8872be

Please sign in to comment.