diff --git a/website/client/src/components/admin-panel/index.vue b/website/client/src/components/admin-panel/index.vue new file mode 100644 index 0000000000..548767779e --- /dev/null +++ b/website/client/src/components/admin-panel/index.vue @@ -0,0 +1,344 @@ + + + + + diff --git a/website/client/src/components/header/menu.vue b/website/client/src/components/header/menu.vue index 82725160a5..7aeef3cf1d 100644 --- a/website/client/src/components/header/menu.vue +++ b/website/client/src/components/header/menu.vue @@ -340,6 +340,12 @@ class="topbar-dropdown-item dropdown-item" @click="modForm()" >{{ $t('contactForm') }} + + Admin Panel + diff --git a/website/client/src/router/index.js b/website/client/src/router/index.js index 6c4f07c4c0..1b05a71c42 100644 --- a/website/client/src/router/index.js +++ b/website/client/src/router/index.js @@ -47,6 +47,9 @@ const HallPage = () => import(/* webpackChunkName: "hall" */'@/components/hall/i const PatronsPage = () => import(/* webpackChunkName: "hall" */'@/components/hall/patrons'); const HeroesPage = () => import(/* webpackChunkName: "hall" */'@/components/hall/heroes'); +// Admin Panel +const AdminPanelPage = () => import(/* webpackChunkName: "admin-panel" */'@/components/admin-panel'); + // Except for tasks that are always loaded all the other main level // All the main level // components are loaded in separate webpack chunks. @@ -330,6 +333,7 @@ const router = new VueRouter({ { name: 'contributors', path: 'contributors', component: HeroesPage }, ], }, + { path: '/admin-panel', name: 'adminPanel', component: AdminPanelPage }, // Only used to handle some redirects // See router.beforeEach { path: '/redirect/:redirect', name: 'redirect' },