2024-03-13 14:18:06 +01:00
|
|
|
import BasicWindow from "../../Components/BasicWindow";
|
2024-03-14 10:46:29 +01:00
|
|
|
import Button from "../../Components/Button";
|
2024-03-17 13:39:16 +01:00
|
|
|
import NewTimeReport from "../../Components/NewWeeklyReport";
|
2024-03-14 15:49:13 +01:00
|
|
|
import { Link } from "react-router-dom";
|
2024-03-13 14:18:06 +01:00
|
|
|
|
|
|
|
function UserNewTimeReportPage(): JSX.Element {
|
2024-03-14 13:21:19 +01:00
|
|
|
const content = (
|
|
|
|
<>
|
2024-03-14 15:17:15 +01:00
|
|
|
<h1 className="font-bold text-[30px] mb-[20px]">New Time Report</h1>
|
2024-03-14 13:21:19 +01:00
|
|
|
<NewTimeReport />
|
|
|
|
</>
|
|
|
|
);
|
2024-03-13 14:18:06 +01:00
|
|
|
|
2024-03-14 10:46:29 +01:00
|
|
|
const buttons = (
|
|
|
|
<>
|
2024-03-14 15:49:13 +01:00
|
|
|
<Link to="/project">
|
|
|
|
<Button
|
|
|
|
text="Back"
|
|
|
|
onClick={(): void => {
|
|
|
|
return;
|
|
|
|
}}
|
2024-03-15 14:30:53 +01:00
|
|
|
type="button"
|
2024-03-14 15:49:13 +01:00
|
|
|
/>
|
|
|
|
</Link>
|
2024-03-14 10:46:29 +01:00
|
|
|
</>
|
|
|
|
);
|
2024-03-13 14:18:06 +01:00
|
|
|
|
|
|
|
return <BasicWindow username="Admin" content={content} buttons={buttons} />;
|
|
|
|
}
|
|
|
|
export default UserNewTimeReportPage;
|