From 5f203a809b1c17030772195f4bb41b9b488aacc4 Mon Sep 17 00:00:00 2001 From: jb-alvarado Date: Thu, 25 Apr 2024 14:49:57 +0200 Subject: [PATCH] get system status with sse --- .vscode/settings.json | 3 ++ components/EventStatus.vue | 12 +++++ components/HeaderMenu.vue | 1 + components/SystemStats.vue | 91 ++++++++++++++++++++++---------------- error.vue | 22 ++++----- lang/de-DE.js | 2 + lang/en-US.js | 2 + lang/pt-BR.js | 2 + nuxt.config.ts | 1 + package-lock.json | 4 +- package.json | 2 +- pages/index.vue | 3 ++ stores/auth.ts | 14 ++++++ stores/config.ts | 1 + stores/index.ts | 1 + types/index.d.ts | 4 ++ 16 files changed, 114 insertions(+), 51 deletions(-) create mode 100644 components/EventStatus.vue diff --git a/.vscode/settings.json b/.vscode/settings.json index f262d050..57395ca4 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -28,4 +28,7 @@ "[typescript]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, + "cSpell.words": [ + "nuxt" + ], } diff --git a/components/EventStatus.vue b/components/EventStatus.vue new file mode 100644 index 00000000..9d82fc64 --- /dev/null +++ b/components/EventStatus.vue @@ -0,0 +1,12 @@ + + diff --git a/components/HeaderMenu.vue b/components/HeaderMenu.vue index 37dd793d..3f81c4d3 100644 --- a/components/HeaderMenu.vue +++ b/components/HeaderMenu.vue @@ -3,6 +3,7 @@ Logo +