{% extends 'base.html' %} {% block content %}
{{ render_partial('partials/custom_select.html', name='person_id', options=people, multiple=true, search=true, placeholder='Filter people', hx_get=url_for('dashboard'), hx_include="input[name='min_date'],input[name='max_date'],#select-exercise_id", hx_target='#container', hx_push_url=true) }}
{{ render_partial('partials/custom_select.html', name='exercise_id', options=exercises, multiple=true, search=true, placeholder='Filter exercises', hx_get=url_for('dashboard'), hx_include="input[name='min_date'],input[name='max_date'],#select-person_id", hx_target='#container', hx_push_url=true) }}
{{ render_partial('partials/tags.html', person_id=None, tags=tags) }}
{% if dashboard|length == 0 %} {% endif %}
{% for person in dashboard %}

{{ person.name }}

Current rep maxes
{% if person.exercises|length == 0 %} {% endif %} {% for exercise in person.exercises %} {% if exercise.sets|length > 1 %}
{{ render_partial('partials/skeleton_graph.html') }}
{% for set in exercise.sets %} {% endfor %}
Date Set E1RM
{{ set.workout_start_date | strftime("%b %d %Y") }} {{ set.reps }} x {{ set.weight }}kg {{ set.estimated_1rm }}kg
{% endif %} {% endfor %}
{% endfor %}
{% endblock %}