mirror of
https://github.com/fosrl/pangolin.git
synced 2025-07-23 12:15:36 +02:00
Add sidebar - needs translations
This commit is contained in:
parent
f29a5ccc67
commit
c67a2dfa73
2 changed files with 31 additions and 17 deletions
|
@ -1075,5 +1075,19 @@
|
||||||
"authErrorNoUpdate": "No auth info to update",
|
"authErrorNoUpdate": "No auth info to update",
|
||||||
"orgErrorNoUpdate": "No org to update",
|
"orgErrorNoUpdate": "No org to update",
|
||||||
"orgErrorNoProvided": "No org provided",
|
"orgErrorNoProvided": "No org provided",
|
||||||
"apiKeysErrorNoUpdate": "No API key to update"
|
"apiKeysErrorNoUpdate": "No API key to update",
|
||||||
|
"sidebarOverview": "Overview",
|
||||||
|
"sidebarHome": "Home",
|
||||||
|
"sidebarSites": "Sites",
|
||||||
|
"sidebarResources": "Resources",
|
||||||
|
"sidebarAccessControl": "Access Control",
|
||||||
|
"sidebarUsers": "Users",
|
||||||
|
"sidebarInvitations": "Invitations",
|
||||||
|
"sidebarRoles": "Roles",
|
||||||
|
"sidebarShareableLinks": "Shareable Links",
|
||||||
|
"sidebarApiKeys": "API Keys",
|
||||||
|
"sidebarSettings": "Settings",
|
||||||
|
"sidebarAllUsers": "All Users",
|
||||||
|
"sidebarIdentityProviders": "Identity Providers",
|
||||||
|
"sidebarLicense": "License"
|
||||||
}
|
}
|
|
@ -13,7 +13,7 @@ import {
|
||||||
|
|
||||||
export const orgLangingNavItems: SidebarNavItem[] = [
|
export const orgLangingNavItems: SidebarNavItem[] = [
|
||||||
{
|
{
|
||||||
title: "Overview",
|
title: "sidebarOverview",
|
||||||
href: "/{orgId}",
|
href: "/{orgId}",
|
||||||
icon: <Home className="h-4 w-4" />
|
icon: <Home className="h-4 w-4" />
|
||||||
}
|
}
|
||||||
|
@ -21,7 +21,7 @@ export const orgLangingNavItems: SidebarNavItem[] = [
|
||||||
|
|
||||||
export const rootNavItems: SidebarNavItem[] = [
|
export const rootNavItems: SidebarNavItem[] = [
|
||||||
{
|
{
|
||||||
title: "Home",
|
title: "sidebarHome",
|
||||||
href: "/",
|
href: "/",
|
||||||
icon: <Home className="h-4 w-4" />
|
icon: <Home className="h-4 w-4" />
|
||||||
}
|
}
|
||||||
|
@ -29,49 +29,49 @@ export const rootNavItems: SidebarNavItem[] = [
|
||||||
|
|
||||||
export const orgNavItems: SidebarNavItem[] = [
|
export const orgNavItems: SidebarNavItem[] = [
|
||||||
{
|
{
|
||||||
title: "Sites",
|
title: "sidebarSites",
|
||||||
href: "/{orgId}/settings/sites",
|
href: "/{orgId}/settings/sites",
|
||||||
icon: <Combine className="h-4 w-4" />
|
icon: <Combine className="h-4 w-4" />
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "Resources",
|
title: "sidebarResources",
|
||||||
href: "/{orgId}/settings/resources",
|
href: "/{orgId}/settings/resources",
|
||||||
icon: <Waypoints className="h-4 w-4" />
|
icon: <Waypoints className="h-4 w-4" />
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "Access Control",
|
title: "sidebarAccessControl",
|
||||||
href: "/{orgId}/settings/access",
|
href: "/{orgId}/settings/access",
|
||||||
icon: <Users className="h-4 w-4" />,
|
icon: <Users className="h-4 w-4" />,
|
||||||
autoExpand: true,
|
autoExpand: true,
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
title: "Users",
|
title: "sidebarUsers",
|
||||||
href: "/{orgId}/settings/access/users",
|
href: "/{orgId}/settings/access/users",
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
title: "Invitations",
|
title: "sidebarInvitations",
|
||||||
href: "/{orgId}/settings/access/invitations"
|
href: "/{orgId}/settings/access/invitations"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "Roles",
|
title: "sidebarRoles",
|
||||||
href: "/{orgId}/settings/access/roles"
|
href: "/{orgId}/settings/access/roles"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "Shareable Links",
|
title: "sidebarShareableLinks",
|
||||||
href: "/{orgId}/settings/share-links",
|
href: "/{orgId}/settings/share-links",
|
||||||
icon: <LinkIcon className="h-4 w-4" />
|
icon: <LinkIcon className="h-4 w-4" />
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "API Keys",
|
title: "sidebarApiKeys",
|
||||||
href: "/{orgId}/settings/api-keys",
|
href: "/{orgId}/settings/api-keys",
|
||||||
icon: <KeyRound className="h-4 w-4" />
|
icon: <KeyRound className="h-4 w-4" />
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "Settings",
|
title: "sidebarSettings",
|
||||||
href: "/{orgId}/settings/general",
|
href: "/{orgId}/settings/general",
|
||||||
icon: <Settings className="h-4 w-4" />
|
icon: <Settings className="h-4 w-4" />
|
||||||
}
|
}
|
||||||
|
@ -79,22 +79,22 @@ export const orgNavItems: SidebarNavItem[] = [
|
||||||
|
|
||||||
export const adminNavItems: SidebarNavItem[] = [
|
export const adminNavItems: SidebarNavItem[] = [
|
||||||
{
|
{
|
||||||
title: "All Users",
|
title: "sidebarAllUsers",
|
||||||
href: "/admin/users",
|
href: "/admin/users",
|
||||||
icon: <Users className="h-4 w-4" />
|
icon: <Users className="h-4 w-4" />
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "API Keys",
|
title: "sidebarApiKeys",
|
||||||
href: "/admin/api-keys",
|
href: "/admin/api-keys",
|
||||||
icon: <KeyRound className="h-4 w-4" />
|
icon: <KeyRound className="h-4 w-4" />
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "Identity Providers",
|
title: "sidebarIdentityProviders",
|
||||||
href: "/admin/idp",
|
href: "/admin/idp",
|
||||||
icon: <Fingerprint className="h-4 w-4" />
|
icon: <Fingerprint className="h-4 w-4" />
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "License",
|
title: "sidebarLicense",
|
||||||
href: "/admin/license",
|
href: "/admin/license",
|
||||||
icon: <TicketCheck className="h-4 w-4" />
|
icon: <TicketCheck className="h-4 w-4" />
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue