mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 20:35:25 +02:00
feat(home): change layout of env tile [EE-4479] (#8061)
This commit is contained in:
parent
b48aa1274d
commit
eba5879ec8
29 changed files with 717 additions and 445 deletions
|
@ -1,6 +1,6 @@
|
|||
import { Power } from 'lucide-react';
|
||||
|
||||
import { Icon } from '@@/Icon';
|
||||
import { StatsItem } from '@@/StatsItem';
|
||||
|
||||
interface Props {
|
||||
running: number;
|
||||
|
@ -11,11 +11,19 @@ export function RunningStatus({ running, stopped }: Props) {
|
|||
return (
|
||||
<div>
|
||||
<div>
|
||||
<Icon icon={Power} mode="success" />
|
||||
<StatsItem
|
||||
value={`${running || '-'} running`}
|
||||
icon={Power}
|
||||
iconClass="icon-success"
|
||||
/>
|
||||
{`${running || '-'} running`}
|
||||
</div>
|
||||
<div>
|
||||
<Icon icon={Power} mode="danger" />
|
||||
<StatsItem
|
||||
value={`${stopped || '-'} stopped`}
|
||||
icon={Power}
|
||||
iconClass="icon-danger"
|
||||
/>
|
||||
{`${stopped || '-'} stopped`}
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue