[
  {
    title: '首页',
    icon: 'home',
    children: [
      { path: '/dashboard', title: '仪表盘', icon: 'area-chart' },
      { path: '/dashboard/hot', title: '热门排行', icon: 'fire' },
      { path: '/dashboard/pipeline', title: '任务视图', icon: 'modx' }
    ]
  },
  {
    title: '全局配置',
    icon: 'cogs',
    children: [
      { path: '/env', title: '环境配置', icon: 'cog' },
      { path: '/tag', title: '标签配置', icon: 'tags' },
      { path: '/workorder/mgmt', title: '工单配置', icon: 'ticket' },
      { path: '/setting/keybox', title: '密钥管理', icon: 'key' },
      { path: '/setting/global', title: '系统参数', icon: 'cog' }
    ]
  },
  {
    title: '应用配置',
    icon: 'codepen',
    children: [
      { path: '/application', title: '应用', iconSvg: 'application' }
    ]
  },
  {
    title: '我的工作台',
    icon: 'desktop',
    children: [
      { path: '/workbench/continuous-integration', title: '持续集成', icon: 'envira' },
      { path: '/workbench/jump', title: '堡垒机', icon: 'terminal' },
      { path: '/workbench/web-terminal', title: 'Web终端', iconSvg: 'xterm' },
      { path: '/workbench/application', title: '我的应用', iconSvg: 'k8s-application' }
    ]
  },
  {
    title: 'Caesar配置',
    icon: 'connectdevelop',
    children: [
      { path: '/caesar/instance', title: '实例管理', iconSvg: 'caesar' }
    ]
  },
  {
    title: 'Jenkins配置',
    icon: 'google-wallet',
    children: [
      { path: '/jenkins/instance', title: '实例管理', iconSvg: 'jenkins' },
      { path: '/jenkins/job/template', title: '任务模版', iconSvg: 'template' },
      { path: '/jenkins/job/template/version', title: '模版版本', iconSvg: 'template' }
    ]
  },
  {
    title: 'Gitlab配置',
    icon: 'gitlab',
    children: [
      { path: '/gitlab/instance', title: '实例管理', icon: 'git' },
      { path: '/gitlab/group', title: '群组管理', icon: 'th-large' },
      { path: '/gitlab/project', title: '项目管理', icon: 'th-list' }
    ]
  },
  {
    title: '存储管理',
    icon: 'database',
    children: [
      { path: '/storage/oss', title: '对象存储', iconSvg: 'oss' }
    ]
  },
  {
    title: '通知中心',
    icon: 'volume-control-phone',
    children: [
      { path: '/dingtalk', title: '钉钉配置', iconSvg: 'dingtalk' }
    ]
  },
  {
    title: '服务器管理',
    icon: 'server',
    children: [
      { path: '/server', title: '服务器', icon: 'server' },
      { path: '/server/attribute', title: '服务器属性', icon: 'tag' },
      { path: '/server/group', title: '服务器组', icon: 'window-restore' },
      { path: '/server/group/type', title: '服务器组类型', icon: 'align-justify' }
    ]
  },
  {
    title: 'Kubernetes',
    icon: 'dropbox',
    children: [
      { path: '/kubernetes/application', title: '应用管理', iconSvg: 'k8s-application' },
      { path: '/kubernetes/application/instance', title: '应用实例管理', iconSvg: 'k8s-instance' },
      { path: '/kubernetes/cluster', title: '集群管理', iconSvg: 'kubernetes' },
      { path: '/kubernetes/deployment', title: '无状态管理', iconSvg: 'k8s-deployment' },
      { path: '/kubernetes/service', title: '服务管理', iconSvg: 'k8s-service' },
      { path: '/kubernetes/template', title: '模版管理', iconSvg: 'YAML' }
    ]
  },
  {
    title: '堡垒机',
    icon: 'empire',
    children: [
      { path: '/jump/jumpserver/settings', title: 'Jump设置', icon: 'cog' },
      { path: '/jump/jumpserver/user', title: '用户管理', icon: 'user' },
      { path: '/jump/jumpserver/asset', title: '资产管理', icon: 'server' },
      { path: '/term/session', title: 'Web终端会话', icon: 'server' } 
    ]
  },
  {
    title: '用户管理',
    icon: 'user-circle',
    children: [
      { path: '/user', title: '用户', icon: 'user' },
      { path: '/user/group', title: '用户组', icon: 'users' },
      { path: '/user/retired', title: '用户离职管理', icon: 'user' },
      { path: '/org', title: '组织架构', icon:'sitemap'},
      { path: '/org/department', title: '部门管理', icon: 'connectdevelop' }
    ]
  },
  {
    title: '任务管理',
    icon: 'th-list',
    children: [
      { path: '/task/ansible/mgmt', title: '配置管理', icon: 'file-text-o' },
      { path: '/task/profile/subscription', title: '配置订阅', iconSvg: 'subscription' },
      { path: '/task/command', title: '批量命令', icon: 'terminal' },
      { path: '/task/script', title: '批量脚本', icon: 'retweet' },
      { path: '/task/playbook', title: 'playbook', icon: 'recycle' },
      { path: '/task/history', title: '任务查询', icon: 'yelp' }
    ]
  },
  {
    title: 'RBAC配置',
    icon: 'address-card',
    children: [
      { path: '/auth/resource', title: '资源管理', icon: 'modx' },
      { path: '/auth/role', title: '角色管理', icon: 'users' },
      { path: '/auth/user/role', title: '用户角色配置', icon: 'id-card' }
    ]
  },
  {
    title: '个人详情',
    icon: 'user-o',
    children: [
      { path: '/user/detail', title: '我的详情', icon: 'address-book' }
    ]
  }
]
