30 lines
1.5 KiB
TypeScript
30 lines
1.5 KiB
TypeScript
|
|
export interface MenuItem {
|
||
|
|
title: string
|
||
|
|
href: string
|
||
|
|
id: string
|
||
|
|
sort: number
|
||
|
|
}
|
||
|
|
|
||
|
|
export const menuItems: MenuItem[] = [
|
||
|
|
{ title: "Home", href: "/", id: "menuHome", sort: 1 },
|
||
|
|
{ title: "Website", href: "/site", id: "menuSite", sort: 2 },
|
||
|
|
{ title: "FTP", href: "/ftp", id: "menuFtp", sort: 3 },
|
||
|
|
{ title: "Databases", href: "/database", id: "menuDatabase", sort: 4 },
|
||
|
|
{ title: "Docker", href: "/docker", id: "menuDocker", sort: 5 },
|
||
|
|
{ title: "Monitor", href: "/control", id: "menuControl", sort: 6 },
|
||
|
|
{ title: "Security", href: "/firewall", id: "menuFirewall", sort: 7 },
|
||
|
|
{ title: "Files", href: "/files", id: "menuFiles", sort: 8 },
|
||
|
|
{ title: "Node", href: "/node", id: "menuNode", sort: 9 },
|
||
|
|
{ title: "Logs", href: "/logs", id: "menuLogs", sort: 10 },
|
||
|
|
{ title: "Domains", href: "/ssl_domain", id: "menuDomains", sort: 11 },
|
||
|
|
{ title: "Terminal", href: "/xterm", id: "menuXterm", sort: 12 },
|
||
|
|
{ title: "Cron", href: "/crontab", id: "menuCrontab", sort: 13 },
|
||
|
|
{ title: "App Store", href: "/soft", id: "menuSoft", sort: 14 },
|
||
|
|
{ title: "Services", href: "/services", id: "menuServices", sort: 15 },
|
||
|
|
{ title: "Plugins", href: "/plugins", id: "menuPlugins", sort: 16 },
|
||
|
|
{ title: "Backup Plans", href: "/backup-plans", id: "menuBackupPlans", sort: 17 },
|
||
|
|
{ title: "Users", href: "/users", id: "menuUsers", sort: 18 },
|
||
|
|
{ title: "Settings", href: "/config", id: "menuConfig", sort: 19 },
|
||
|
|
{ title: "Log out", href: "/logout", id: "menuLogout", sort: 20 },
|
||
|
|
]
|