{% extends "base.html" %}
{% block title %}{{ activity.name or activity.filename }} - makerundev{% endblock %}
{% block content %}
{% macro power(watts, body_mass_kg) %}{{ watts | power }}{% if watts is not none and body_mass_kg is not none %}{{ "%.2f W/kg" | format(watts / body_mass_kg) }}{% endif %}{% endmacro %}
All activities
{{ activity.sport.replace("_", " ") | capitalize }} on {{ activity.start_time | local(timezone, "%Y-%m-%d %H:%M %Z") }}
{% if activity.name and activity.name != activity.filename %}{{ activity.name }} · {% endif %}{{ activity.filename }}{% if activity.device %} · {{ activity.device }}{% endif %}{% if strava_url %} · View on Strava{% endif %}
- Distance
- {{ activity.distance_m | km }}
- Moving time
- {{ activity.moving_s | duration }}
- Pace
- {{ activity.pace_s_per_km | pace }}
{% if is_running %}- Grade-adjusted pace
- {{ grade_adjusted_pace | pace }}
{% endif %}
{% if avg_power is not none %}- Avg power
- {{ power(avg_power, body_mass_kg) }}
{% endif %}
{% if is_running and body_mass_kg is not none %}- Estimated power
- {{ power(estimated_power, body_mass_kg) }}
{% endif %}
- Avg heart rate
- {{ "%.0f bpm" | format(activity.avg_heart_rate) if activity.avg_heart_rate else "-" }}
{% if is_running %}- Aerobic decoupling
- {{ decoupling | decoupling }}
{% endif %}
- Climb
- {{ "%.0f m" | format(activity.elevation_gain_m) }}
- Elapsed
- {{ activity.elapsed_s | duration }}
{% if ground_contact_time is not none %}- Ground contact
- {{ "%.0f ms" | format(ground_contact_time) }}
{% endif %}
{% if vertical_oscillation is not none %}- Vertical oscillation
- {{ "%.1f cm" | format(vertical_oscillation / 10) }}
{% endif %}
{% if step_length is not none %}- Step length
- {{ "%.2f m" | format(step_length) }}
{% endif %}
{% if settings_set %}- TRIMP
- {{ "%.0f" | format(activity.trimp) if activity.trimp is not none else "-" }}
{% endif %}
{% macro line(title, s, label) %}
{% if s %}
{{ title }} {{ label(s.low) }} - {{ label(s.high) }}
{% endif %}
{% endmacro %}
{% if route %}
Route
{% endif %}
{{ line("Pace", pace, format_pace) }}
{{ line("Heart rate", heart_rate, format_bpm) }}
{{ line("Elevation", elevation, format_metres) }}
{% if splits %}
Splits
| Split | Distance | Time | Pace |
{% for split in splits %}
| {{ loop.index }} |
{{ split.distance_m | km }} |
{{ split.moving_s | duration }} |
{{ split.pace_s_per_km | pace }} |
{% endfor %}
{% endif %}
{% if laps %}
Laps
| Lap | Time | Distance | Pace |
{% for lap in laps %}
| {{ lap.number }} |
{{ lap.elapsed_s | duration if lap.elapsed_s is not none else "-" }} |
{{ lap.distance_m | km if lap.distance_m is not none else "-" }} |
{{ lap.pace_s_per_km | pace }} |
{% endfor %}
{% endif %}
{% if zones %}
Time in zones
{% for zone in zones %}
| {{ zone.name }} {{ zone.bpm }} |
|
{{ zone.seconds | duration }} |
{{ "%.0f%%" | format(zone.share * 100) }} |
{% endfor %}
{% elif not settings_set and activity.avg_heart_rate %}
Set your max and resting heart rate in Settings to see time in zones and TRIMP.
{% endif %}
{% if efforts %}
Best efforts
{% for distance, seconds in efforts.items() %}
| {{ distance | distance_name }} | {{ seconds | duration }} |
{% endfor %}
{% endif %}
{% if counts_for_performance %}
{% endif %}
{% endblock %}