2019-08-14 17:34:47 -04:00
|
|
|
import React, { Fragment } from 'react';
|
2019-08-14 14:33:26 -04:00
|
|
|
|
2019-08-14 16:54:00 -04:00
|
|
|
import withCopyEdit from '../data-container';
|
2019-08-14 14:33:26 -04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Construction view/edit section
|
|
|
|
*/
|
|
|
|
const ConstructionView = (props) => (
|
2019-08-14 17:34:47 -04:00
|
|
|
<Fragment>
|
|
|
|
<p className="data-intro">{props.intro}</p>
|
|
|
|
<ul>
|
|
|
|
<li>Construction system</li>
|
|
|
|
{
|
|
|
|
// "disabled": true,
|
|
|
|
// "slug": "construction_system",
|
|
|
|
// "type": "text"
|
|
|
|
}
|
|
|
|
<li>Primary materials</li>
|
|
|
|
{
|
|
|
|
// "disabled": true,
|
|
|
|
// "slug": "construction_primary_material",
|
|
|
|
// "type": "text"
|
|
|
|
}
|
|
|
|
<li>Secondary materials</li>
|
|
|
|
{
|
|
|
|
// "disabled": true,
|
|
|
|
// "slug": "construction_secondary_material",
|
|
|
|
// "type": "text"
|
|
|
|
}
|
|
|
|
<li>Roofing material</li>
|
|
|
|
{
|
|
|
|
// "disabled": true,
|
|
|
|
// "slug": "construction_roofing_material",
|
|
|
|
// "type": "text"
|
|
|
|
}
|
|
|
|
<li>Percentage of facade glazed</li>
|
|
|
|
{
|
|
|
|
// "disabled": true,
|
|
|
|
// "slug": "construction_facade_percentage_glazed",
|
|
|
|
// "type": "number",
|
|
|
|
// "step": 5
|
|
|
|
}
|
|
|
|
<li>BIM reference or link</li>
|
|
|
|
{
|
|
|
|
// "disabled": true,
|
|
|
|
// "slug": "construction_bim_reference",
|
|
|
|
// "type": "text",
|
|
|
|
// "placeholder": "https://..."
|
|
|
|
}
|
|
|
|
</ul>
|
|
|
|
</Fragment>
|
2019-11-07 03:13:30 -05:00
|
|
|
);
|
2019-08-14 14:33:26 -04:00
|
|
|
const ConstructionContainer = withCopyEdit(ConstructionView);
|
|
|
|
|
|
|
|
export default ConstructionContainer;
|