mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 07:49:41 +02:00
feat(container): container detail page as well as some icon changes [EE-3493] (#7361)
This commit is contained in:
parent
8843b7b0e8
commit
c54bb255ba
4 changed files with 19 additions and 13 deletions
|
@ -1,5 +1,6 @@
|
|||
import { Authorized } from '@/portainer/hooks/useUser';
|
||||
import { EnvironmentId } from '@/portainer/environments/types';
|
||||
import { Icon } from '@/react/components/Icon';
|
||||
|
||||
import { Table, TableContainer, TableTitle } from '@@/datatables';
|
||||
import { DetailsTable } from '@@/DetailsTable';
|
||||
|
@ -68,7 +69,7 @@ export function NetworkContainersTable({
|
|||
<Button
|
||||
data-cy={`networkDetails-disconnect${container.Name}`}
|
||||
size="xsmall"
|
||||
color="danger"
|
||||
color="dangerlight"
|
||||
onClick={() => {
|
||||
if (container.Id) {
|
||||
disconnectContainer.mutate({
|
||||
|
@ -79,9 +80,10 @@ export function NetworkContainersTable({
|
|||
}
|
||||
}}
|
||||
>
|
||||
<i
|
||||
className="fa fa-trash-alt space-right"
|
||||
aria-hidden="true"
|
||||
<Icon
|
||||
icon="trash-2"
|
||||
feather
|
||||
class-name="icon-secondary icon-md"
|
||||
/>
|
||||
Leave Network
|
||||
</Button>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue