intermidiate save

This commit is contained in:
Berkeley Martinez
2015-08-26 11:13:58 -07:00
parent 96742c4f30
commit 64b63d73db

View File

@ -2,6 +2,11 @@ import React, { PropTypes } from 'react';
import { Thumbnail, Panel, Well } from 'react-bootstrap';
import moment from 'moment';
const thumbnailStyle = {
backgroundColor: 'white',
maxHeight: '100px',
maxWidth: '100px'
};
export default React.createClass({
displayName: 'ShowJob',
propTypes: {
@ -22,13 +27,19 @@ export default React.createClass({
},
render() {
const { job } = this.props.job;
const { job } = this.props;
const {
logo,
position,
city,
state,
email,
phone,
postedOn,
description
} = job;
return (
<Panel
collapsible={ true }
header={ this.renderHeader() }
key={ id }>
<Well>
<Thumbnail
alt='200x200' src={ logo }
@ -43,7 +54,6 @@ export default React.createClass({
</Panel>
<p>{ description }</p>
</Well>
</Panel>
);
}
});