From 30c8c2f2b05bab8b962b51c0faeb282980324a5c Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Fri, 9 Jul 2021 15:12:50 +0200 Subject: Splits UI into steps and enhances log messages --- app/src/components/Folders.vue | 7 +++ app/src/components/Panel.vue | 55 +++++++++++++++- app/src/components/Select.vue | 81 ++++++++++++++++++++++++ app/src/pages/Home.vue | 129 -------------------------------------- app/src/pages/Steps/1-From.vue | 32 ++++++++++ app/src/pages/Steps/2-To.vue | 51 +++++++++++++++ app/src/pages/Steps/3-Migrate.vue | 111 ++++++++++++++++++++++++++++++++ app/src/router.js | 18 +++++- 8 files changed, 350 insertions(+), 134 deletions(-) create mode 100644 app/src/components/Select.vue delete mode 100644 app/src/pages/Home.vue create mode 100644 app/src/pages/Steps/1-From.vue create mode 100644 app/src/pages/Steps/2-To.vue create mode 100644 app/src/pages/Steps/3-Migrate.vue (limited to 'app/src') diff --git a/app/src/components/Folders.vue b/app/src/components/Folders.vue index b801c1a..5c5c388 100644 --- a/app/src/components/Folders.vue +++ b/app/src/components/Folders.vue @@ -19,3 +19,10 @@ export default { }, }; + + diff --git a/app/src/components/Panel.vue b/app/src/components/Panel.vue index 527a8a9..eb92af7 100644 --- a/app/src/components/Panel.vue +++ b/app/src/components/Panel.vue @@ -1,5 +1,9 @@ diff --git a/app/src/components/Select.vue b/app/src/components/Select.vue new file mode 100644 index 0000000..f2d1187 --- /dev/null +++ b/app/src/components/Select.vue @@ -0,0 +1,81 @@ + + + + + diff --git a/app/src/pages/Home.vue b/app/src/pages/Home.vue deleted file mode 100644 index 8385a46..0000000 --- a/app/src/pages/Home.vue +++ /dev/null @@ -1,129 +0,0 @@ - - - - - diff --git a/app/src/pages/Steps/1-From.vue b/app/src/pages/Steps/1-From.vue new file mode 100644 index 0000000..e1bd82e --- /dev/null +++ b/app/src/pages/Steps/1-From.vue @@ -0,0 +1,32 @@ + + + diff --git a/app/src/pages/Steps/2-To.vue b/app/src/pages/Steps/2-To.vue new file mode 100644 index 0000000..1cce01d --- /dev/null +++ b/app/src/pages/Steps/2-To.vue @@ -0,0 +1,51 @@ + + + diff --git a/app/src/pages/Steps/3-Migrate.vue b/app/src/pages/Steps/3-Migrate.vue new file mode 100644 index 0000000..c8d2e39 --- /dev/null +++ b/app/src/pages/Steps/3-Migrate.vue @@ -0,0 +1,111 @@ + + + diff --git a/app/src/router.js b/app/src/router.js index 7676449..93ca201 100644 --- a/app/src/router.js +++ b/app/src/router.js @@ -1,12 +1,26 @@ import { createRouter, createWebHashHistory } from 'vue-router'; -import Home from './pages/Home'; +import Step1 from './pages/Steps/1-From'; +import Step2 from './pages/Steps/2-To'; +import Step3 from './pages/Steps/3-Migrate'; export default createRouter({ history: createWebHashHistory(), routes: [ { path: '/', - component: Home, + redirect: '/steps/1', + }, + { + path: '/steps/1', + component: Step1, + }, + { + path: '/steps/2', + component: Step2, + }, + { + path: '/steps/3', + component: Step3, }, ], }); -- cgit v1.2.3