diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 83a10c2..476bafc 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -20,12 +20,12 @@ Time Records - + mdi-chart-bar - Week Summary + Statistics diff --git a/frontend/src/router/index.js b/frontend/src/router/index.js index 04b8349..1233a0e 100644 --- a/frontend/src/router/index.js +++ b/frontend/src/router/index.js @@ -8,7 +8,7 @@ import TimeRecords from "../views/TimeRecords.vue"; import About from "../views/About.vue"; import Login from "../views/Login.vue"; import Register from "../views/Register.vue"; -import WeekSummary from "../views/WeekSummary.vue"; +import StatisticOverview from "../views/StatisticOverview.vue" Vue.use(VueRouter); @@ -56,9 +56,9 @@ const routes = [ component: About }, { - path: "/weeksummary", - name: "Week Summary", - component: WeekSummary + path: "/statistics", + name: "Statistics", + component: StatisticOverview }, { path: '*', diff --git a/frontend/src/views/StatisticOverview.vue b/frontend/src/views/StatisticOverview.vue new file mode 100644 index 0000000..4040f57 --- /dev/null +++ b/frontend/src/views/StatisticOverview.vue @@ -0,0 +1,35 @@ + + + + + + + \ No newline at end of file diff --git a/frontend/src/views/WeekSummary.vue b/frontend/src/views/charts/WeekSummary.vue similarity index 87% rename from frontend/src/views/WeekSummary.vue rename to frontend/src/views/charts/WeekSummary.vue index 7433655..d3982c1 100644 --- a/frontend/src/views/WeekSummary.vue +++ b/frontend/src/views/charts/WeekSummary.vue @@ -1,16 +1,20 @@