From de0fbd7188aa39f0045c3ec1bb0e9d61d712e422 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Sun, 22 Mar 2026 17:20:46 +0000 Subject: [PATCH] Add more configuration pages --- ts/router.ts | 16 +- ts/types.ts | 6 + .../Root.vue} | 26 +- ts/view/configuration/User.vue | 197 +++++++++++++ ts/view/configuration/UserAdd.vue | 267 ++++++++++++++++++ 5 files changed, 496 insertions(+), 16 deletions(-) rename ts/view/{Configuration.vue => configuration/Root.vue} (91%) create mode 100644 ts/view/configuration/User.vue create mode 100644 ts/view/configuration/UserAdd.vue diff --git a/ts/router.ts b/ts/router.ts index 82d75a2b..6f8e0d88 100644 --- a/ts/router.ts +++ b/ts/router.ts @@ -3,7 +3,9 @@ import type { RouteRecordRaw } from "vue-router"; import Home from "./view/Home.vue"; import About from "./view/About.vue"; import Communication from "./view/Communication.vue"; -import Configuration from "./view/Configuration.vue"; +import ConfigurationRoot from "./view/configuration/Root.vue"; +import ConfigurationUser from "./view/configuration/User.vue"; +import ConfigurationUserAdd from "./view/configuration/UserAdd.vue"; import Intelligence from "./view/Intelligence.vue"; import Operations from "./view/Operations.vue"; import Planning from "./view/Planning.vue"; @@ -24,7 +26,17 @@ const routes: RouteRecordRaw[] = [ { path: "/configuration", name: "Configuration", - component: Configuration, + component: ConfigurationRoot, + }, + { + path: "/configuration/user", + name: "User Configuration", + component: ConfigurationUser, + }, + { + path: "/configuration/user/add", + name: "User Add Configuration", + component: ConfigurationUserAdd, }, { path: "/intelligence", diff --git a/ts/types.ts b/ts/types.ts index 38b1ed7c..5727d9ba 100644 --- a/ts/types.ts +++ b/ts/types.ts @@ -1,3 +1,9 @@ +export interface Address { + locality: string; + number: string; + street: string; +} + export interface PublicReport { created: string; type: string; diff --git a/ts/view/Configuration.vue b/ts/view/configuration/Root.vue similarity index 91% rename from ts/view/Configuration.vue rename to ts/view/configuration/Root.vue index 01d51698..dd18a6ad 100644 --- a/ts/view/Configuration.vue +++ b/ts/view/configuration/Root.vue @@ -23,13 +23,12 @@ organization.

- - Manage Users - - + + +
@@ -96,13 +95,12 @@ Manage your organization service area and information.

- - Manage Organization - - + + +
diff --git a/ts/view/configuration/User.vue b/ts/view/configuration/User.vue new file mode 100644 index 00000000..7f1718a3 --- /dev/null +++ b/ts/view/configuration/User.vue @@ -0,0 +1,197 @@ + + + + diff --git a/ts/view/configuration/UserAdd.vue b/ts/view/configuration/UserAdd.vue new file mode 100644 index 00000000..86d325b0 --- /dev/null +++ b/ts/view/configuration/UserAdd.vue @@ -0,0 +1,267 @@ + + + + +