Format plugins and router
This commit is contained in:
parent
b6645e148e
commit
a0a4e1ca97
@ -15,7 +15,6 @@ export default new Vuetify({
|
||||
accent: '#8c9eff',
|
||||
error: '#b71c1c',
|
||||
|
||||
|
||||
main: '#272727',
|
||||
main_accent: '#202020',
|
||||
footer: '#404040',
|
||||
|
@ -12,6 +12,7 @@ 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 = [
|
||||
@ -19,90 +20,67 @@ const routes = [
|
||||
path: "/",
|
||||
name: "Home",
|
||||
component: Home,
|
||||
meta: {
|
||||
title: "Geo Timetracking - Home",
|
||||
}
|
||||
meta: {title: "Geo Timetracking - Home"}
|
||||
},
|
||||
{
|
||||
path: "/timerecords",
|
||||
name: "TimeRecords",
|
||||
component: TimeRecords,
|
||||
meta: {
|
||||
title: 'Geo Timetracking - Time Records',
|
||||
}
|
||||
meta: {title: 'Geo Timetracking - Time Records'}
|
||||
},
|
||||
|
||||
{
|
||||
path: "/about",
|
||||
name: "About",
|
||||
component: About,
|
||||
meta: {
|
||||
title: 'Geo Timetracking - About',
|
||||
}
|
||||
meta: {title: 'Geo Timetracking - About'}
|
||||
},
|
||||
{
|
||||
path: "/statistics",
|
||||
name: "Statistics",
|
||||
component: StatisticOverview,
|
||||
meta: {
|
||||
title: 'Geo Timetracking - Statistics',
|
||||
}
|
||||
meta: {title: 'Geo Timetracking - Statistics'}
|
||||
},
|
||||
{
|
||||
path: "/users",
|
||||
name: "Users",
|
||||
component: Users,
|
||||
meta: {
|
||||
title: 'Geo Timetracking - Users',
|
||||
}
|
||||
meta: {title: 'Geo Timetracking - Users'}
|
||||
},
|
||||
{
|
||||
path: "/edituser",
|
||||
name: "EditUser",
|
||||
component: EditUser,
|
||||
meta: {
|
||||
title: 'Geo Timetracking - Edit User',
|
||||
}
|
||||
meta: {title: 'Geo Timetracking - Edit User'}
|
||||
},
|
||||
{
|
||||
path: "/timetrackaccounts",
|
||||
name: "TimeTrack Accounts",
|
||||
component: TimeTrackAccounts,
|
||||
meta: {
|
||||
title: 'Geo Timetracking - TimeTrack Accounts',
|
||||
}
|
||||
meta: {title: 'Geo Timetracking - TimeTrack Accounts'}
|
||||
},
|
||||
{
|
||||
path: "/edittimetrackaccount",
|
||||
name: "Edit TimeTrack Account",
|
||||
component: EditTimeTrackAccount,
|
||||
meta: {
|
||||
title: 'Geo Timetracking - Edit TimeTrack Account',
|
||||
}
|
||||
meta: {title: 'Geo Timetracking - Edit TimeTrack Account'}
|
||||
},
|
||||
{
|
||||
path: "/createtimetrackaccount",
|
||||
name: "Create TimeTrack Account",
|
||||
component: CreateTimeTrackAccount,
|
||||
meta: {
|
||||
title: 'Geo Timetracking - Create TimeTrack Accounts',
|
||||
}
|
||||
meta: {title: 'Geo Timetracking - Create TimeTrack Accounts'}
|
||||
},
|
||||
{
|
||||
path: "/edittimerecord",
|
||||
name: "EditTimerecord",
|
||||
component: EditTimerecord,
|
||||
meta: {
|
||||
title: 'Geo Timetracking - Edit Time Record',
|
||||
}
|
||||
meta: {title: 'Geo Timetracking - Edit Time Record'}
|
||||
},
|
||||
{
|
||||
path: "/createtimerecord",
|
||||
name: "CreateTimerecord",
|
||||
component: CreateTimerecord,
|
||||
meta: {
|
||||
title: 'Geo Timetracking - Create Time Record',
|
||||
}
|
||||
meta: {title: 'Geo Timetracking - Create Time Record'}
|
||||
},
|
||||
{
|
||||
path: '*',
|
||||
|
Loading…
Reference in New Issue
Block a user