Sha256: 102e97e3a77e54ca8417876cb3f70e8a7732e31d5edf2a1a478074d7eae6c15f

Contents?: true

Size: 897 Bytes

Versions: 16

Compression:

Stored size: 897 Bytes

Contents

import React from 'react';
import { BrowserRouter } from 'react-router-dom';
import { LinkContainer } from 'react-router-bootstrap';
import { ButtonGroup, Button } from 'patternfly-react';

import routes from './Routes/ForemanTasksRoutes';
import ForemanTasksRouter from './Routes/ForemanTasksRouter';

const ForemanTasks = () => (
  <BrowserRouter>
    <div>
      <div style={{ paddingTop: '10px', paddingBottom: '10px' }}>
        <ButtonGroup bsSize="large">
          <LinkContainer to={routes.indexTasks.path}>
            <Button bsStyle="link">index-tasks-page</Button>
          </LinkContainer>
          <LinkContainer to={routes.showTask.path.replace(':id', 'some-id')}>
            <Button bsStyle="link">show-task-page</Button>
          </LinkContainer>
        </ButtonGroup>
      </div>
      <ForemanTasksRouter />
    </div>
  </BrowserRouter>
);

export default ForemanTasks;

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
foreman-tasks-0.16.3 webpack/ForemanTasks/ForemanTasks.js
foreman-tasks-0.15.11 webpack/ForemanTasks/ForemanTasks.js
foreman-tasks-0.16.2 webpack/ForemanTasks/ForemanTasks.js
foreman-tasks-0.15.10 webpack/ForemanTasks/ForemanTasks.js
foreman-tasks-0.16.1 webpack/ForemanTasks/ForemanTasks.js
foreman-tasks-0.17.0 webpack/ForemanTasks/ForemanTasks.js
foreman-tasks-0.15.9 webpack/ForemanTasks/ForemanTasks.js
foreman-tasks-0.15.8 webpack/ForemanTasks/ForemanTasks.js
foreman-tasks-0.15.7 webpack/ForemanTasks/ForemanTasks.js
foreman-tasks-0.16.0 webpack/ForemanTasks/ForemanTasks.js
foreman-tasks-0.15.6 webpack/ForemanTasks/ForemanTasks.js
foreman-tasks-0.15.5 webpack/ForemanTasks/ForemanTasks.js
foreman-tasks-0.15.4 webpack/ForemanTasks/ForemanTasks.js
foreman-tasks-0.15.3 webpack/ForemanTasks/ForemanTasks.js
foreman-tasks-0.15.2 webpack/ForemanTasks/ForemanTasks.js
foreman-tasks-0.15.1 webpack/ForemanTasks/ForemanTasks.js