From 7cba13534cda94a1efdbad2ff8dbe68de1fbeaa3 Mon Sep 17 00:00:00 2001 From: Vitalii Lysak Date: Thu, 21 Jul 2022 20:56:53 +0300 Subject: add charts for fans and processors --- src/env/components/AppNavigation/sila.js | 16 ++++++++++++++++ src/env/router/sila.js | 18 ++++++++++++++++++ 2 files changed, 34 insertions(+) (limited to 'src/env') diff --git a/src/env/components/AppNavigation/sila.js b/src/env/components/AppNavigation/sila.js index e3a8a380..4f47342e 100644 --- a/src/env/components/AppNavigation/sila.js +++ b/src/env/components/AppNavigation/sila.js @@ -69,6 +69,11 @@ const AppNavigationMixin = { label: this.$t('appNavigation.staticInfo'), route: '/fans/static', }, + { + id: 'fans/dynamic', + label: this.$t('appNavigation.dynamicInformation'), + route: '/fans/dynamic', + }, ], }, { @@ -117,6 +122,17 @@ const AppNavigationMixin = { }, ], }, + { + id: 'memory', + label: this.$t('appNavigation.memory'), + children: [ + { + id: 'memory/dynamic', + label: this.$t('appNavigation.dynamicInformation'), + route: '/memory/dynamic', + }, + ], + }, { id: 'processors', label: this.$t('appNavigation.processors'), diff --git a/src/env/router/sila.js b/src/env/router/sila.js index f297b369..4a5d5b71 100644 --- a/src/env/router/sila.js +++ b/src/env/router/sila.js @@ -31,6 +31,8 @@ import VirtualMedia from '@/views/_sila/Operations/VirtualMedia'; import Power from '@/views/_sila/ResourceManagement/Power'; import FansStatic from '@/views/_sila/Fans/Static'; import ProcessorsDynamic from '@/views/_sila/Processors/Dynamic'; +import MemoryDynamic from '@/views/_sila/Memory/Dynamic'; +import FansDynamic from '@/views/_sila/Fans/Dynamic'; import i18n from '@/i18n'; const routes = [ @@ -161,6 +163,14 @@ const routes = [ title: i18n.t('appPageTitle.fans'), }, }, + { + path: 'memory/dynamic', + name: 'memory-dynamic', + component: MemoryDynamic, + meta: { + title: i18n.t('appPageTitle.memory'), + }, + }, { path: 'processors/dynamic', name: 'processors-dynamic', @@ -169,6 +179,14 @@ const routes = [ title: i18n.t('appPageTitle.processors'), }, }, + { + path: 'fans/dynamic', + name: 'fans-dynamic', + component: FansDynamic, + meta: { + title: i18n.t('appPageTitle.fans'), + }, + }, { path: '/security-and-access/sessions', name: 'sessions', -- cgit v1.2.3