Skip to content

Commit

Permalink
Merge pull request aces#2 from llevitis/quality_control
Browse files Browse the repository at this point in the history
[modules] added Behavioral & Imaging tabs
  • Loading branch information
leothomas committed Jul 3, 2017
2 parents 62ece69 + 5d04b34 commit 998ac79
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 22 deletions.
2 changes: 1 addition & 1 deletion modules/quality_control/js/qualityControlIndex.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 17 additions & 21 deletions modules/quality_control/jsx/qualityControlIndex.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,27 @@
import FilterForm from 'FilterForm';
import {Tabs, TabPane} from 'Tabs';

class QualityControlIndex extends React.Component {

constructor(props) {
super(props);
}

render() {

let uploadTab;
let tabList = [
{id: "behavioral", label: "Behavioral"},
{id: "imaging", label: "Imaging"}
];

return (
<div>
<h1>Quality Control!</h1>
<h2>Other Useless thing</h2>
<h3> UselessURL: {this.props.UselessURL}</h3>
</div>
<Tabs tabs={tabList} defaultTab="behavioral" updateURL={true}>
<TabPane TabId={tabList[0].id}>
</TabPane>
<TabPane TabId={tabList[1].id}>
</TabPane>
</Tabs>
);
}
}
Expand All @@ -24,19 +36,3 @@ $(function() {
ReactDOM.render(qualityControlIndex, document.getElementById("lorisworkspace"));
});




/*
$(function() {
const qualityControl = (
<div className="page-qualityControl">
<h1>Quality Control Module!</h1>
</div>
);
ReactDOM.render(qualityControl, document.getElementById("lorisworkspace"));
});
*/

0 comments on commit 998ac79

Please # to comment.