{% extends "base.html" %} {% from "components/cards.html" import info_card, stat_card %} {% from "components/ui.html" import confirm_dialog, modal, page_header %} {% from "components/client_select.html" import client_select %} {% block extra_css %} {% endblock %} {% block content %} {% if timer_stopped_toast %} {% endif %} {% set dashboard_breadcrumbs = [{'text': _('Dashboard')}] %} {{ page_header('fas fa-tachometer-alt', _('Dashboard'), _("Here's a quick overview of your work."), breadcrumbs=dashboard_breadcrumbs) }}
{% if active_timer.project %} {{ active_timer.project.name }} {% elif active_timer.client %} {{ active_timer.client.name }} ({{ _('Direct') }}) {% else %} {{ _('No project') }} {% endif %}
{{ _('Started at') }} {{ active_timer.start_time|user_time }}
{{ _('Elapsed') }}: {{ active_timer.duration_formatted }}
{% if not active_timer.is_paused %}{{ _('No active timer.') }}
{% if recent_entries %}{{ _('Resume your last session or use the buttons above to repeat last / start a new timer.') }}
{% else %}{{ _('Click "Start Timer" above to begin tracking your time.') }}
{% endif %}{{ _('Today\'s Hours') }}
{{ _('Week\'s Hours') }}
{{ _('Month\'s Hours') }}
{{ _('Your tracked time at a glance') }}
{{ _('Loading insights…') }}
{{ _('Total hours tracked') }}
0 h
{{ _('Time entries') }}
0
{{ _('Active days') }}
0
{{ _('Hours per day (last 7 days)') }}
{{ _('Most productive day') }}
—
{{ _('Avg session length') }}
0 h
{{ _('Estimated value tracked') }} ()
{{ _('Hours per day (Mon–today vs same days last week)') }}
| {{ _('Project') }} | {{ _('Duration') }} | {{ _('Date') }} | {{ _('Actions') }} |
|---|---|---|---|
| {% if entry.project %} {{ entry.project.name }} {% elif entry.client %} {{ entry.client.name }} ({{ _('Direct') }}) {% else %} {{ _('N/A') }} {% endif %} | {% if active_timer and entry.id == active_timer.id %}{{ entry.duration_formatted }}{% else %}{{ entry.duration_formatted }}{% endif %} | {{ entry.start_time|user_datetime }} | |
|
{{ _('No recent entries found.') }} {{ _('Start tracking time to see entries here.') }} |
|||
{{ _('Set a weekly time goal to track your progress') }}
{{ _('Create Goal') }}{{ _('No time logged in the last 7 days.') }}
{{ _('Start tracking to see distribution here.') }}
{{ _('No activity in the last 30 days.') }}
{{ _('Start tracking time on projects to see them here.') }}
{{ activity.description or 'Activity' }}
{{ activity.created_at|local_datetime_short }}
{{ _('No recent activity') }}
{{ _('You have tracked %(hours)s hours', hours=('%.1f'|format((usage_support_stats.total_hours or 0)|float))) }} · {{ _('You have created %(count)s entries', count=usage_support_stats.time_entries_count or 0) }} {% if (usage_support_stats.reports_generated_count or 0) > 0 %} · {{ _('Reports generated: %(n)s', n=usage_support_stats.reports_generated_count) }} {% endif %}
{% if is_supporter_instance %}{{ _('Thank you for supporting development. Sharing TimeTracker still helps a lot.') }}
{% else %}{{ _('If this saves you time, consider supporting development — everything stays free and open.') }}
{% endif %}{{ _('Enter a name for the new task.') }}