Arno Kaimbacher
ae0c471e93
Some checks failed
CI Pipeline / japa-tests (push) Failing after 52s
- cchanged route app.dashboard to apps.dashboard - add editor and reviewer relation to Dataset.ts - added personal menu in asideMenu - added Approve.vue for editor - show warning in Index.vue (editor), if no dataset is loaded - user Receive.vue without inertia helper form - npm updates - added routes in routes.ts
116 lines
2.6 KiB
TypeScript
116 lines
2.6 KiB
TypeScript
import {
|
|
mdiMonitor,
|
|
mdiGithub,
|
|
mdiAccountEye,
|
|
mdiAccountGroup,
|
|
mdiAccountEdit,
|
|
mdiPublish,
|
|
mdiAccountArrowUp,
|
|
mdiFormatListNumbered,
|
|
mdiLock
|
|
} from '@mdi/js';
|
|
|
|
export default [
|
|
{
|
|
// route: 'dataset.create',
|
|
icon: mdiAccountArrowUp,
|
|
label: 'Personal',
|
|
// roles: ['submitter'],
|
|
isOpen: true,
|
|
children: [
|
|
{
|
|
route: 'settings.user',
|
|
icon: mdiLock,
|
|
label: 'Security',
|
|
},
|
|
// {
|
|
// route: 'dataset.create',
|
|
// icon: mdiPublish,
|
|
// label: 'Create Dataset',
|
|
// },
|
|
],
|
|
},
|
|
{
|
|
route: 'apps.dashboard',
|
|
icon: mdiMonitor,
|
|
label: 'Dashboard',
|
|
},
|
|
// {
|
|
// route: 'permission.index',
|
|
// icon: mdiAccountKey,
|
|
// label: 'Permissions'
|
|
// },
|
|
// {
|
|
// route: 'role.index',
|
|
// icon: mdiAccountEye,
|
|
// label: 'Roles'
|
|
// },
|
|
{
|
|
route: 'user.index',
|
|
icon: mdiAccountGroup,
|
|
label: 'Users',
|
|
roles: ['administrator'],
|
|
},
|
|
{
|
|
route: 'role.index',
|
|
icon: mdiAccountEye,
|
|
label: 'Roles',
|
|
roles: ['administrator'],
|
|
},
|
|
{
|
|
href: '/oai',
|
|
icon: mdiAccountEye,
|
|
label: 'OAI',
|
|
target: '_blank',
|
|
},
|
|
{
|
|
// route: 'dataset.create',
|
|
icon: mdiAccountArrowUp,
|
|
label: 'Submitter',
|
|
roles: ['submitter'],
|
|
isOpen: false,
|
|
children: [
|
|
{
|
|
route: 'dataset.list',
|
|
icon: mdiFormatListNumbered,
|
|
label: 'All my datasets',
|
|
},
|
|
{
|
|
route: 'dataset.create',
|
|
icon: mdiPublish,
|
|
label: 'Create Dataset',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
// route: 'dataset.create',
|
|
icon: mdiAccountEdit,
|
|
label: 'Editor',
|
|
roles: ['editor'],
|
|
isOpen: false,
|
|
children: [
|
|
{
|
|
route: 'editor.dataset.list',
|
|
icon: mdiFormatListNumbered,
|
|
label: 'All my datasets',
|
|
},
|
|
// {
|
|
// route: 'dataset.create',
|
|
// icon: mdiPublish,
|
|
// label: 'Create Dataset',
|
|
// },
|
|
],
|
|
},
|
|
// {
|
|
// route: 'dataset.create',
|
|
// icon: mdiDatabasePlus,
|
|
// label: 'Create Dataset',
|
|
// },
|
|
{
|
|
href: 'https://gitea.geologie.ac.at/geolba/tethys',
|
|
icon: mdiGithub,
|
|
label: 'Gitea',
|
|
target: '_blank',
|
|
},
|
|
];
|