mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
re-order sidebar menu
This commit is contained in:
@@ -47,35 +47,6 @@ export const constantRouterMap = [
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/nodes',
|
||||
component: Layout,
|
||||
meta: {
|
||||
title: 'Node',
|
||||
icon: 'fa fa-server'
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: '',
|
||||
name: 'NodeList',
|
||||
component: () => import('../views/node/NodeList'),
|
||||
meta: {
|
||||
title: 'Nodes',
|
||||
icon: 'fa fa-server'
|
||||
}
|
||||
},
|
||||
{
|
||||
path: ':id',
|
||||
name: 'NodeDetail',
|
||||
component: () => import('../views/node/NodeDetail'),
|
||||
meta: {
|
||||
title: 'Node Detail',
|
||||
icon: 'fa fa-circle-o'
|
||||
},
|
||||
hidden: true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/spiders',
|
||||
component: Layout,
|
||||
@@ -155,21 +126,49 @@ export const constantRouterMap = [
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/sites',
|
||||
path: '/nodes',
|
||||
component: Layout,
|
||||
hidden: true,
|
||||
meta: {
|
||||
title: 'Site',
|
||||
icon: 'fa fa-sitemap'
|
||||
title: 'Node',
|
||||
icon: 'fa fa-server'
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: '',
|
||||
name: 'SiteList',
|
||||
component: () => import('../views/site/SiteList'),
|
||||
name: 'NodeList',
|
||||
component: () => import('../views/node/NodeList'),
|
||||
meta: {
|
||||
title: 'Sites',
|
||||
icon: 'fa fa-sitemap'
|
||||
title: 'Nodes',
|
||||
icon: 'fa fa-server'
|
||||
}
|
||||
},
|
||||
{
|
||||
path: ':id',
|
||||
name: 'NodeDetail',
|
||||
component: () => import('../views/node/NodeDetail'),
|
||||
meta: {
|
||||
title: 'Node Detail',
|
||||
icon: 'fa fa-circle-o'
|
||||
},
|
||||
hidden: true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/disclaimer',
|
||||
component: Layout,
|
||||
meta: {
|
||||
title: 'Disclaimer',
|
||||
icon: 'fa fa-exclamation-triangle'
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: '',
|
||||
name: 'Disclaimer',
|
||||
component: () => import('../views/doc/Disclaimer'),
|
||||
meta: {
|
||||
title: 'Disclaimer',
|
||||
icon: 'fa fa-exclamation-triangle'
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -193,25 +192,6 @@ export const constantRouterMap = [
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/disclaimer',
|
||||
component: Layout,
|
||||
meta: {
|
||||
title: 'Disclaimer',
|
||||
icon: 'fa fa-exclamation-triangle'
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: '',
|
||||
name: 'Disclaimer',
|
||||
component: () => import('../views/doc/Disclaimer'),
|
||||
meta: {
|
||||
title: 'Disclaimer',
|
||||
icon: 'fa fa-exclamation-triangle'
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/setting',
|
||||
component: Layout,
|
||||
|
||||
Reference in New Issue
Block a user