Skip to content

Commit

Permalink
Move project notes above the Add buttons on Runs page.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaclynperrone committed Jun 2, 2015
1 parent ff0f741 commit bce35df
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cycledash/static/js/runs/components/RunsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ var ProjectTable = React.createClass({
</a>
</div>
</div>
<p className='notes'>{this.props.notes}</p>
<div className='add'>
<button onClick={() => { this.displayRunForm(false); this.displayBAMForm(!this.state.displayBAMForm); }}
type='button' className='btn btn-default btn-xs'>
Expand All @@ -159,7 +160,6 @@ var ProjectTable = React.createClass({
Add Run
</button>
</div>
<p className='notes'>{this.props.notes}</p>
</div>
{this.state.displayRunForm ? newRunForm : null}
{this.state.displayBAMForm ? newBAMForm : null}
Expand Down
9 changes: 2 additions & 7 deletions cycledash/static/scss/runs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,13 @@ div.project-header h2 {
margin: 0;
}
div.project-header .notes {
margin: 17px 0;
width: 480px;
float: right;
margin-top: 0.5em;
}
div.project-header .add button {
margin-right: 1em;
}
div.project-header .add {
margin-top: 1em;
}
div.project-header .add {
margin-top: 1em;
margin: 1em 0;
}
div.project-header div.project-stats {
font-size: 1.2em;
Expand Down
Binary file modified tests/pdifftests/images/runs_bams.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/pdifftests/images/runs_info.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/pdifftests/images/runs_page.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit bce35df

Please sign in to comment.