equal
deleted
inserted
replaced
1 import React, { Component } from 'react'; |
1 import React, { Component } from 'react'; |
2 import { connect } from 'react-redux'; |
2 import { connect } from 'react-redux'; |
3 import { bindActionCreators } from 'redux'; |
3 import { bindActionCreators } from 'redux'; |
4 import { Grid, Row, Col } from 'react-bootstrap'; |
|
5 import '../App.css'; |
4 import '../App.css'; |
6 import Navbar from './Navbar'; |
5 import Navbar from './Navbar'; |
7 import NoteInput from './NoteInput'; |
6 import NoteInput from './NoteInput'; |
8 import NotesList from './NotesList'; |
7 import NotesList from './NotesList'; |
9 import SessionForm from './SessionForm'; |
8 import SessionForm from './SessionForm'; |
35 annotationCategories={this.props.annotationCategories} |
34 annotationCategories={this.props.annotationCategories} |
36 /> |
35 /> |
37 </div> |
36 </div> |
38 </div> |
37 </div> |
39 <section className="editor-fixed"> |
38 <section className="editor-fixed"> |
40 <Grid fluid> |
39 <div className="container-fluid"> |
41 <Row> |
40 <div className="row"> |
42 <Col md={9} mdOffset={3}> |
41 <div className="col-md-9 col-md-offset-3"> |
43 <NoteInput |
42 <NoteInput |
44 session={this.props.currentSession} |
43 session={this.props.currentSession} |
45 autoSubmit={this.props.autoSubmit} |
44 autoSubmit={this.props.autoSubmit} |
46 addNote={this.props.notesActions.addNote} |
45 addNote={this.props.notesActions.addNote} |
47 setAutoSubmit={this.props.userActions.setAutoSubmit} |
46 setAutoSubmit={this.props.userActions.setAutoSubmit} |
48 annotationCategories={this.props.annotationCategories}/> |
47 annotationCategories={this.props.annotationCategories}/> |
49 </Col> |
48 </div> |
50 </Row> |
49 </div> |
51 </Grid> |
50 </div> |
52 </section> |
51 </section> |
53 </div> |
52 </div> |
54 </div> |
53 </div> |
55 ); |
54 ); |
56 } |
55 } |