import React from 'react';
import { Link } from 'react-router';
import UI from 'cem/components/ui';

import styles from 'cem/styles/id/main';

const { Grid, Table } = UI;

export default () => (
  <Grid.Container fluid>
    <Grid.Row>
      <section className={styles.section}>
        <Grid.Row>
          <Grid.Col xs="20" className={styles.wrapper}>
            <Table.Container width="100%">
              <Table.Row>
                <Table.Heading>Название</Table.Heading>
                <Table.Heading>Список прав</Table.Heading>
              </Table.Row>
              <Table.Row>
                <Table.Cell className={styles.fixWidth}>
                  <Link className={styles.link} to="/settings/groups/1">Брокеры</Link>
                </Table.Cell>
                <Table.Cell>
                  Права
                </Table.Cell>
              </Table.Row>
              <Table.Row>
                <Table.Cell className={styles.fixWidth}>
                  <Link className={styles.link} to="/settings/groups/1">Административный отдел</Link>
                </Table.Cell>
                <Table.Cell>
                  Права
                </Table.Cell>
              </Table.Row>
            </Table.Container>
          </Grid.Col>
        </Grid.Row>
      </section>
    </Grid.Row>
  </Grid.Container>
);
