add structure for member practice summary report
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
import React, { Component } from 'react';
|
||||
import { Dropdown, Form } from 'semantic-ui-react';
|
||||
|
||||
class MemberSelector extends Component {
|
||||
render(){
|
||||
return (
|
||||
<Form>
|
||||
<label>{'\u00A0'}</label>
|
||||
<Dropdown
|
||||
placeholder="Select Member"
|
||||
selection
|
||||
search
|
||||
fluid
|
||||
/>
|
||||
</Form>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
export default MemberSelector;
|
||||
@@ -0,0 +1,9 @@
|
||||
import React, { Component } from 'react';
|
||||
|
||||
class MemberSummary extends Component {
|
||||
render() {
|
||||
return (<h4>Member Summary</h4>);
|
||||
}
|
||||
}
|
||||
|
||||
export default MemberSummary;
|
||||
49
client/src/scenes/PracticeSummaryReport/index.js
Normal file
49
client/src/scenes/PracticeSummaryReport/index.js
Normal file
@@ -0,0 +1,49 @@
|
||||
import React, { Component } from 'react';
|
||||
import { connect } from 'react-redux';
|
||||
import {Container, Grid} from 'semantic-ui-react';
|
||||
|
||||
import MainMenu from '../../components/MainMenu';
|
||||
import DateRangePicker from '../../components/DateRangePicker';
|
||||
import MemberSelector from './components/MemberSelector';
|
||||
import MemberSummary from './components/MemberSummary';
|
||||
import MemberIncidentsTable from '../../components/MemberIncidentsTable';
|
||||
|
||||
class PracticeSummaryReport extends Component {
|
||||
render () {
|
||||
return (
|
||||
<Container>
|
||||
<MainMenu/>
|
||||
<h3>Practice Summary Report</h3>
|
||||
<hr/>
|
||||
<Grid stackable columns="equal">
|
||||
<Grid.Row>
|
||||
<Grid.Column>
|
||||
<MemberSelector />
|
||||
</Grid.Column>
|
||||
<Grid.Column>
|
||||
<DateRangePicker />
|
||||
</Grid.Column>
|
||||
</Grid.Row>
|
||||
<Grid.Row>
|
||||
<Grid.Column>
|
||||
<MemberSummary />
|
||||
</Grid.Column>
|
||||
</Grid.Row>
|
||||
<Grid.Row>
|
||||
<Grid.Column>
|
||||
<MemberIncidentsTable title="Incidents list" />
|
||||
</Grid.Column>
|
||||
</Grid.Row>
|
||||
</Grid>
|
||||
</Container>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
const mapStateToProps = (state) => ({
|
||||
});
|
||||
|
||||
const mapDispatchToProps = (dispatch) => ({
|
||||
});
|
||||
|
||||
export default connect(mapStateToProps, mapDispatchToProps)(PracticeSummaryReport);
|
||||
Reference in New Issue
Block a user