From 94da3526d70c42fa2c09067516ea979da87d8f39 Mon Sep 17 00:00:00 2001 From: Tagadda <36127788+Tagadda@users.noreply.github.com> Date: Tue, 1 Feb 2022 16:21:00 +0000 Subject: [PATCH] ToolSettings view --- app/src/router/routes.js | 9 ++++ app/src/views/tool/ToolList.vue | 1 + app/src/views/tool/ToolSettings.vue | 64 +++++++++++++++++++++++++++++ 3 files changed, 74 insertions(+) create mode 100644 app/src/views/tool/ToolSettings.vue diff --git a/app/src/router/routes.js b/app/src/router/routes.js index 2f705404..2e404e34 100644 --- a/app/src/router/routes.js +++ b/app/src/router/routes.js @@ -374,6 +374,15 @@ const routes = [ breadcrumb: ['tool-list', 'tool-webadmin'] } }, + { + name: 'tool-settings', + path: '/tools/settings', + component: () => import(/* webpackChunkName: "views/tools/settings" */ '@/views/tool/ToolSettings'), + meta: { + args: { trad: 'tools_yunohost_settings' }, + breadcrumb: ['tool-list', 'tool-settings'] + } + }, { name: 'tool-power', path: '/tools/power', diff --git a/app/src/views/tool/ToolList.vue b/app/src/views/tool/ToolList.vue index 21716ca0..10dd5373 100644 --- a/app/src/views/tool/ToolList.vue +++ b/app/src/views/tool/ToolList.vue @@ -24,6 +24,7 @@ export default { { routeName: 'tool-migrations', icon: 'share', translation: 'migrations' }, { routeName: 'tool-firewall', icon: 'shield', translation: 'firewall' }, { routeName: 'tool-adminpw', icon: 'key-modern', translation: 'tools_adminpw' }, + { routeName: 'tool-settings', icon: 'cog', translation: 'tools_yunohost_settings' }, { routeName: 'tool-webadmin', icon: 'cog', translation: 'tools_webadmin_settings' }, { routeName: 'tool-power', icon: 'power-off', translation: 'tools_shutdown_reboot' } ] diff --git a/app/src/views/tool/ToolSettings.vue b/app/src/views/tool/ToolSettings.vue new file mode 100644 index 00000000..54d32981 --- /dev/null +++ b/app/src/views/tool/ToolSettings.vue @@ -0,0 +1,64 @@ + + +