From 37288b09969ca39dd1c82a999d8a0a011719a522 Mon Sep 17 00:00:00 2001 From: Thomas Basler Date: Thu, 14 Apr 2022 13:22:40 +0200 Subject: [PATCH] webapp: added system overview --- webapp/src/components/NavBar.vue | 1 + webapp/src/components/SystemInfoView.vue | 26 ++++++++ .../src/components/partials/FirmwareInfo.vue | 59 +++++++++++++++++++ webapp/src/components/partials/FsInfo.vue | 40 +++++++++++++ .../src/components/partials/HardwareInfo.vue | 51 ++++++++++++++++ webapp/src/components/partials/MemoryInfo.vue | 50 ++++++++++++++++ webapp/src/router/index.js | 6 ++ 7 files changed, 233 insertions(+) create mode 100644 webapp/src/components/SystemInfoView.vue create mode 100644 webapp/src/components/partials/FirmwareInfo.vue create mode 100644 webapp/src/components/partials/FsInfo.vue create mode 100644 webapp/src/components/partials/HardwareInfo.vue create mode 100644 webapp/src/components/partials/MemoryInfo.vue diff --git a/webapp/src/components/NavBar.vue b/webapp/src/components/NavBar.vue index a827cc1..9b4f13b 100644 --- a/webapp/src/components/NavBar.vue +++ b/webapp/src/components/NavBar.vue @@ -30,6 +30,7 @@ Info diff --git a/webapp/src/components/SystemInfoView.vue b/webapp/src/components/SystemInfoView.vue new file mode 100644 index 0000000..b7ab4df --- /dev/null +++ b/webapp/src/components/SystemInfoView.vue @@ -0,0 +1,26 @@ + + + diff --git a/webapp/src/components/partials/FirmwareInfo.vue b/webapp/src/components/partials/FirmwareInfo.vue new file mode 100644 index 0000000..cde8da1 --- /dev/null +++ b/webapp/src/components/partials/FirmwareInfo.vue @@ -0,0 +1,59 @@ + + + diff --git a/webapp/src/components/partials/FsInfo.vue b/webapp/src/components/partials/FsInfo.vue new file mode 100644 index 0000000..53441cd --- /dev/null +++ b/webapp/src/components/partials/FsInfo.vue @@ -0,0 +1,40 @@ + + + diff --git a/webapp/src/components/partials/HardwareInfo.vue b/webapp/src/components/partials/HardwareInfo.vue new file mode 100644 index 0000000..bf4575a --- /dev/null +++ b/webapp/src/components/partials/HardwareInfo.vue @@ -0,0 +1,51 @@ + + + diff --git a/webapp/src/components/partials/MemoryInfo.vue b/webapp/src/components/partials/MemoryInfo.vue new file mode 100644 index 0000000..dda20fb --- /dev/null +++ b/webapp/src/components/partials/MemoryInfo.vue @@ -0,0 +1,50 @@ + + + diff --git a/webapp/src/router/index.js b/webapp/src/router/index.js index 5e7b6b1..7b0b0c4 100644 --- a/webapp/src/router/index.js +++ b/webapp/src/router/index.js @@ -2,6 +2,7 @@ import { createWebHistory, createRouter } from 'vue-router'; import HomeView from '@/components/HomeView' import AboutView from '@/components/AboutView' import NetworkInfoView from '@/components/NetworkInfoView' +import SystemInfoView from '@/components/SystemInfoView' const routes = [ { @@ -18,6 +19,11 @@ const routes = [ path: '/info/network', name: 'Network', component: NetworkInfoView + }, + { + path: '/info/system', + name: 'System', + component: SystemInfoView } ];