re-order sidebar menu
@@ -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,59 +126,68 @@ 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: '/users',
+ path: '/disclaimer',
component: Layout,
meta: {
- title: 'User',
- icon: 'fa fa-user'
+ title: 'Disclaimer',
+ icon: 'fa fa-exclamation-triangle'
},
children: [
{
path: '',
- name: 'UserList',
- component: () => import('../views/user/UserList'),
+ name: 'Disclaimer',
+ component: () => import('../views/doc/Disclaimer'),
meta: {
- title: 'Users',
- icon: 'fa fa-user'
+ title: 'Disclaimer',
+ icon: 'fa fa-exclamation-triangle'
}
}
]
},
{
- path: '/disclaimer',
+ path: '/users',
component: Layout,
meta: {
- title: 'Disclaimer',
- icon: 'fa fa-exclamation-triangle'
+ title: 'User',
+ icon: 'fa fa-user'
},
children: [
{
path: '',
- name: 'Disclaimer',
- component: () => import('../views/doc/Disclaimer'),
+ name: 'UserList',
+ component: () => import('../views/user/UserList'),
meta: {
- title: 'Disclaimer',
- icon: 'fa fa-exclamation-triangle'
+ title: 'Users',
+ icon: 'fa fa-user'
}
}
]
