diff --git a/frontend/src/router/routes/geenforce.js b/frontend/src/router/routes/geenforce.js new file mode 100644 index 0000000..5d0d9d3 --- /dev/null +++ b/frontend/src/router/routes/geenforce.js @@ -0,0 +1,15 @@ +/** + * GE-Enforce plugin routes. + * + * The imaging-PC-type manifest editor lives under /settings. meta.plugin = + * 'geenforce' so the ADR-009 router guard hides it when the plugin is disabled. + * Admin-only, like the other settings pages. + */ +export default [ + { + path: 'settings/imagingpctypes', + name: 'imagingpctypes', + component: () => import('../../views/settings/ImagingPCTypes.vue'), + meta: { requiresAuth: true, requiresAdmin: true, plugin: 'geenforce' } + } +] diff --git a/frontend/src/views/settings/ImagingPCTypes.vue b/frontend/src/views/settings/ImagingPCTypes.vue new file mode 100644 index 0000000..89ec701 --- /dev/null +++ b/frontend/src/views/settings/ImagingPCTypes.vue @@ -0,0 +1,512 @@ +