{% extends 'topopartner/base.html' %} {% load mathfilters %} {% load static %} {% block title %}Tracks ∣ {{ block.super }}{% endblock title %} {% block main_content %}

Recordings

{% if recordings %} {% for track in recordings %} {% endfor %}
Label Distance Uphill Downhill Duration Date Public
{{ track.label }} {% if track.distance %}{{ track.distance | mul:.001 | floatformat }}km{% else %}—{% endif %} {% if track.uphill %}{{ track.uphill | floatformat:"0" }}m{% else %}—{% endif %} {% if track.downhill %}{{ track.downhill | floatformat:"0" }}m{% else %}—{% endif %} {% if track.duration %}{{ track.pretty_duration }}{% else %}—{% endif %} {{ track.date_visited }} {% if track.public %}✓{% else %}—{% endif %}
{% else %}

Nothing to show here.

{% endif %}

Upload track Fit model

Current model

Duration (s) = {{ linreg.intercept | floatformat }} + {{ linreg.coef_distance | floatformat }} × Distance (m) + {{ linreg.coef_uphill | floatformat }} × Uphill (m)
{% endblock main_content %}