Add exercise progress graphs to new person overview page

This commit is contained in:
Peter Stockings
2025-01-26 20:00:31 +11:00
parent 2c8019ef7b
commit cd6f3920f5
3 changed files with 82 additions and 2 deletions

View File

@@ -94,6 +94,12 @@
{{ render_partial('partials/tags.html',person_id=person_id, tags=tags) }}
<div class="mt-4 mb-4 w-full grid grid-cols-1 2xl:grid-cols-2 gap-4">
{% for graph in exercise_progress_graphs %}
{{ render_partial('partials/sparkline.html', **graph.progress_graph) }}
{% endfor %}
</div>
<div class="flex flex-col mt-3 w-screen sm:w-full overflow-auto">
<div class="overflow-x-auto rounded-lg">
<div class="flex justify-center">