Sha256: 18f1d18dc7c1a35eb1704b933fddc42d91f702b4ae5eee0e99d815677b931201

Contents?: true

Size: 968 Bytes

Versions: 10

Compression:

Stored size: 968 Bytes

Contents

import React from 'react';
import PropTypes from 'prop-types';
import { Title, Divider } from '@patternfly/react-core';
import { translate as __ } from 'foremanReact/common/I18n';
import PageLayout from 'foremanReact/routes/common/PageLayout/PageLayout';
import { JobWizard } from './JobWizard';

const JobWizardPage = () => {
  const title = __('Run job');
  const breadcrumbOptions = {
    breadcrumbItems: [
      { caption: __('Jobs'), url: `/jobs` },
      { caption: title },
    ],
  };
  return (
    <PageLayout
      header={title}
      breadcrumbOptions={breadcrumbOptions}
      searchable={false}
    >
      <React.Fragment>
        <Title headingLevel="h2" size="2xl">
          {title}
        </Title>
        <Divider component="div" />
        <JobWizard />
      </React.Fragment>
    </PageLayout>
  );
};

JobWizardPage.propTypes = {
  location: PropTypes.shape({
    search: PropTypes.string,
  }).isRequired,
};

export default JobWizardPage;

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
foreman_remote_execution-5.0.8 webpack/JobWizard/index.js
foreman_remote_execution-5.0.7 webpack/JobWizard/index.js
foreman_remote_execution-5.0.6 webpack/JobWizard/index.js
foreman_remote_execution-5.0.5 webpack/JobWizard/index.js
foreman_remote_execution-5.0.4 webpack/JobWizard/index.js
foreman_remote_execution-5.0.3 webpack/JobWizard/index.js
foreman_remote_execution-5.0.2 webpack/JobWizard/index.js
foreman_remote_execution-5.1.0 webpack/JobWizard/index.js
foreman_remote_execution-5.0.1 webpack/JobWizard/index.js
foreman_remote_execution-5.0.0 webpack/JobWizard/index.js