diff options
| author | Marius Peter <dev@marius-peter.com> | 2026-07-18 23:23:35 +0200 |
|---|---|---|
| committer | Marius Peter <dev@marius-peter.com> | 2026-07-18 23:23:35 +0200 |
| commit | 753e25e99ddf57be78ff27ad89cb7e1bbc99d041 (patch) | |
| tree | 43db69ec341520f2923f2f13d0cd8846a9acac35 /templates/dashboard.html | |
Initial commit: HITO MVP
Heavy Duty I prescriptive training system encoding Mentzer's methodology.
- 4-day split program (Chest & Back, Legs, Shoulders, Arms)
- Prescription engine with pre-exhaust superset structure
- Strict progression logic (+5kg large / +2.5kg small muscles)
- Recovery gating with stall-based extension and override
- Onboarding via experience level (Novice/Intermediate/Advanced)
- Session logging with full progression analysis
- Exercise substitution (33 alternatives for 17 canonical movements)
- Objectivist aesthetic: black/gold, serif, rectilinear
Stack: Hunchentoot, Mito/SQLite, Djula, SBCL
Diffstat (limited to 'templates/dashboard.html')
| -rw-r--r-- | templates/dashboard.html | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/templates/dashboard.html b/templates/dashboard.html new file mode 100644 index 0000000..da294ee --- /dev/null +++ b/templates/dashboard.html @@ -0,0 +1,63 @@ +{% extends "base.html" %} + +{% block title %} — Dashboard{% endblock %} + +{% block content %} +<section class="dashboard"> + + {% if ready %} + <div class="status ready"> + <h2>YOU ARE READY</h2> + <p class="next-workout">Today you train <strong>Day {{ next_day }}: {{ next_day_name }}</strong>.</p> + <a href="/session" class="btn-primary">BEGIN SESSION</a> + </div> + {% else %} + <div class="status recovering"> + <h2>RECOVERY IN PROGRESS</h2> + <p class="days-remaining"> + <span class="big-number">{{ days_remaining }}</span> + <span class="label">day{{ days_plural }} remaining</span> + </p> + <p class="next-date">Next session prescribed for <strong>{{ next_date }}</strong>.</p> + <p class="recovery-reason">{{ reason }}</p> + <a href="/override" class="btn-warning">OVERRIDE RECOVERY</a> + </div> + {% endif %} + + {% if has_history %} + <div class="history"> + <h3>Recent Sessions</h3> + {% for session in sessions %} + <div class="history-entry"> + <span class="history-date">{{ session.date }}</span> + <span class="history-day">Day {{ session.day }}: {{ session.day_name }}</span> + {% if session.override %} + <span class="history-badge override">OVERRIDE</span> + {% endif %} + </div> + {% endfor %} + </div> + {% endif %} + + <div class="nav-links"> + <a href="/exercises">Configure Exercises</a> + </div> + +</section> +{% endblock %} + +{% block quote %} +{% if ready %} +<blockquote> + “Every single workout must be a step forward if you are to get anywhere + with your training.” + <cite>— Mike Mentzer</cite> +</blockquote> +{% else %} +<blockquote> + “Rest is not a sign of weakness. It is the very process by which + the body grows stronger.” + <cite>— Mike Mentzer</cite> +</blockquote> +{% endif %} +{% endblock %} |