From 49260a88293d3dd6647e1a01e260b98cd2ae7ceb Mon Sep 17 00:00:00 2001 From: Marcel Schwarz Date: Sun, 26 Jul 2020 23:32:48 +0200 Subject: [PATCH] Reorder project file-structure --- frontend/src/router/index.js | 18 +++++++++--------- .../src/views/{missing.vue => Missing.vue} | 0 frontend/src/views/{ => admin}/EditUser.vue | 2 +- frontend/src/views/{ => admin}/Users.vue | 2 +- frontend/src/views/{ => admin}/UsersItems.vue | 0 .../{ => timerecords}/CreateTimerecord.vue | 2 +- .../views/{ => timerecords}/EditTimerecord.vue | 0 .../views/{ => timerecords}/TimeRecordItem.vue | 0 .../views/{ => timerecords}/TimeRecords.vue | 2 +- .../CreateTimeTrackAccount.vue | 2 +- .../EditTimeTrackAccount.vue | 0 .../TimeTrackAccountItem.vue | 0 .../TimeTrackAccounts.vue | 2 +- 13 files changed, 15 insertions(+), 15 deletions(-) rename frontend/src/views/{missing.vue => Missing.vue} (100%) rename frontend/src/views/{ => admin}/EditUser.vue (99%) rename frontend/src/views/{ => admin}/Users.vue (98%) rename frontend/src/views/{ => admin}/UsersItems.vue (100%) rename frontend/src/views/{ => timerecords}/CreateTimerecord.vue (99%) rename frontend/src/views/{ => timerecords}/EditTimerecord.vue (100%) rename frontend/src/views/{ => timerecords}/TimeRecordItem.vue (100%) rename frontend/src/views/{ => timerecords}/TimeRecords.vue (98%) rename frontend/src/views/{ => timetrackaccounts}/CreateTimeTrackAccount.vue (97%) rename frontend/src/views/{ => timetrackaccounts}/EditTimeTrackAccount.vue (100%) rename frontend/src/views/{ => timetrackaccounts}/TimeTrackAccountItem.vue (100%) rename frontend/src/views/{ => timetrackaccounts}/TimeTrackAccounts.vue (98%) diff --git a/frontend/src/router/index.js b/frontend/src/router/index.js index c2bb95e..cd7f2e0 100644 --- a/frontend/src/router/index.js +++ b/frontend/src/router/index.js @@ -1,17 +1,17 @@ import Vue from "vue"; import VueRouter from "vue-router"; import Home from "../views/Home.vue"; -import missing from "../views/missing.vue"; -import TimeRecords from "../views/TimeRecords.vue"; +import missing from "../views/Missing.vue"; +import TimeRecords from "../views/timerecords/TimeRecords.vue"; import About from "../views/About.vue"; import StatisticOverview from "../views/statistics/StatisticOverview.vue"; -import Users from "../views/Users.vue"; -import EditUser from "../views/EditUser.vue"; -import TimeTrackAccounts from "../views/TimeTrackAccounts.vue"; -import EditTimeTrackAccount from "../views/EditTimeTrackAccount.vue" -import CreateTimeTrackAccount from "../views/CreateTimeTrackAccount.vue" -import EditTimerecord from "../views/EditTimerecord.vue" -import CreateTimerecord from "../views/CreateTimerecord.vue" +import Users from "../views/admin/Users.vue"; +import EditUser from "../views/admin/EditUser.vue"; +import TimeTrackAccounts from "../views/timetrackaccounts/TimeTrackAccounts.vue"; +import EditTimeTrackAccount from "../views/timetrackaccounts/EditTimeTrackAccount.vue" +import CreateTimeTrackAccount from "../views/timetrackaccounts/CreateTimeTrackAccount.vue" +import EditTimerecord from "../views/timerecords/EditTimerecord.vue" +import CreateTimerecord from "../views/timerecords/CreateTimerecord.vue" Vue.use(VueRouter); diff --git a/frontend/src/views/missing.vue b/frontend/src/views/Missing.vue similarity index 100% rename from frontend/src/views/missing.vue rename to frontend/src/views/Missing.vue diff --git a/frontend/src/views/EditUser.vue b/frontend/src/views/admin/EditUser.vue similarity index 99% rename from frontend/src/views/EditUser.vue rename to frontend/src/views/admin/EditUser.vue index 972e176..90e57ee 100644 --- a/frontend/src/views/EditUser.vue +++ b/frontend/src/views/admin/EditUser.vue @@ -71,7 +71,7 @@