From dcbe845240d5016040cf2fd4156bac29e18b49fd Mon Sep 17 00:00:00 2001 From: Caio Fabio de Araujo Date: Wed, 2 Oct 2024 08:50:00 -0300 Subject: [PATCH] :lipstick: Fix bugs and adjusting styles --- web/src/components/SideMenu.vue | 19 ++++++++++++---- web/src/router/index.ts | 9 -------- web/src/views/Dashboard.vue | 39 +++++++++++++++++++++++++-------- web/src/views/Login.vue | 4 ++-- web/src/views/Settings.vue | 9 -------- 5 files changed, 47 insertions(+), 33 deletions(-) delete mode 100644 web/src/views/Settings.vue diff --git a/web/src/components/SideMenu.vue b/web/src/components/SideMenu.vue index e151647..ab805de 100644 --- a/web/src/components/SideMenu.vue +++ b/web/src/components/SideMenu.vue @@ -1,15 +1,15 @@ @@ -45,7 +55,8 @@ export default defineComponent({ - + + diff --git a/web/src/router/index.ts b/web/src/router/index.ts index 9325e71..745b75b 100644 --- a/web/src/router/index.ts +++ b/web/src/router/index.ts @@ -10,7 +10,6 @@ import Dashboard from '@/views/Dashboard.vue' import Device from '@/views/Device.vue' import DeviceWebhook from '@/views/DeviceWebhook.vue' import Login from '@/views/Login.vue' -import Settings from '@/views/Settings.vue' import { createRouter, createWebHistory } from 'vue-router/auto' const extraMenuItems = [ @@ -40,14 +39,6 @@ const routes = [ requiresAuth: true, }, }, - { - path: "/settings", - name: "Settings", - component: Settings, - meta: { - requiresAuth: true, - }, - }, { path: "/device/:id", name: "Device", diff --git a/web/src/views/Dashboard.vue b/web/src/views/Dashboard.vue index 03ea0d7..63e412e 100644 --- a/web/src/views/Dashboard.vue +++ b/web/src/views/Dashboard.vue @@ -1,11 +1,12 @@