{% extends "layout.html" %} {% block content %}

Welcome to {{ g.branding.app_name }}

Track your work hours easily and efficiently

{% if not g.user %} Please login or register to access your dashboard. {% else %}

Time Tracking

{% if active_entry %}

Currently Working

Started at: {{ active_entry.arrival_time|format_datetime }}

{% if active_entry.project %}

Project: {{ active_entry.project.code }} - {{ active_entry.project.name }}

{% endif %}
00:00:00
{% if active_entry.is_paused %}

On break since {{ active_entry.pause_start_time|format_time }}

{% endif %} {% if active_entry.total_break_duration > 0 %}

Total break time: {{ active_entry.total_break_duration|format_duration }}

{% endif %}
{% else %}

Not Currently Working

{% endif %}

Time Entry History

{% if history %} {% for entry in history %} {% endfor %}
Date Project Arrival Departure Work Duration Break Duration Actions
{{ entry.arrival_time|format_date }} {% if entry.project %} {{ entry.project.code }} {{ entry.project.name }} {% else %} No project {% endif %} {{ entry.arrival_time|format_time }} {{ entry.departure_time|format_time if entry.departure_time else 'Active' }} {{ entry.duration|format_duration if entry.duration is not none else 'In progress' }} {{ entry.total_break_duration|format_duration if entry.total_break_duration is not none else '0m' }} {% if entry.departure_time and not active_entry %} {% endif %}
{% else %}

No time entries recorded yet.

{% endif %}
{% endif %}

Easy Time Tracking

Simply click "Arrive" when you start working and "Leave" when you're done.

Break Management

Use the Pause button when taking breaks. Your break time is tracked separately.

Detailed History

View your complete work history with precise timestamps and durations.

Simple Interface

No complicated setup or configuration needed. Start tracking right away!

{% endblock %}