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
diff --git a/src/env/components/AppNavigation/intel.js b/src/env/components/AppNavigation/intel.js
index a43c1ea..3fe0ad1 100644
--- a/src/env/components/AppNavigation/intel.js
+++ b/src/env/components/AppNavigation/intel.js
@@ -37,6 +37,11 @@
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 6f7781e..fd8ed77 100644
--- a/src/env/router/intel.js
+++ b/src/env/router/intel.js
@@ -14,6 +14,7 @@
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 @@
},
},
{
+ 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,