How to use the @patternfly/react-core.EmptyStateVariant.full function in @patternfly/react-core

To help you get started, we’ve selected a few @patternfly/react-core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github kiali / kiali-ui / src / pages / IstioConfigDetails / IstioConfigDetailsPage.tsx View on Github external
);
      }
      if (this.state.istioObjectDetails.destinationRule) {
        return (
          
        );
      }
    } else {
      // In theory it shouldn't enter here, but we show a nice error page anyway.

      return (
        
          
          <title size="{TitleSize.lg}">
            Error loading object {this.props.match.params.object}
          </title>
          
            This might mean the resource is not ready yet or has been deleted and the cluster has not finished
            propagating the changes.
          
        
      );
    }
  };
github integr8ly / tutorial-web-app / src / pages / congratulations / congratulations.js View on Github external
render() {
    return (
      
        
          Skip to content
          
          
            
              
                <img alt="" src="{congratulationsImage}">
                <title id="main-content" size="lg">
                  Congratulations, you completed the Solution Pattern!
                </title>
                
                  Return to your homepage to explore more Solution Patterns or go to your OpenShift console to utilize
                  what you just built!
                
                <button id="congratulations-button"> this.exitTutorial(e)}&gt;
                  Return to home
                </button>{' '}
github openshift / console / frontend / public / components / monitoring / alert-manager-config.tsx View on Github external
const ReceiversEmptyState: React.FC = () =&gt; (
  
    <title size="lg">No Receivers Found</title>
    
      Create a receiver to get OpenShift alerts through other services such as email or a chat
      platform. The first receiver you create will become the default receiver and will
      automatically receive all alerts from this cluster. Subsequent receivers can have specific
      sets of alerts routed to them.
    
  
);
github openshift / console / frontend / packages / ceph-storage-plugin / src / components / dashboard-page / storage-dashboard / breakdown-card / breakdown-body.tsx View on Github external
}) =&gt; {
  if (isLoading &amp;&amp; !hasLoadError) {
    return ;
  }
  if (!capacityUsed || !top5MetricsStats.length || hasLoadError) {
    return (
      
        <title size="sm">
          Not available.
        </title>
      
    );
  }
  if (capacityUsed === '0') {
    return (
      
        <title size="sm">
          Not enough usage data
        </title>
      
    );
  }

  const available = getCapacityValue(capacityUsed, capacityTotal, humanize);
  const usedCapacity = `${humanize(capacityUsed, null, 'GiB').string} used${
    capacityTotal ? ` of ${humanize(capacityTotal).string}` : ''
  }`;
  const availableCapacity = `${available.string} available`;

  const chartData = addAvailable(
    top5MetricsStats,
    capacityTotal,
github kiali / kiali-ui / src / pages / ServiceDetails / ServiceInfo / ServiceInfoDestinationRules.tsx View on Github external
noDestinationRules(): IRow[] {
    return [
      {
        cells: [
          {
            title: (
              
                
                <title size="lg">
                  No Destination Rules {!this.props.service.istioSidecar &amp;&amp; ' and Istio Sidecar '} found
                </title>
                
                  No Destination Rules {!this.props.service.istioSidecar &amp;&amp; ' and istioSidecar '} found for service{' '}
                  {this.props.service.service.name}
                
              
            ),
            props: { colSpan: 8 }
          }
        ]
      }
    ];
  }
github kiegroup / optaweb-employee-rostering / employee-rostering-frontend / src / ui / pages / rotation / RotationPage.tsx View on Github external
render() {
    const baseDate = moment('2018-01-01T00:00').startOf('week').toDate();
    const { t } = this.props;
    if (this.props.rosterState === null || this.props.isLoading || this.props.spotList.length &lt;= 0
      || this.state.shownSpot === null || !this.props.tReady) {
      return (
        
          
          ,
              ,
              <button aria-label="Spots Page"> this.props.history.push('/spots')}
              /&gt;
            ]}
          /&gt;
        </button>
github syndesisio / syndesis / app / ui-react / packages / ui / src / Data / Virtualizations / Views / ConnectionSchemaList.tsx View on Github external
{props.hasListData ? (
        &lt;&gt;
          
            {props.i18nLinkCreateConnection}
          
          <div>
            {props.children}
          </div>
        
      ) : (
        
          <title size="lg">
            {props.i18nEmptyStateTitle}
          </title>
          {props.i18nEmptyStateInfo}
          
            {props.i18nLinkCreateConnection}
          
        
      )}
github ansible / ansible-hub-ui / src / containers / collection-detail / collection-docs.tsx View on Github external
private renderNotFound(collectionName) {
        return (
            
                
                <title size="lg">
                    Not found
                </title>
                
                    The file you're looking for doesn't seem to be available in
                    this version of {collectionName}.
                
            
        );
    }
github openshift / console / frontend / packages / kubevirt-plugin / src / components / boot-order / boot-order-empty.tsx View on Github external
export const BootOrderEmpty: React.FC = ({
  title,
  message,
  addItemMessage,
  addItemIsDisabled,
  addItemDisabledMessage,
  onClick,
}) =&gt; (
  
    <title size="lg">
      {title}
    </title>
    {message}
    {!addItemIsDisabled ? (
      <button>
        {addItemMessage}
      </button>
    ) : (
      
    )}
github openshift / console / frontend / packages / kubevirt-plugin / src / components / create-vm-wizard / tabs / storage-tab / storage-tab.tsx View on Github external
/&gt;
          
          {isBootDiskRequired &amp;&amp; (
            <footer>
              
            </footer>
          )}
        
      )}
      {!showStorages &amp;&amp; (
        
          
            <title size="lg">
              No disks attached
            </title>
            <button>} variant={ButtonVariant.link}&gt;
              {ADD_DISK}
            </button>
          
        
      )}
    
  );
};