correct routes in main
This commit is contained in:
parent
179a5196e9
commit
f5787fbc2e
1 changed files with 0 additions and 106 deletions
|
@ -20,112 +20,6 @@ const router = createBrowserRouter([
|
||||||
path: "/pm",
|
path: "/pm",
|
||||||
element: <YourProjectsPage />,
|
element: <YourProjectsPage />,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
path: "/user",
|
|
||||||
element: <YourProjectsPage />,
|
|
||||||
path: "/edit-time-report",
|
|
||||||
element: <UserEditTimeReportPage />,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: "/new-time-report",
|
|
||||||
element: <UserNewTimeReportPage />,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: "/project",
|
|
||||||
element: <UserProjectPage />,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: "/register",
|
|
||||||
element: <Register />,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: "/project-page",
|
|
||||||
element: <UserViewTimeReportsPage />,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: "/change-role",
|
|
||||||
element: <PMChangeRole />,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: "/other-users-time-reports",
|
|
||||||
element: <PMOtherUsersTR />,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: "/project-members",
|
|
||||||
element: <PMProjectMembers />,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: "/PM-project-page",
|
|
||||||
element: <PMProjectPage />,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: "/PM-time-activity",
|
|
||||||
element: <PMTotalTimeActivity />,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: "/PM-time-role",
|
|
||||||
element: <PMTotalTimeRole />,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: "/PM-unsigned-reports",
|
|
||||||
element: <PMUnsignedReports />,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: "/PM-view-unsigned-report",
|
|
||||||
element: <PMViewUnsignedReport />,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: "/admin-add-project",
|
|
||||||
element: <AdminAddProject />,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: "/admin-add-user",
|
|
||||||
element: <AdminAddUser />,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: "/admin-change-username",
|
|
||||||
element: <AdminChangeUsername />,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: "/admin-manage-projects",
|
|
||||||
element: <AdminManageProjects />,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: "/admin-manage-users",
|
|
||||||
element: <AdminManageUsers />,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: "/admin-menu",
|
|
||||||
element: <AdminMenuPage />,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: "/admin-project-add-member",
|
|
||||||
element: <AdminProjectAddMember />,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: "/admin-project-change-user-role",
|
|
||||||
element: <AdminProjectChangeUserRole />,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: "/admin-project-manage-members",
|
|
||||||
element: <AdminProjectManageMembers />,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: "/admin-project-page",
|
|
||||||
element: <AdminProjectPage />,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: "/admin-project-statistics",
|
|
||||||
element: <AdminProjectStatistics />,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: "/admin-project-view-members",
|
|
||||||
element: <AdminProjectViewMemberInfo />,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: "/admin-view-user",
|
|
||||||
element: <AdminViewUserInfo />,
|
|
||||||
},
|
|
||||||
]);
|
]);
|
||||||
|
|
||||||
// Semi-hacky way to get the root element
|
// Semi-hacky way to get the root element
|
||||||
|
|
Loading…
Reference in a new issue