From 74b16ae82bf5b898e9888f66583098511f9b24a3 Mon Sep 17 00:00:00 2001 From: jedi Date: Sat, 15 Jun 2024 17:23:28 +0200 Subject: [PATCH] stash --- web/src/router.js | 10 ++++++++ web/src/views/admin/Admin.vue | 6 +++++ web/src/views/admin/Notifications.vue | 36 +++++++++++++++++++++++++++ web/src/views/admin/Shipping.vue | 36 +++++++++++++++++++++++++++ 4 files changed, 88 insertions(+) create mode 100644 web/src/views/admin/Notifications.vue create mode 100644 web/src/views/admin/Shipping.vue diff --git a/web/src/router.js b/web/src/router.js index 678195b..da2876f 100644 --- a/web/src/router.js +++ b/web/src/router.js @@ -16,6 +16,8 @@ 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" +import Shipping from "@/views/admin/Shipping.vue"; +import Notifications from "@/views/admin/Notifications.vue"; const routes = [ {path: '/', redirect: '/37C3/items', meta: {requiresAuth: false}}, @@ -74,6 +76,14 @@ const routes = [ path: 'boxes/', name: 'admin_boxes', component: BoxesAdmin, meta: {requiresAuth: true, requiresPermission: 'delete_event'} }, + { + path: 'shipping/', name: 'admin_boxes', component: Shipping, meta: + {requiresAuth: true, requiresPermission: 'delete_event'} + }, + { + path: 'notifications/', name: 'admin_boxes', component: Notifications, meta: + {requiresAuth: true, requiresPermission: 'delete_event'} + } ] }, {path: '/user', name: 'user', component: Empty, meta: {requiresAuth: true}}, diff --git a/web/src/views/admin/Admin.vue b/web/src/views/admin/Admin.vue index ef3c097..b118ae5 100644 --- a/web/src/views/admin/Admin.vue +++ b/web/src/views/admin/Admin.vue @@ -14,6 +14,12 @@ + + diff --git a/web/src/views/admin/Notifications.vue b/web/src/views/admin/Notifications.vue new file mode 100644 index 0000000..cc2b615 --- /dev/null +++ b/web/src/views/admin/Notifications.vue @@ -0,0 +1,36 @@ + + + + + \ No newline at end of file diff --git a/web/src/views/admin/Shipping.vue b/web/src/views/admin/Shipping.vue new file mode 100644 index 0000000..6471233 --- /dev/null +++ b/web/src/views/admin/Shipping.vue @@ -0,0 +1,36 @@ + + + + + \ No newline at end of file