From 7f8aee935e8317cecee26a4744637a22b7116b94 Mon Sep 17 00:00:00 2001 From: jedi Date: Thu, 9 May 2024 22:52:01 +0200 Subject: [PATCH] stash --- web/src/router.js | 5 +++++ web/src/views/admin/Admin.vue | 3 +++ web/src/views/admin/Settings.vue | 19 +++++++++++++++++++ 3 files changed, 27 insertions(+) create mode 100644 web/src/views/admin/Settings.vue diff --git a/web/src/router.js b/web/src/router.js index 22600cd..678195b 100644 --- a/web/src/router.js +++ b/web/src/router.js @@ -13,6 +13,7 @@ import Ticket from "@/views/Ticket.vue"; import Admin from "@/views/admin/Admin.vue"; import Empty from "@/views/Empty.vue"; import Events from "@/views/admin/Events.vue"; +import Settings from "@/views/admin/Settings.vue"; import AccessControl from "@/views/admin/AccessControl.vue"; import {default as BoxesAdmin} from "@/views/admin/Boxes.vue" @@ -57,6 +58,10 @@ const routes = [ path: 'events/', name: 'events', component: Events, meta: {requiresAuth: true, requiresPermission: 'delete_event'} }, + { + path: 'settings/', name: 'settings', component: Settings, meta: + {requiresAuth: true, requiresPermission: 'delete_event'} + }, { path: '', name: 'admin', component: Debug, meta: {requiresAuth: true, requiresPermission: 'delete_event'} diff --git a/web/src/views/admin/Admin.vue b/web/src/views/admin/Admin.vue index e8def6a..ef3c097 100644 --- a/web/src/views/admin/Admin.vue +++ b/web/src/views/admin/Admin.vue @@ -8,6 +8,9 @@ + diff --git a/web/src/views/admin/Settings.vue b/web/src/views/admin/Settings.vue new file mode 100644 index 0000000..af9ac39 --- /dev/null +++ b/web/src/views/admin/Settings.vue @@ -0,0 +1,19 @@ + + + + + \ No newline at end of file