Add person graphs endpoint for workouts per week & PRs per week, consumed via dashboard, person overview and notes
This commit is contained in:
@@ -2,12 +2,9 @@
|
||||
|
||||
{% block content %}
|
||||
|
||||
<div class="w-full mb-4 grid grid-cols-1 xl:grid-cols-2 gap-4">
|
||||
{% for graph in dashboard_graphs %}
|
||||
<div class="bg-white shadow rounded-lg p-4 sm:p-6 xl:p-8">
|
||||
{{ render_partial('partials/svg_line_graph.html', **graph) }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
<div class="hidden" hx-get="{{ url_for('get_people_graphs') }}"
|
||||
hx-include="[name='exercise_id'],[name='min_date'],[name='max_date'],[name='person_id']" hx-trigger="load"
|
||||
hx-target="this" hx-swap="outerHTML">
|
||||
</div>
|
||||
|
||||
<div class="bg-white shadow rounded-lg pt-4 p-3 md:p-4 w-full mb-4">
|
||||
|
||||
Reference in New Issue
Block a user