diff --git a/frontend/src/router/index.js b/frontend/src/router/index.js index 89236b9..e282cd8 100644 --- a/frontend/src/router/index.js +++ b/frontend/src/router/index.js @@ -14,7 +14,8 @@ 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" Vue.use(VueRouter); const routes = [ @@ -90,6 +91,16 @@ const routes = [ name: "Create TimeTrack Account", component: CreateTimeTrackAccount }, + { + path: "/edittimerecord", + name: "EditTimerecord", + component: EditTimerecord + }, + { + path: "/createtimerecord", + name: "CreateTimerecord", + component: CreateTimerecord + }, { path: '*', component: missing diff --git a/frontend/src/variables.js b/frontend/src/variables.js index 2ffdfe6..17dc89a 100644 --- a/frontend/src/variables.js +++ b/frontend/src/variables.js @@ -1,2 +1 @@ export const baseUri = 'http://plesk.icaotix.de:5000' -export const selfUri = 'http://plesk.icaotix.de:8080' \ No newline at end of file diff --git a/frontend/src/views/CreateTimeTrackAccount.vue b/frontend/src/views/CreateTimeTrackAccount.vue index 780d438..f29be58 100644 --- a/frontend/src/views/CreateTimeTrackAccount.vue +++ b/frontend/src/views/CreateTimeTrackAccount.vue @@ -37,7 +37,7 @@ \ No newline at end of file diff --git a/frontend/src/views/EditTimeTrackAccount.vue b/frontend/src/views/EditTimeTrackAccount.vue index d4dc526..c051855 100644 --- a/frontend/src/views/EditTimeTrackAccount.vue +++ b/frontend/src/views/EditTimeTrackAccount.vue @@ -44,7 +44,7 @@ \ No newline at end of file diff --git a/frontend/src/views/EditUser.vue b/frontend/src/views/EditUser.vue index 5702f7d..1075480 100644 --- a/frontend/src/views/EditUser.vue +++ b/frontend/src/views/EditUser.vue @@ -73,7 +73,7 @@ diff --git a/frontend/src/views/TimeTrackAccounts.vue b/frontend/src/views/TimeTrackAccounts.vue index 0a8b28b..00435f8 100644 --- a/frontend/src/views/TimeTrackAccounts.vue +++ b/frontend/src/views/TimeTrackAccounts.vue @@ -20,7 +20,7 @@