diff --git a/frontend/src/components/layout/Footer.vue b/frontend/src/components/layout/Footer.vue index 0af1360..810c2df 100644 --- a/frontend/src/components/layout/Footer.vue +++ b/frontend/src/components/layout/Footer.vue @@ -5,6 +5,8 @@ footer Home About + + Time Records diff --git a/frontend/src/router/index.js b/frontend/src/router/index.js index 4178a7a..a518691 100644 --- a/frontend/src/router/index.js +++ b/frontend/src/router/index.js @@ -4,6 +4,7 @@ import Home from "../views/Home.vue"; import Profile from "../views/profile.vue"; import missing from "../views/missing.vue"; import Info from "../views/Info.vue"; +import TimeRecords from "../views/TimeRecords.vue"; Vue.use(VueRouter); const routes = [ @@ -12,6 +13,11 @@ const routes = [ name: "Home", component: Home }, + { + path: "/timerecords", + name: "TimeRecords", + component: TimeRecords + }, { path: "/profile/:id", name: "Profile", diff --git a/frontend/src/views/TimeRecordItem.vue b/frontend/src/views/TimeRecordItem.vue new file mode 100644 index 0000000..3294cb6 --- /dev/null +++ b/frontend/src/views/TimeRecordItem.vue @@ -0,0 +1,46 @@ + + + + {{timeRecord.type}} + X + Edit Record + + {{timeRecord.start}} - {{timeRecord.end}} ({{timeRecord.time}}) + + + + + + \ No newline at end of file diff --git a/frontend/src/views/TimeRecords.vue b/frontend/src/views/TimeRecords.vue new file mode 100644 index 0000000..5fd58c4 --- /dev/null +++ b/frontend/src/views/TimeRecords.vue @@ -0,0 +1,58 @@ + + + + + + + + + + + \ No newline at end of file
+ {{timeRecord.type}} + X + Edit Record +
{{timeRecord.start}} - {{timeRecord.end}} ({{timeRecord.time}})