{% extends "base.html" %} {% block title %}Settings - makerundev{% endblock %} {% block content %}

Settings

Your heart rate and body mass. Zones, TRIMP and estimated power are computed from them.

{% if notice %}

{{ notice }}

{% endif %} {% if errors %}{% endif %} {% macro field(name, label, hint=None, suffix=None, mode="numeric", required=True) %}
{% if suffix %}{{ suffix }}{% endif %} {% if errors[name] %}{{ errors[name] }} {% elif hint %}{{ hint }}{% endif %}
{% endmacro %}
Heart rate {{ field("max_hr", "Max heart rate", ("Highest recorded in your activities: %.0f bpm" | format(highest_heart_rate)) if highest_heart_rate else None, "bpm") }} {{ field("resting_hr", "Resting heart rate", None, "bpm") }}
{{ errors.trimp_coefficients or "Banister's weighting of heart-rate reserve." }}
Body {{ field("body_mass_kg", "Body mass", "Used for estimated power. Leave blank if you don't want it.", "kg", "decimal", required=False) }}
Zones

Where each zone starts, as a percentage of {{ zone_label }}. Zone 1 is everything below zone 2.

{{ errors.zone_model or "A zone starts at max × % or, for reserve, at resting + (max − resting) × %." }}
{% for name in zone_fields %} {{ field(name, "Zone %s starts at" | format(loop.index + 1), ("%d bpm" | format(zone_starts[loop.index0])) if zone_starts else None, "%", "decimal") }} {% endfor %}
Days
{% for name in timezones %} {{ errors.timezone or "Decides which day an activity counts toward in daily training load." }}
{% endblock %}