summaryrefslogtreecommitdiff
path: root/src/router
diff options
context:
space:
mode:
authorMaksim Zakharov <m.zakharov@IBS.RU>2022-06-20 11:52:15 +0300
committerMaksim Zakharov <m.zakharov@IBS.RU>2022-06-20 11:52:15 +0300
commit931c2cad0da1a84e3df0745b385ec06d29cc2634 (patch)
treec5ee97bcd812a1a45cd645ab334613cdada13118 /src/router
parent58d1eb3b899b730877299be6635adceb127fe6a9 (diff)
downloadwebui-vue-931c2cad0da1a84e3df0745b385ec06d29cc2634.tar.xz
fix Modals, Tables and Pages: event logs, inventoty, post logs, operttions, global styles
Diffstat (limited to 'src/router')
-rw-r--r--src/router/routes.js73
1 files changed, 41 insertions, 32 deletions
diff --git a/src/router/routes.js b/src/router/routes.js
index 439815ae..7aae4ce2 100644
--- a/src/router/routes.js
+++ b/src/router/routes.js
@@ -7,7 +7,7 @@ import FactoryReset from '@/views/Operations/FactoryReset';
import Firmware from '@/views/Operations/Firmware';
import Inventory from '@/views/HardwareStatus/Inventory';
import Kvm from '@/views/Operations/Kvm';
-// import KvmConsole from '@/views/Operations/Kvm/KvmConsole'; Full screen console
+import KvmConsole from '@/views/Operations/Kvm/KvmConsole';
import Sessions from '../views/SecurityAndAccess/Sessions';
import Ldap from '@/views/SecurityAndAccess/Ldap';
import UserManagement from '@/views/SecurityAndAccess/UserManagement';
@@ -24,14 +24,14 @@ import Policies from '@/views/SecurityAndAccess/Policies';
import KeyClear from '@/views/Operations/KeyClear';
import Sensors from '@/views/HardwareStatus/Sensors';
import SerialOverLan from '@/views/Operations/SerialOverLan';
-// import SerialOverLanConsole from '@/views/Operations/SerialOverLan/SerialOverLanConsole'; Full screen SOL
+import SerialOverLanConsole from '@/views/Operations/SerialOverLan/SerialOverLanConsole';
import ServerPowerOperations from '@/views/Operations/ServerPowerOperations';
import Certificates from '@/views/SecurityAndAccess/Certificates';
import VirtualMedia from '@/views/Operations/VirtualMedia';
import Power from '@/views/ResourceManagement/Power';
import InformationAndFAQ from '@/views/InformationAndFAQ';
-import SystemDescription from '@/views/SystemDescription/Info';
+// import SystemDescription from '@/views/SystemDescription/Info';
import SystemNetwork from '@/views/SystemDescription/Network';
import ServerParametrs from '@/views/SystemDescription/ServerParametrs';
// import SystemEventLogs from '@/views/SystemDescription/SystemEventLogs';
@@ -50,7 +50,6 @@ import MemoryStaticPage from '@/views/MemoryModules/Specification';
import PowerStaticPage from '@/views/PowerSupplies/Specification';
import PowerDynamicPage from '@/views/PowerSupplies/DynamicInfo';
-import SILAEventLogs from '@/views/SILA/EventLogs';
import SILAAnalyticalPanel from '@/views/SILA/AnalyticalPanel';
import SILARaidSpecification from '@/views/SILA/RAID/Specification';
@@ -99,22 +98,47 @@ const routes = [
],
},
{
- path: '/',
+ path: '/console',
+ component: ConsoleLayout,
meta: {
requiresAuth: true,
},
- component: AppLayout,
children: [
{
- path: '/console-settings',
+ path: 'serial-over-lan-console',
+ name: 'serial-over-lan-console',
+ component: SerialOverLanConsole,
+ meta: {
+ title: i18n.t('appPageTitle.serialOverLan'),
+ },
+ },
+ {
+ path: 'kvm',
+ name: 'kvm-console',
+ component: KvmConsole,
+ meta: {
+ title: i18n.t('appPageTitle.kvm'),
+ },
+ },
+ {
+ path: '/settings',
name: 'console-settings',
component: ConsoleSettings,
meta: {
- title: i18n.t('kvmNavigation.ConsoleSettings'),
+ title: i18n.t('appPageTitle.ConsoleSettings'),
},
},
+ ],
+ },
+ {
+ path: '/',
+ meta: {
+ requiresAuth: true,
+ },
+ component: AppLayout,
+ children: [
{
- path: '/console',
+ path: '/operations',
component: ConsoleLayout,
meta: {
requiresAuth: true,
@@ -122,18 +146,18 @@ const routes = [
children: [
{
path: 'serial-over-lan',
- name: 'serial-over-lan-console',
+ name: 'serial-over-lan',
component: SerialOverLan,
meta: {
- title: i18n.t('kvmNavigation.serialOverLan'),
+ title: i18n.t('appPageTitle.serialOverLan'),
},
},
{
path: 'kvm',
- name: 'kvm-console',
+ name: 'kvm',
component: Kvm,
meta: {
- title: i18n.t('kvmNavigation.kvm'),
+ title: i18n.t('appPageTitle.kvm'),
},
},
],
@@ -141,7 +165,7 @@ const routes = [
{
path: '/',
name: 'info',
- component: SystemDescription,
+ component: Inventory,
meta: {
title: i18n.t('appNavigation.systemInformaion'),
description: i18n.t('appNavigation.overviewInfo'),
@@ -157,14 +181,6 @@ const routes = [
},
},
{
- path: '/event-logs',
- name: 'event-logs',
- component: SILAEventLogs,
- meta: {
- title: i18n.t('appNavigation.eventLogs'),
- },
- },
- {
path: '/server-parametrs',
name: 'server-parametrs',
component: ServerParametrs,
@@ -403,7 +419,7 @@ const routes = [
},
},
{
- path: '/logs/event-logs-old',
+ path: '/logs/event-logs',
name: 'event-logs',
component: EventLogs,
meta: {
@@ -423,7 +439,8 @@ const routes = [
name: 'inventory',
component: Inventory,
meta: {
- title: i18n.t('appPageTitle.inventory'),
+ title: i18n.t('appNavigation.systemInformaion'),
+ description: i18n.t('appNavigation.overviewInfo'),
},
},
{
@@ -554,14 +571,6 @@ const routes = [
title: i18n.t('appPageTitle.rebootBmc'),
},
},
- // {
- // path: '/operations/serial-over-lan',
- // name: 'serial-over-lan',
- // component: SerialOverLan,
- // meta: {
- // title: i18n.t('appPageTitle.serialOverLan'),
- // },
- // },
{
path: '/operations/server-power-operations',
name: 'server-power-operations',