From e5c15053d9fd064b03970addb9072a2e56d4af79 Mon Sep 17 00:00:00 2001 From: felix Date: Wed, 15 Oct 2025 18:32:57 +0200 Subject: [PATCH 01/22] Update Navbar and Settings-Styling --- ui/app/components/Settings.vue | 169 -------------------- ui/app/components/Simple.vue | 15 +- ui/app/layouts/default.vue | 92 +++-------- ui/app/pages/settings.vue | 274 +++++++++++++++++++++++++++++++++ 4 files changed, 308 insertions(+), 242 deletions(-) delete mode 100644 ui/app/components/Settings.vue create mode 100644 ui/app/pages/settings.vue diff --git a/ui/app/components/Settings.vue b/ui/app/components/Settings.vue deleted file mode 100644 index 312f176b..00000000 --- a/ui/app/components/Settings.vue +++ /dev/null @@ -1,169 +0,0 @@ - - - diff --git a/ui/app/components/Simple.vue b/ui/app/components/Simple.vue index a24e7dc9..94c9346b 100644 --- a/ui/app/components/Simple.vue +++ b/ui/app/components/Simple.vue @@ -6,9 +6,9 @@
@@ -544,6 +544,15 @@ const showMessage = (item: StoreItem) => { return (item.msg?.length || 0) > 0 } + +const changeRoute = async (_: MouseEvent, callback: (() => void) | null = null) => { + showMenu.value = false + document.querySelectorAll('div.has-dropdown').forEach(el => el.classList.remove('is-active')) + if (callback) { + callback() + } +} + const connectionStatusColor = computed(() => { switch (socketStore.connectionStatus) { case 'connected': diff --git a/ui/app/layouts/default.vue b/ui/app/layouts/default.vue index 94e61737..284a65f7 100644 --- a/ui/app/layouts/default.vue +++ b/ui/app/layouts/default.vue @@ -2,14 +2,7 @@ - -