Add person graphs endpoint for workouts per week & PRs per week, consumed via dashboard, person overview and notes

This commit is contained in:
Peter Stockings
2025-01-27 01:00:50 +11:00
parent 049af675cc
commit 0ed0c20e93
9 changed files with 224 additions and 152 deletions

View File

@@ -3,6 +3,10 @@
{% block content %}
<div class="flex flex-grow flex-col bg-white sm:rounded shadow overflow-hidden">
<div class="hidden" hx-get="{{ url_for('get_people_graphs') }}" hx-vals='{"person_id": "{{ person_id }}"}'
hx-trigger="load" hx-target="this" hx-swap="outerHTML">
</div>
<div class="flex items-center justify-between pt-2 pb-2">
<div class="flex">
<h2 class="ml-2 text-xl font-bold leading-none">Notes</h2>