From 64be911517b48b3363003ba90d08da4805f37647 Mon Sep 17 00:00:00 2001 From: Patrick Hatsune Date: Wed, 2 Oct 2024 00:30:03 -0700 Subject: [PATCH] Added QoS, Added file RouterConfig.vue, optimized stuff --- src/components/dashboard/DeviceList.vue | 5 +++- src/components/dashboard/Template.vue | 10 +++++-- src/data/QoS.ts | 25 +++++++++++++++++ src/pages/BasicDashboard.vue | 3 +- src/pages/basicDashboard/DeviceList.vue | 13 +-------- src/pages/basicDashboard/InternetSetup.vue | 21 +------------- src/pages/basicDashboard/Overview.vue | 2 +- src/pages/basicDashboard/QoS.vue | 16 +++++++++-- src/pages/basicDashboard/RouterConfig.vue | 7 +++++ src/pages/basicDashboard/Wireless.vue | 20 +------------- src/routes/router.ts | 32 +++++++++++++--------- src/styles/basicDashboard.css | 22 ++++++++++++++- 12 files changed, 102 insertions(+), 74 deletions(-) create mode 100644 src/data/QoS.ts create mode 100644 src/pages/basicDashboard/RouterConfig.vue diff --git a/src/components/dashboard/DeviceList.vue b/src/components/dashboard/DeviceList.vue index 1375e2b..4dfbe3f 100755 --- a/src/components/dashboard/DeviceList.vue +++ b/src/components/dashboard/DeviceList.vue @@ -32,7 +32,10 @@

MAC Address

-
+

{{ device.name }}

{{ device.ip }}

diff --git a/src/components/dashboard/Template.vue b/src/components/dashboard/Template.vue index bae94cb..df1fc38 100644 --- a/src/components/dashboard/Template.vue +++ b/src/components/dashboard/Template.vue @@ -15,6 +15,7 @@ option: string, label?: string, dropdown?: string[], + buttons?: string[], subOptions?: { name?: string, class: string, @@ -48,12 +49,15 @@ :key="form.name" >