Blame view
imports/client/views/org/admin/parents/parentsview.js
1.28 KB
691a06c2f
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
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'; import { AdminSidebar } from '../Sidebar' import { AdminBreadcrumb } from '../Breadcrumb' 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
|
27 28 29 |
togglePanel(){ this.setState({panleOpen: !this.state.panleOpen}); } |
691a06c2f
|
30 31 32 33 |
render() { const {user, org, parent} = this.props.data; return ( |
d532f2f02
|
34 35 36 37 38 39 40 41 |
<div className="container-detached"> <Header user = {user} org = {org} /> <ParentTable data = {this.props.data} parent = {parent} |
691a06c2f
|
42 |
/> |
d532f2f02
|
43 44 |
{/* <AddStaff/> <UploadCsvStaff /> */} |
691a06c2f
|
45 46 47 48 49 50 |
</div> ); }; }; |