All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 13s
Add 3 new stat cards (Last Workout, Personal Records, Adherence Rate), recent activity table, progression timeline chart, and muscle group recency heatmap to the dashboard. Remove Total Volume card. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
30 lines
901 B
HTML
30 lines
901 B
HTML
<article>
|
|
<header><h3>Recent Activity</h3></header>
|
|
{% if recent_activity %}
|
|
<div style="overflow-x:auto;">
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Date</th>
|
|
<th>Workout</th>
|
|
<th>Volume (lbs)</th>
|
|
<th>Sets</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for session in recent_activity %}
|
|
<tr>
|
|
<td>{{ session.date.strftime('%b %d, %Y') }}</td>
|
|
<td>{{ session.workout_day_name }}</td>
|
|
<td>{{ "{:,}".format(session.total_volume) }}</td>
|
|
<td>{{ session.total_sets }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{% else %}
|
|
<p>No workout sessions logged yet.</p>
|
|
{% endif %}
|
|
</article>
|