Blame view

imports/ui/pages/Documents.js 646 Bytes
d1f05315d   tmcdeveloper   wip adding API an...
1
  import React from 'react';
cb893d909   Paul Savignano   Refactor hrefs to...
2
  import { Link } from 'react-router';
c42d4eeac   themeteorchef   handful of changes
3
  import { Row, Col, Button } from 'react-bootstrap';
3540345c5   themeteorchef   handful of fixes
4
  import DocumentsList from '../containers/DocumentsList.js';
d1f05315d   tmcdeveloper   wip adding API an...
5

3540345c5   themeteorchef   handful of fixes
6
  const Documents = () => (
4c9b3dfc1   themeteorchef   cleaning up
7
8
9
10
11
    <div className="Documents">
      <Row>
        <Col xs={ 12 }>
          <div className="page-header clearfix">
            <h4 className="pull-left">Documents</h4>
cb893d909   Paul Savignano   Refactor hrefs to...
12
13
14
15
16
17
            <Link to="/documents/new">
              <Button
                bsStyle="success"
                className="pull-right"
              >New Document</Button>
            </Link>
4c9b3dfc1   themeteorchef   cleaning up
18
19
20
21
22
          </div>
          <DocumentsList />
        </Col>
      </Row>
    </div>
f0c912bf1   tmcdeveloper   add method tests ...
23
  );
3540345c5   themeteorchef   handful of fixes
24
25
  
  export default Documents;