From ba46ace4b7b8a72b78873dda6f0d6f7832988484 Mon Sep 17 00:00:00 2001 From: Blealtan Cao Date: Fri, 14 Feb 2020 22:40:14 +0800 Subject: [PATCH 01/45] Rough in-site Planner UI design done. Signed-off-by: Blealtan Cao --- src/router.js | 14 +-- src/views/Planner.vue | 218 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 222 insertions(+), 10 deletions(-) create mode 100644 src/views/Planner.vue diff --git a/src/router.js b/src/router.js index 543b0763..95a842fb 100644 --- a/src/router.js +++ b/src/router.js @@ -3,6 +3,7 @@ import Router from 'vue-router' import Home from './views/Home' import Report from './views/Report' +import Planner from './views/Planner' import StatsLayout from './layouts/StatsLayout' import StatsByStage from './views/Stats/Stage' @@ -111,19 +112,12 @@ const router = new Router({ ] }, { - path: '/_redirect/planner', + path: '/planner', name: 'Planner', + component: Planner, meta: { - ga: { - category: 'redirect', - action: 'links', - label: 'ArkPlanner', - value: 1 - }, - link: "https://planner.penguin-stats.io", icon: 'mdi-floor-plan', - i18n: 'menu.planner', - externalRedirect: true + i18n: 'menu.planner' } }, { diff --git a/src/views/Planner.vue b/src/views/Planner.vue new file mode 100644 index 00000000..e62f0400 --- /dev/null +++ b/src/views/Planner.vue @@ -0,0 +1,218 @@ + + + + + \ No newline at end of file From 67ea03100fec173dfcafec7ee1b6c7c23805e130 Mon Sep 17 00:00:00 2001 From: Blealtan Cao Date: Sat, 15 Feb 2020 14:40:20 +0800 Subject: [PATCH 02/45] Data binding and Import/Export dialog done. Signed-off-by: Blealtan Cao --- src/views/Planner.vue | 181 +++++++++++++++++++++++++++++++----------- 1 file changed, 134 insertions(+), 47 deletions(-) diff --git a/src/views/Planner.vue b/src/views/Planner.vue index e62f0400..18fd9b78 100644 --- a/src/views/Planner.vue +++ b/src/views/Planner.vue @@ -4,30 +4,30 @@ > - + - + - + - + - - Import/Export - - - - - Import - - + + Import + Export + + + + + + + + + + + + Import + + + + + + + + {{ exportJson }} + + + + + + Copy + + + + + - +