Add dropdown exercise selection to Doris Barbell logs
Some checks failed
secret-guardrails / artifact-secret-scan (push) Has been cancelled
secret-guardrails / gitleaks (push) Has been cancelled

This commit is contained in:
Fizzlepoof
2026-05-28 18:09:51 +00:00
parent 6ba3fe208e
commit 3960e168bc
5 changed files with 34 additions and 4 deletions

View File

@@ -52,13 +52,18 @@
{% for exercise in routine_sheet %}
<section class="evidence-slab">
<input type="hidden" name="exercise_{{ exercise.exercise_index }}_name" value="{{ exercise.exercise_name }}">
<input type="hidden" name="exercise_{{ exercise.exercise_index }}_set_count" value="{{ exercise.target_sets }}">
<div class="case-legend">
<span class="section-label">Exercise {{ loop.index }}</span>
<span class="pill">{{ exercise.target_sets }} sets</span>
</div>
<h3>{{ exercise.exercise_name }}</h3>
<label>Exercise
<select name="exercise_{{ exercise.exercise_index }}_name">
{% for option_name in exercise_options %}
<option value="{{ option_name }}" {% if option_name == exercise.exercise_name %}selected{% endif %}>{{ option_name }}</option>
{% endfor %}
</select>
</label>
<p class="muted">Target reps: {{ exercise.target_reps or 'enter manually' }}</p>
<div class="grid cols-2 compact-grid">
{% for set in exercise.sets %}