2022-11-28 02:00:28 +00:00
|
|
|
import { Box, Clock, LayoutGrid, Layers } from 'lucide-react';
|
2022-06-28 07:42:42 +00:00
|
|
|
|
2022-06-23 07:25:56 +00:00
|
|
|
import { SidebarItem } from './SidebarItem';
|
|
|
|
import { SidebarSection } from './SidebarSection';
|
|
|
|
|
|
|
|
export function EdgeComputeSidebar() {
|
|
|
|
return (
|
|
|
|
<SidebarSection title="Edge compute">
|
2022-06-28 16:36:40 +00:00
|
|
|
<SidebarItem
|
|
|
|
to="edge.devices"
|
|
|
|
label="Edge Devices"
|
|
|
|
icon={Box}
|
|
|
|
data-cy="portainerSidebar-edgeDevices"
|
|
|
|
/>
|
|
|
|
<SidebarItem
|
|
|
|
to="edge.groups"
|
|
|
|
label="Edge Groups"
|
2022-11-28 02:00:28 +00:00
|
|
|
icon={LayoutGrid}
|
2022-06-28 16:36:40 +00:00
|
|
|
data-cy="portainerSidebar-edgeGroups"
|
|
|
|
/>
|
|
|
|
<SidebarItem
|
|
|
|
to="edge.stacks"
|
|
|
|
label="Edge Stacks"
|
|
|
|
icon={Layers}
|
|
|
|
data-cy="portainerSidebar-edgeStacks"
|
|
|
|
/>
|
|
|
|
<SidebarItem
|
|
|
|
to="edge.jobs"
|
|
|
|
label="Edge Jobs"
|
|
|
|
icon={Clock}
|
|
|
|
data-cy="portainerSidebar-edgeJobs"
|
|
|
|
/>
|
2022-06-23 07:25:56 +00:00
|
|
|
</SidebarSection>
|
|
|
|
);
|
|
|
|
}
|