Sha256: 7c16d711a84565ff151fd7d964c597f5b3e6fc64583159299cd10a42a59f97f7

Contents?: true

Size: 724 Bytes

Versions: 22

Compression:

Stored size: 724 Bytes

Contents

import React from 'react';
import { EmptyState, Button } from 'patternfly-react';
import PropTypes from 'prop-types';

const EmptySyncResult = ({ primaryAction }) => (
  <EmptyState>
    <EmptyState.Icon type="fa" name="refresh" />
    <EmptyState.Title>No Template Sync Result</EmptyState.Title>
    <EmptyState.Info>
      To view results of a template sync, you must import/export the templates
      first.
    </EmptyState.Info>
    <EmptyState.Action>
      <Button bsStyle="primary" bsSize="large" onClick={primaryAction}>
        Sync Templates
      </Button>
    </EmptyState.Action>
  </EmptyState>
);

EmptySyncResult.propTypes = {
  primaryAction: PropTypes.func.isRequired,
};

export default EmptySyncResult;

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
foreman_templates-10.0.2 webpack/components/TemplateSyncResult/components/EmptySyncResult.js
foreman_templates-10.0.1 webpack/components/TemplateSyncResult/components/EmptySyncResult.js
foreman_templates-10.0.0 webpack/components/TemplateSyncResult/components/EmptySyncResult.js
foreman_templates-9.5.1 webpack/components/TemplateSyncResult/components/EmptySyncResult.js
foreman_templates-9.5.0 webpack/components/TemplateSyncResult/components/EmptySyncResult.js
foreman_templates-9.3.3 webpack/components/TemplateSyncResult/components/EmptySyncResult.js
foreman_templates-9.3.2 webpack/components/TemplateSyncResult/components/EmptySyncResult.js
foreman_templates-9.3.1 webpack/components/TemplateSyncResult/components/EmptySyncResult.js
foreman_templates-9.4.0 webpack/components/TemplateSyncResult/components/EmptySyncResult.js
foreman_templates-9.3.0 webpack/components/TemplateSyncResult/components/EmptySyncResult.js
foreman_templates-9.2.0 webpack/components/TemplateSyncResult/components/EmptySyncResult.js
foreman_templates-9.1.0 webpack/components/TemplateSyncResult/components/EmptySyncResult.js
foreman_templates-9.0.2 webpack/components/TemplateSyncResult/components/EmptySyncResult.js
foreman_templates-9.0.1 webpack/components/TemplateSyncResult/components/EmptySyncResult.js
foreman_templates-9.0.0 webpack/components/TemplateSyncResult/components/EmptySyncResult.js
foreman_templates-7.0.7 webpack/components/TemplateSyncResult/components/EmptySyncResult.js
foreman_templates-8.0.0 webpack/components/TemplateSyncResult/components/EmptySyncResult.js
foreman_templates-7.0.6 webpack/components/TemplateSyncResult/components/EmptySyncResult.js
foreman_templates-7.0.5 webpack/components/TemplateSyncResult/components/EmptySyncResult.js
foreman_templates-7.0.4 webpack/components/TemplateSyncResult/components/EmptySyncResult.js