import _ from 'lodash'; import { Meteor } from 'meteor/meteor'; import React, { Component } from 'react'; import { Link,browserHistory } from 'react-router'; import { FormGroup,Panel,Table, ButtonToolbar,Modal, FormControl,Glyphicon,Button } from 'react-bootstrap'; import { AddStudentForm } from './addStudentForm'; export class StudentDataView extends Component { constructor(props) { super(props); this.state = { show: false }; this.showModal = this.showModal.bind(this); this.hideModal = this.hideModal.bind(this); this.onUpdate = this.onUpdate.bind(this); }; showModal() { this.setState({show: true}); } hideModal() { this.setState({show: false}); } onUpdate(key, value) { this.setState({[key]: value}); }; render() { return (
Students
Click to view
Teachers
Click to view
Parents
Click to view
Non Teaching Staff
Click to view
Student Details
First Name Last Name className DOB Status Actions
Marth Enright VII 22 Jun 1972 Active
Jackelyn Weible XI 3 Oct 1981 Inactive
Advanced Search
); }; };