summaryrefslogtreecommitdiff
path: root/src/env
diff options
context:
space:
mode:
authorMichalX Szopinski <michalx.szopinski@intel.com>2021-11-05 17:54:29 +0300
committerDixsie Wolmers <dixsiew@gmail.com>2021-11-10 18:21:43 +0300
commit2a2e1021f48e2a939859ba7f4ae86c5de6df5655 (patch)
tree8a18945b5885e8b427fca253b9043392cee56f06 /src/env
parent182b3f1ff44b7319767dcc4c50fe54515602b9fa (diff)
downloadwebui-vue-2a2e1021f48e2a939859ba7f4ae86c5de6df5655.tar.xz
Show Post Code logs tab on Intel environment
Add "POST code logs" button to the Intel navigation panel and enable routing to this page. Signed-off-by: MichalX Szopinski <michalx.szopinski@intel.com> Change-Id: I707fe51c7c9625697a4b2bfa7398edf07dbf33e5
Diffstat (limited to 'src/env')
-rw-r--r--src/env/components/AppNavigation/intel.js5
-rw-r--r--src/env/router/intel.js9
2 files changed, 14 insertions, 0 deletions
diff --git a/src/env/components/AppNavigation/intel.js b/src/env/components/AppNavigation/intel.js
index a43c1ea4..3fe0ad1c 100644
--- a/src/env/components/AppNavigation/intel.js
+++ b/src/env/components/AppNavigation/intel.js
@@ -37,6 +37,11 @@ const AppNavigationMixin = {
label: this.$t('appNavigation.eventLogs'),
route: '/logs/event-logs',
},
+ {
+ id: 'post-code-logs',
+ label: this.$t('appNavigation.postCodeLogs'),
+ route: '/logs/post-code-logs',
+ },
],
},
{
diff --git a/src/env/router/intel.js b/src/env/router/intel.js
index 6f7781e4..fd8ed77c 100644
--- a/src/env/router/intel.js
+++ b/src/env/router/intel.js
@@ -14,6 +14,7 @@ import LoginLayout from '@/layouts/LoginLayout';
import Network from '@/views/Settings/Network';
import Overview from '@/views/Overview';
import PageNotFound from '@/views/PageNotFound';
+import PostCodeLogs from '@/views/Logs/PostCodeLogs';
import ProfileSettings from '@/views/ProfileSettings';
import RebootBmc from '@/views/Operations/RebootBmc';
import Policies from '@/views/SecurityAndAccess/Policies';
@@ -107,6 +108,14 @@ const routes = [
},
},
{
+ path: '/logs/post-code-logs',
+ name: 'post-code-logs',
+ component: PostCodeLogs,
+ meta: {
+ title: i18n.t('appPageTitle.postCodeLogs'),
+ },
+ },
+ {
path: '/hardware-status/inventory',
name: 'inventory',
component: Inventory,