Admin part is added and navbar context file is added
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
|
||||
import { TableRowData } from '@/types/types';
|
||||
import {
|
||||
LayoutGrid,
|
||||
Smile,
|
||||
@@ -36,11 +35,16 @@ import {
|
||||
Wallet,
|
||||
Radar,
|
||||
Cog,
|
||||
Smartphone,
|
||||
Users,
|
||||
Database,
|
||||
Globe,
|
||||
LayoutDashboard,
|
||||
} from "lucide-react";
|
||||
|
||||
//Side bar Drop Down menu
|
||||
|
||||
export const SIDEBAR_ITEMS = [
|
||||
export const OPERATIONS_SIDEBAR_ITEMS = [
|
||||
{
|
||||
title: "Overview",
|
||||
icon: LayoutGrid,
|
||||
@@ -130,6 +134,31 @@ export const SIDEBAR_ITEMS = [
|
||||
{ title: "Settings", href: "/configure/settings", icon: Sun },],
|
||||
},
|
||||
];
|
||||
export const ADMIN_SIDEBAR_ITEMS = [
|
||||
{
|
||||
title: "Platform",
|
||||
icon: Building2,
|
||||
children: [
|
||||
{ title: "Overview", href: "/admin/overview", icon: LayoutGrid },
|
||||
{ title: "Tenants", href: "/admin/tenants", icon: Building2 },
|
||||
{ title: "Users", href: "/admin/users", icon: Users },
|
||||
{ title: "Sites", href: "/admin/sites", icon: MapPin },
|
||||
{ title: "Security", href: "/admin/security", icon: Shield },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Configuration",
|
||||
icon: LayoutGrid,
|
||||
children: [
|
||||
{ title: "Modules", href: "/admin/configuration/modules", icon: LayoutGrid },
|
||||
{ title: "Language", href: "/admin/configuration/language", icon: Globe },
|
||||
{ title: "Dynamic Dashboard", href: "/admin/configuration/dynamic-dashboard", icon: LayoutDashboard },
|
||||
{ title: "Mobile Flows", href: "/admin/configuration/mobile-flows", icon: Smartphone },
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
|
||||
//Overview dashboard data
|
||||
|
||||
@@ -147,6 +176,8 @@ export const chartData = [
|
||||
{ month: 'N', height: 'h-26' },
|
||||
{ month: 'D', height: 'h-24' },
|
||||
];
|
||||
|
||||
|
||||
export const energyData = [
|
||||
{ month: "Jan", height: 'h-20' },
|
||||
{ month: "Feb", height: 'h-12' },
|
||||
@@ -197,8 +228,15 @@ export const equipmentTabs: string[] = [
|
||||
'AMC Schedule',
|
||||
'Maintenance Calendar'
|
||||
];
|
||||
export const helpdeskTtabs: string[] = ['Location', 'Technical',
|
||||
'Missed', 'Departments', 'HSQE'];
|
||||
|
||||
|
||||
|
||||
export const helpdeskTtabs: string[] =
|
||||
['Location',
|
||||
'Technical',
|
||||
'Missed',
|
||||
'Departments',
|
||||
'HSQE'];
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user