diff --git a/frontend/src/router/index.js b/frontend/src/router/index.js index ea94f3d..89236b9 100644 --- a/frontend/src/router/index.js +++ b/frontend/src/router/index.js @@ -11,6 +11,9 @@ import Register from "../views/Register.vue"; import StatisticOverview from "../views/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" Vue.use(VueRouter); @@ -72,6 +75,21 @@ const routes = [ name: "EditUser", component: EditUser }, + { + path: "/timetrackaccounts", + name: "TimeTrack Accounts", + component: TimeTrackAccounts + }, + { + path: "/edittimetrackaccount", + name: "Edit TimeTrack Account", + component: EditTimeTrackAccount + }, + { + path: "/createtimetrackaccount", + name: "Create TimeTrack Account", + component: CreateTimeTrackAccount + }, { path: '*', component: missing diff --git a/frontend/src/variables.js b/frontend/src/variables.js index 8f12fb5..1069783 100644 --- a/frontend/src/variables.js +++ b/frontend/src/variables.js @@ -1 +1,2 @@ -export const baseUri = 'http://plesk.icaotix.de:5000' \ No newline at end of file +export const baseUri = 'http://plesk.icaotix.de:5000' +export const selfUri = 'http://localhost:8080' \ No newline at end of file diff --git a/frontend/src/views/CreateTimeTrackAccount.vue b/frontend/src/views/CreateTimeTrackAccount.vue new file mode 100644 index 0000000..780d438 --- /dev/null +++ b/frontend/src/views/CreateTimeTrackAccount.vue @@ -0,0 +1,80 @@ + + \ No newline at end of file diff --git a/frontend/src/views/EditTimeTrackAccount.vue b/frontend/src/views/EditTimeTrackAccount.vue new file mode 100644 index 0000000..d4dc526 --- /dev/null +++ b/frontend/src/views/EditTimeTrackAccount.vue @@ -0,0 +1,117 @@ + + \ No newline at end of file diff --git a/frontend/src/views/EditUser.vue b/frontend/src/views/EditUser.vue index e412f23..5702f7d 100644 --- a/frontend/src/views/EditUser.vue +++ b/frontend/src/views/EditUser.vue @@ -73,7 +73,7 @@ + + \ No newline at end of file diff --git a/frontend/src/views/TimeTrackAccounts.vue b/frontend/src/views/TimeTrackAccounts.vue new file mode 100644 index 0000000..0a8b28b --- /dev/null +++ b/frontend/src/views/TimeTrackAccounts.vue @@ -0,0 +1,91 @@ + + + + + \ No newline at end of file diff --git a/frontend/src/views/Users.vue b/frontend/src/views/Users.vue index 5367dda..6f3435c 100644 --- a/frontend/src/views/Users.vue +++ b/frontend/src/views/Users.vue @@ -1,13 +1,13 @@