BrowserFriend
Session Dashboard — {{ date }}
{{ email }}
|
|
Total Time
{{ total_time }}
|
|
|
Pages Visited
{{ total_visits }}
|
|
|
Unique Domains
{{ unique_domains }}
|
|
|
Productivity
{{ productivity_score }}/100
|
|
|
Productivity Breakdown
{% set prod_pct = productivity_breakdown.get('productive_time', 0) %}
{% set neut_pct = productivity_breakdown.get('neutral_time', 0) %}
{% set dist_pct = productivity_breakdown.get('distracting_time', 0) %}
| Productive |
|
{{ prod_pct }}% |
|
|
|
| Distracting |
|
{{ dist_pct }}% |
|
|
{% if top_domains %}
Top Domains
| # |
Domain |
Time |
% |
Category |
{% for domain in top_domains[:10] %}
{% set cat = categories.get(domain.domain, 'other') %}
| {{ loop.index }} |
{{ domain.domain }} |
{{ format_duration(domain.total_time) }} |
{{ '%.1f' % domain.percentage }}% |
{{ cat }}
|
{% endfor %}
|
{% endif %}
{% if time_distribution %}
Time Distribution
{% set periods = [('Morning (6am-12pm)', time_distribution.get('morning', 0), '#FF9800'), ('Afternoon (12pm-6pm)', time_distribution.get('afternoon', 0), '#4285f4'), ('Evening (6pm-12am)', time_distribution.get('evening', 0), '#9C27B0'), ('Night (12am-6am)', time_distribution.get('night', 0), '#5f6368')] %}
{% set max_time = [periods[0][1], periods[1][1], periods[2][1], periods[3][1]] | max %}
{% for label, seconds, color in periods %}
| {{ label }} |
|
{{ format_duration(seconds) }} |
|
{% endfor %}
|
{% endif %}
{% if summary %}
AI Insights
{{ summary }}
|
{% endif %}
{% if patterns %}
Patterns Detected
{% for pattern in patterns %}
|
●{{ pattern }}
|
{% endfor %}
|
{% endif %}
{% if recommendations %}
Recommendations
{% for rec in recommendations %}
|
|
{% endfor %}
|
{% endif %}
|
Generated on {{ generated_at[:10] if generated_at|length > 10 else generated_at }}
Session ID: {{ session_id[:8] }}...
BrowserFriend — Track, Analyse, Understand
|
|
|