Blame view
imports/client/views/org/admin/parents/parentsview.js
1.16 KB
691a06c2f
|
1 2 3 4 5 6 7 8 |
import _ from 'lodash'; import { Meteor } from 'meteor/meteor'; import React, { Component } from 'react'; import { Link,browserHistory } from 'react-router'; import { FormGroup, FormControl,Glyphicon,Button } from 'react-bootstrap'; import { Header } from '../Header'; |
691a06c2f
|
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
import { ParentTable } from './view/ParentTable' export class ParentsView extends Component { constructor(props) { super(props); this.state = { }; this.onUpdate = this.onUpdate.bind(this); }; onUpdate(key, value) { this.setState({[key]: value}); }; |
df05c55ea
|
25 26 27 |
togglePanel(){ this.setState({panleOpen: !this.state.panleOpen}); } |
691a06c2f
|
28 29 30 31 |
render() { const {user, org, parent} = this.props.data; return ( |
d532f2f02
|
32 33 34 35 36 37 38 39 |
<div className="container-detached"> <Header user = {user} org = {org} /> <ParentTable data = {this.props.data} parent = {parent} |
691a06c2f
|
40 |
/> |
d532f2f02
|
41 42 |
{/* <AddStaff/> <UploadCsvStaff /> */} |
691a06c2f
|
43 44 45 46 47 48 |
</div> ); }; }; |