diff --git a/core/__pycache__/urls.cpython-311.pyc b/core/__pycache__/urls.cpython-311.pyc index 095285d..b5eaf8d 100644 Binary files a/core/__pycache__/urls.cpython-311.pyc and b/core/__pycache__/urls.cpython-311.pyc differ diff --git a/core/__pycache__/views.cpython-311.pyc b/core/__pycache__/views.cpython-311.pyc index 37a4af8..d69ce16 100644 Binary files a/core/__pycache__/views.cpython-311.pyc and b/core/__pycache__/views.cpython-311.pyc differ diff --git a/core/templates/core/index.html b/core/templates/core/index.html index 27932e7..fc862c8 100644 --- a/core/templates/core/index.html +++ b/core/templates/core/index.html @@ -4,64 +4,97 @@ {% block title %}Dashboard | FoxFitt{% endblock %} {% block content %} -
Welcome back, {{ user.first_name|default:user.username }}!
No recent activity to show yet. Start by logging today's attendance!
+| Date | +Project | +Team | +Workers | +Supervisor | +Overtime | +Notes | +
|---|---|---|---|---|---|---|
| {{ log.date }} | +{{ log.project.name }} | +{{ log.team.name|default:"-" }} | ++ {{ log.workers.count }} + | +{{ log.supervisor.username|default:"-" }} | ++ {% if log.overtime_amount > 0 %} + {{ log.get_overtime_amount_display }} + {% else %} + - + {% endif %} + | ++ {{ log.notes|truncatechars:30 }} + | +
| No work history found. | +||||||