Auto-recommends the next workout in the 4-day cycle based on the user's last completed session (one with logged sets). Redesigns the /workouts page with highlighted recommendation card and renames the back button to "Change Workout". Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
32 lines
797 B
HTML
32 lines
797 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}{{ day_name }} Day — SneakySwole{% endblock %}
|
|
|
|
{% block content %}
|
|
<hgroup>
|
|
<h1>{{ day_name }} Day</h1>
|
|
{% if active_profile %}
|
|
<p>Training as: <strong>{{ active_profile.display_name }}</strong></p>
|
|
{% else %}
|
|
<p>No profile selected — <a href="/profiles">select one</a></p>
|
|
{% endif %}
|
|
</hgroup>
|
|
|
|
<!-- Warmup Section -->
|
|
<section>
|
|
<h2>Warmup</h2>
|
|
{% include "partials/warmup_list.html" %}
|
|
</section>
|
|
|
|
<!-- Exercises Section -->
|
|
<section>
|
|
<h2>Exercises</h2>
|
|
{% for exercise in exercises %}
|
|
{% set program = programs.get(exercise.id) %}
|
|
{% include "partials/exercise_card.html" %}
|
|
{% endfor %}
|
|
</section>
|
|
|
|
<a href="/workouts" role="button" class="outline">Change Workout</a>
|
|
{% endblock %}
|