Blame view

imports/client/views/org/admin/students/FabMenu.js 997 Bytes
7aa6f173b   Deepak   added student view
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
27
28
29
30
31
32
33
34
35
36
37
38
  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';
  import FloatingActionButton from 'material-ui/FloatingActionButton';
  import ContentAdd from 'material-ui/svg-icons/content/add';
  const style = {
    marginRight: 20,
  };
  export class FabMenuView extends Component {
  
    constructor(props) {
      super(props);
      this.state = {
        show: false
      };
      this.onUpdate = this.onUpdate.bind(this);
    };
    onUpdate(key, value) {
      this.setState({[key]: value});
    };
  
    render() {
      return (
        <div>
          <FloatingActionButton>
            <ContentAdd />
          </FloatingActionButton>
        </div>
      );
    };
  
  };