diff --git a/src/static/app/src/components/settingsComponent/dashboardWebHooks.vue b/src/static/app/src/components/settingsComponent/dashboardWebHooks.vue
new file mode 100644
index 00000000..96c0baf2
--- /dev/null
+++ b/src/static/app/src/components/settingsComponent/dashboardWebHooks.vue
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/static/app/src/components/settingsComponent/peerDefaultSettings.vue b/src/static/app/src/components/settingsComponent/peerDefaultSettings.vue
new file mode 100644
index 00000000..eeccaf8b
--- /dev/null
+++ b/src/static/app/src/components/settingsComponent/peerDefaultSettings.vue
@@ -0,0 +1,37 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/static/app/src/components/settingsComponent/wgdashboardSettings.vue b/src/static/app/src/components/settingsComponent/wgdashboardSettings.vue
new file mode 100644
index 00000000..b23929f1
--- /dev/null
+++ b/src/static/app/src/components/settingsComponent/wgdashboardSettings.vue
@@ -0,0 +1,86 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/static/app/src/components/settingsComponent/wireguardConfigurationSettings.vue b/src/static/app/src/components/settingsComponent/wireguardConfigurationSettings.vue
new file mode 100644
index 00000000..55a7b344
--- /dev/null
+++ b/src/static/app/src/components/settingsComponent/wireguardConfigurationSettings.vue
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/static/app/src/router/router.js b/src/static/app/src/router/router.js
index 24a81fbf..e73b835c 100644
--- a/src/static/app/src/router/router.js
+++ b/src/static/app/src/router/router.js
@@ -42,6 +42,32 @@ const router = createRouter({
name: "Settings",
path: 'settings',
component: () => import('@/views/settings.vue'),
+ children: [
+ {
+ name: "WGDashboard Settings",
+ path: "",
+ component: () => import("@/components/settingsComponent/wgdashboardSettings.vue"),
+ meta: {
+ title: "WGDashboard Settings"
+ }
+ },
+ {
+ name: "Peers Settings",
+ path: "peers_settings",
+ component: () => import("@/components/settingsComponent/peerDefaultSettings.vue"),
+ meta: {
+ title: "Peers Default Settings"
+ }
+ },
+ {
+ name: "WireGuard Configuration Settings",
+ path: "wireguard_settings",
+ component: () => import("@/components/settingsComponent/wireguardConfigurationSettings.vue"),
+ meta: {
+ title: "WireGuard Configuration Settings"
+ }
+ }
+ ],
meta: {
title: "Settings"
}
diff --git a/src/static/app/src/views/clients.vue b/src/static/app/src/views/clients.vue
index e0891a98..878edb7e 100644
--- a/src/static/app/src/views/clients.vue
+++ b/src/static/app/src/views/clients.vue
@@ -30,7 +30,6 @@ const deleteSuccess = async () => {
-
diff --git a/src/static/app/src/views/settings.vue b/src/static/app/src/views/settings.vue
index dc090022..b8f27113 100644
--- a/src/static/app/src/views/settings.vue
+++ b/src/static/app/src/views/settings.vue
@@ -40,15 +40,15 @@ export default {
activeTab: "WGDashboard",
tabs: [
{
- id: "WGDashboard",
+ id: "",
title: "WGDashboard Settings"
},
{
- id: "Peers",
+ id: "peers_settings",
title: "Peers Settings"
},
{
- id: "WireGuardConfiguration",
+ id: "wireguard_settings",
title: "WireGuard Configuration Settings"
}
]
@@ -59,123 +59,23 @@ export default {