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