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

Settings

Your heart-rate numbers. Time in zones and TRIMP are computed from them.

{% if notice %}

{{ notice }}

{% endif %} {% if errors %}{% endif %} {% macro field(name, label, hint=None, suffix=None, mode="numeric") %}
{% 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." }}
Zones

Where each zone starts, as a percentage of max heart rate. Zone 1 is everything below zone 2.

{% for name in zone_fields %} {{ field(name, "Zone %s starts at" | format(loop.index + 1), None, "% of max", "decimal") }} {% endfor %}
Days
{% for name in timezones %} {{ errors.timezone or "Decides which day an activity counts toward in daily training load." }}
{% endblock %}