From 0a104b57a18adec4a1580fc55c3ad0244dbc624e Mon Sep 17 00:00:00 2001 From: Axolotle Date: Fri, 25 Sep 2020 20:24:16 +0200 Subject: [PATCH] add BackupCreate view/route --- app/src/router/routes.js | 15 ++- app/src/views/backup/BackupCreate.vue | 182 ++++++++++++++++++++++++++ 2 files changed, 196 insertions(+), 1 deletion(-) create mode 100644 app/src/views/backup/BackupCreate.vue diff --git a/app/src/router/routes.js b/app/src/router/routes.js index 597c0c03..500929c6 100644 --- a/app/src/router/routes.js +++ b/app/src/router/routes.js @@ -306,7 +306,7 @@ const routes = [ }, { name: 'backup-info', - path: '/backup/:id/:name', + path: '/backup/:id/info/:name', component: () => import(/* webpackChunkName: "views/backup" */ '@/views/backup/BackupInfo'), props: true, meta: { @@ -316,6 +316,19 @@ const routes = [ { name: 'backup-info', param: 'name' } ] } + }, + { + name: 'backup-create', + path: '/backup/:id/create', + component: () => import(/* webpackChunkName: "views/backup" */ '@/views/backup/BackupCreate'), + props: true, + meta: { + breadcrumb: [ + { name: 'backup', trad: 'backup' }, + { name: 'backup-list', param: 'id' }, + { name: 'backup-create', trad: 'backup_create' } + ] + } } ] diff --git a/app/src/views/backup/BackupCreate.vue b/app/src/views/backup/BackupCreate.vue new file mode 100644 index 00000000..1dc90213 --- /dev/null +++ b/app/src/views/backup/BackupCreate.vue @@ -0,0 +1,182 @@ + + +