{% extends 'base.html' %} {% block content %}
{% for graph in dashboard_graphs %}
{{ render_partial('partials/svg_line_graph.html', **graph) }}
{% endfor %}
{{ render_partial('partials/tags.html',person_id=None, tags=tags) }}
{% if model['People']|length == 0 %} {% endif %}
{% for p in model['People'] %}

{{ p['PersonName'] }}

Current rep maxes
{% if p['NumberOfWorkouts'] == 0 %} {% endif %} {% for e in p['Exercises'] %} {% if e['Topsets']|length > 1 %}
{{ render_partial('partials/sparkline.html', **e['ExerciseProgressGraph']) }}
{% for rm in e['Topsets'] %} {% endfor %}
Date Set E1RM
{{ rm['StartDate'] }} {{ rm['Repetitions'] }} x {{ rm['Weight'] }}kg {{ rm['Estimated1RM'] }}kg
{% endif %} {% endfor %}
{% endfor %}
{{ render_partial('partials/stats.html', stats=model['Stats']) }} {% endblock %}