{% extends "tracker/base.html" %}{% load fmt %} {% block title %}Dashboard{% endblock %} {% block content %}

Dashboard

{% if not total %}
No activities yet. Upload GPX, TCX or FIT files, or run python manage.py seed_demo.
{% else %} {% for w in warnings %}
{{ w }}
{% endfor %} {% for g in gear_alerts %}
{{ g.name }}: {{ g.mileage_km|floatformat:0 }} km of {{ g.retire_km|floatformat:0 }} km{% if g.status == 'replace' %} - time to replace it.{% else %} - approaching retirement.{% endif %}
{% endfor %}
{{ current.ctl|num:0 }}
Fitness (CTL)
{{ current.atl|num:0 }}
Fatigue (ATL)
{{ current.tsb|num:0 }}
Form (TSB)
{% if ramp is not None %}{{ ramp|floatformat:1 }}{% else %}-{% endif %}
Ramp / week

Weekly distance, km (last 16 weeks)

{{ weekly_chart }}

Fitness, fatigue and form

CTL (42d)ATL (7d)TSB
{{ load_chart }}

Recent activities

{% for a in recent %}{% endfor %}
{{ a.get_sport_display }} {{ a.name }}
{{ a.start|date:"D j M, H:i" }}
{{ a.distance|km:1 }} km{{ a.moving_time|duration }}{{ a.tss|num:0 }} TSS

Intensity distribution (28 days)

{% if intensity.zones|length and intensity.model != "no data" %}
{{ intensity.low|percent }}
Easy Z1-2
{{ intensity.moderate|percent }}
Tempo Z3
{{ intensity.high|percent }}
Hard Z4-5

Training model: {{ intensity.model }}. {% if intensity.model != "polarized" %}A polarized split is roughly 80% easy, little tempo and 20% hard.{% endif %}

{% else %}

No heart-rate data in the last 28 days.

{% endif %}

Upcoming goals

{% for g in goals %}

{{ g.name }} - {{ g.date|date:"j M Y" }}, {{ g.distance_m|km:1 }} km{% if g.target_time %} in {{ g.target_time|duration }}{% endif %}

{% empty %}

None set. Add a goal.

{% endfor %}
{% endif %} {% endblock %}