summaryrefslogtreecommitdiff
path: root/src/router/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/router/index.js')
-rw-r--r--src/router/index.js27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/router/index.js b/src/router/index.js
index 73f31861..a3d28063 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -3,6 +3,7 @@ import VueRouter from 'vue-router';
import store from '../store/index';
import AppLayout from '../layouts/AppLayout.vue';
import LoginLayout from '@/layouts/LoginLayout';
+import ConsoleLayout from '@/layouts/ConsoleLayout.vue';
Vue.use(VueRouter);
@@ -113,6 +114,14 @@ const routes = [
}
},
{
+ path: '/control/serial-over-lan',
+ name: 'serial-over-lan',
+ component: () => import('@/views/Control/SerialOverLan'),
+ meta: {
+ title: 'appPageTitle.serialOverLan'
+ }
+ },
+ {
path: '/control/server-power-operations',
name: 'server-power-operations',
component: () => import('@/views/Control/ServerPowerOperations'),
@@ -143,6 +152,24 @@ const routes = [
}
}
]
+ },
+ {
+ path: '/console',
+ component: ConsoleLayout,
+ meta: {
+ requiresAuth: true
+ },
+ children: [
+ {
+ path: '/console/serial-over-lan-console',
+ name: 'serial-over-lan',
+ component: () =>
+ import('@/views/Control/SerialOverLan/SerialOverLanConsole'),
+ meta: {
+ title: 'appPageTitle.serialOverLan'
+ }
+ }
+ ]
}
];