1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 15:59:41 +02:00

fix(UI) Update all network pages EE-3509 (#7324)

* EE-3509 update all network pages

* EE-3509 update access control panel and network container table
This commit is contained in:
Rex Wang 2022-07-25 07:57:18 +08:00 committed by GitHub
parent 5f5cb36df1
commit 5b3f099f4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 71 additions and 60 deletions

View file

@ -1,4 +1,4 @@
import { Widget, WidgetBody, WidgetTitle } from '@@/Widget';
import { Table, TableContainer, TableTitle } from '@@/datatables';
import { DetailsTable } from '@@/DetailsTable';
import { NetworkOptions } from '../types';
@ -17,9 +17,9 @@ export function NetworkOptionsTable({ options }: Props) {
return (
<div className="row">
<div className="col-lg-12 col-md-12 col-xs-12">
<Widget>
<WidgetTitle title="Network options" icon="fa-cogs" />
<WidgetBody className="nopadding">
<TableContainer>
<TableTitle label="Network options" icon="share-2" featherIcon />
<Table className="nopadding">
<DetailsTable dataCy="networkDetails-networkOptionsTable">
{networkEntries.map(([key, value]) => (
<DetailsTable.Row key={key} label={key}>
@ -27,8 +27,8 @@ export function NetworkOptionsTable({ options }: Props) {
</DetailsTable.Row>
))}
</DetailsTable>
</WidgetBody>
</Widget>
</Table>
</TableContainer>
</div>
</div>
);