mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 15:27:47 -02:30
wrap org list in Card for consistency between detail
This commit is contained in:
@@ -8,6 +8,7 @@ import {
|
|||||||
import { I18n, i18nMark } from '@lingui/react';
|
import { I18n, i18nMark } from '@lingui/react';
|
||||||
import { t } from '@lingui/macro';
|
import { t } from '@lingui/macro';
|
||||||
import {
|
import {
|
||||||
|
Card,
|
||||||
PageSection,
|
PageSection,
|
||||||
PageSectionVariants,
|
PageSectionVariants,
|
||||||
} from '@patternfly/react-core';
|
} from '@patternfly/react-core';
|
||||||
@@ -195,6 +196,7 @@ class OrganizationsList extends Component {
|
|||||||
return (
|
return (
|
||||||
<Fragment>
|
<Fragment>
|
||||||
<PageSection variant={medium}>
|
<PageSection variant={medium}>
|
||||||
|
<Card>
|
||||||
<DataListToolbar
|
<DataListToolbar
|
||||||
addUrl={`${match.url}/add`}
|
addUrl={`${match.url}/add`}
|
||||||
isAllSelected={selected.length === results.length}
|
isAllSelected={selected.length === results.length}
|
||||||
@@ -235,6 +237,7 @@ class OrganizationsList extends Component {
|
|||||||
/>
|
/>
|
||||||
{ loading ? <div>loading...</div> : '' }
|
{ loading ? <div>loading...</div> : '' }
|
||||||
{ error ? <div>error</div> : '' }
|
{ error ? <div>error</div> : '' }
|
||||||
|
</Card>
|
||||||
</PageSection>
|
</PageSection>
|
||||||
</Fragment>
|
</Fragment>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user