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

User Activity Summary

Activity overview for the reporting period

{{ summary.total_events|default(0) }}
Total Events
{{ summary.unique_users|default(0) }}
Unique Users
{{ summary.active_days|default(0) }}
Days with Activity
{{ "%.1f"|format(summary.avg_daily_users|default(0)) }}
Avg Daily Users
{% if daily_logins and daily_logins|length > 0 %}

Active Users Over Time

Daily unique active users and total events

{% endif %}
{% if activity_by_type and activity_by_type|length > 0 %}

Activity Breakdown by Type

Distribution of event types

{% endif %} {% if top_users and top_users|length > 0 %}

Most Active Users

Top users by total activity count

{% endif %}
{% if top_users and top_users|length > 0 %}

Top Active Users

Users ranked by total activity

{% for row in top_users %} {% endfor %}
Rank User Total Actions Days Active Event Types Last Active
{{ loop.index }} {{ row['User'] }} {{ row['Total Actions'] }} {{ row['Logins'] }} {{ row['Event Types'] }} {{ row['Last Active'] }}
{% endif %} {% if activity_by_type and activity_by_type|length > 0 %}

Activity by Event Type

Breakdown of events by type

{% for row in activity_by_type %} {% endfor %}
Event Type Count Percentage
{{ row['Event Type'] }} {{ row['Count'] }} {{ "%.1f"|format(row['Percentage']) }}%
{% endif %}

Recent Activity

Latest user actions (most recent first)

{% if data %} {% for row in data[:100] %} {% endfor %}
Time User Event Type Project
{{ row['Time'] }} {{ row['User'] }} {{ row['Event Type'] }} {{ row['Project'] if row['Project'] else '-' }}
{% if data|length > 100 %}

Showing first 100 of {{ data|length }} events. Export to CSV/XLSX for full data.

{% endif %} {% else %}

No activity found

No user activity matches the current criteria.

{% endif %}
{% endblock %}