remove accordian
This commit is contained in:
@ -168,7 +168,6 @@
|
|||||||
"no-ternary": 0,
|
"no-ternary": 0,
|
||||||
"no-trailing-spaces": 1,
|
"no-trailing-spaces": 1,
|
||||||
"no-underscore-dangle": 0,
|
"no-underscore-dangle": 0,
|
||||||
"no-extra-parens": 2,
|
|
||||||
"one-var": 0,
|
"one-var": 0,
|
||||||
"operator-assignment": 0,
|
"operator-assignment": 0,
|
||||||
"padded-blocks": 0,
|
"padded-blocks": 0,
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import React, { PropTypes } from 'react';
|
import React, { PropTypes } from 'react';
|
||||||
import { contain } from 'thundercats-react';
|
import { contain } from 'thundercats-react';
|
||||||
import { Accordion, Thumbnail, Panel, Well } from 'react-bootstrap';
|
import { PanelGroup, Thumbnail, Panel, Well } from 'react-bootstrap';
|
||||||
import moment from 'moment';
|
import moment from 'moment';
|
||||||
|
|
||||||
export default contain(
|
export default contain(
|
||||||
@ -46,22 +46,24 @@ export default contain(
|
|||||||
);
|
);
|
||||||
return (
|
return (
|
||||||
<Panel
|
<Panel
|
||||||
collapsable={ true }
|
collapsible={ true }
|
||||||
eventKey={ index }
|
eventKey={ index }
|
||||||
header={ header }
|
header={ header }
|
||||||
key={ id }>
|
key={ id }>
|
||||||
|
<Well>
|
||||||
<Thumbnail
|
<Thumbnail
|
||||||
alt='200x200' src={ logo }
|
alt='200x200' src={ logo }
|
||||||
style={ thumbnailStyle } />
|
style={ thumbnailStyle } />
|
||||||
<Well>
|
<Panel>
|
||||||
Position: { position }
|
Position: { position }
|
||||||
Location: { city }, { state }
|
Location: { city }, { state }
|
||||||
<br />
|
<br />
|
||||||
Contact: { email || phone || 'N/A' }
|
Contact: { email || phone || 'N/A' }
|
||||||
<br />
|
<br />
|
||||||
Posted On: { moment(postedOn).format('MMMM Do, YYYY') }
|
Posted On: { moment(postedOn).format('MMMM Do, YYYY') }
|
||||||
</Well>
|
</Panel>
|
||||||
<p>{ description }</p>
|
<p>{ description }</p>
|
||||||
|
</Well>
|
||||||
</Panel>
|
</Panel>
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
@ -70,9 +72,9 @@ export default contain(
|
|||||||
render() {
|
render() {
|
||||||
const { jobs } = this.props;
|
const { jobs } = this.props;
|
||||||
return (
|
return (
|
||||||
<Accordion>
|
<PanelGroup>
|
||||||
{ this.renderJobs(jobs) }
|
{ this.renderJobs(jobs) }
|
||||||
</Accordion>
|
</PanelGroup>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user