Skip to content
Closed

changes #1692

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added frontend/Screenshot 2025-05-19 112503.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/Screenshot 2025-05-19 112535.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added frontend/ai/.gitignore
Empty file.
981 changes: 981 additions & 0 deletions frontend/fastapi_backend.py

Large diffs are not rendered by default.

388 changes: 388 additions & 0 deletions frontend/fastapi_react_flow_diagram (1).md

Large diffs are not rendered by default.

66 changes: 52 additions & 14 deletions frontend/index.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,52 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Full Stack FastAPI Project</title>
<link rel="icon" type="image/x-icon" href="/assets/images/favicon.png" />
</head>
<body>
<div id="root"></div>
<script type="module" src="./src/main.tsx"></script>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Employee Timesheet Dashboard</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<style>
.chart-container {
margin-bottom: 20px;
}
.table-responsive {
overflow-x: auto;
}
</style>
</head>
<body>
<div class="container">
<h1 class="mt-4 mb-4">Employee Timesheet Dashboard</h1>

<div class="chart-container">
<canvas id="totalEmployeesChart"></canvas>
</div>

<div class="chart-container">
<canvas id="ptsStatusByManagerChart"></canvas>
<div id="ptsStatusByManagerTable" class="table-responsive" style="display: none;"></div>
</div>

<div class="chart-container">
<canvas id="ptsStatusOverviewChart"></canvas>
<div id="ptsStatusOverviewTable" class="table-responsive" style="display: none;"></div>
</div>

<div class="chart-container">
<canvas id="ptsStatusTrendChart"></canvas>
<div id="ptsStatusTrendTable" class="table-responsive" style="display: none;"></div>
</div>

<div class="chart-container">
<canvas id="resourceTypeBreakdownChart"></canvas>
<div id="resourceTypeBreakdownTable" class="table-responsive" style="display: none;"></div>
</div>


</div>

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<script src="script.js"></script>
</body>
</html>
Loading
Loading