Files
SneakySwole/app/templates/pages/dashboard.html
Phillip Tarrant 134542b66f feat: add Phase 5 Progression & Analytics — smart suggestions, dashboard, schedule
Add auto-progression engine (ProgressionService) with rep increase, weight
increase, deload, and felt-easy acceleration rules. Add AnalyticsService for
user stats, exercise progress charts, and volume-by-day data. New dashboard
and schedule routes with Chart.js visualizations. Progression badges shown
inline on workout day view. Navigation updated with Dashboard and Schedule links.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 12:26:23 -06:00

47 lines
1.1 KiB
HTML

{% extends "base.html" %}
{% block title %}Dashboard -- SneakySwole{% endblock %}
{% block head_extra %}
<script src="https://cdn.jsdelivr.net/npm/chart.js@4"></script>
{% endblock %}
{% block content %}
<hgroup>
<h1>Progress Dashboard</h1>
{% if active_profile %}
<p>{{ active_profile.display_name }}'s training overview</p>
{% else %}
<p>No profile selected -- <a href="/profiles">select one</a></p>
{% endif %}
</hgroup>
{% if stats %}
<!-- Summary Stats -->
<div class="grid">
{% include "partials/stats_card.html" %}
</div>
<!-- Volume by Day Chart -->
<article>
<header><h3>Volume by Workout Day</h3></header>
{% include "partials/volume_chart.html" %}
</article>
<!-- Exercise Progress Links -->
<article>
<header><h3>Per-Exercise Progress</h3></header>
<ul>
{% for exercise in exercises %}
<li>
<a href="/dashboard/exercise/{{ exercise.id }}">
{{ exercise.name }}
</a>
<small> -- {{ exercise.workout_day }} Day</small>
</li>
{% endfor %}
</ul>
</article>
{% endif %}
{% endblock %}