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