fitness-web/app/templates/checkin_new.html
Jacob Hinkle 5584022a23 Single-container AI coach with agent API endpoints and UI polish
- Merge opencode-serve into the web container via entrypoint script
- Add /api/agent/* JSON endpoints for workouts, sets, checkins
- Rewrite fitness-trainer.md to use API instead of markdown files
- Pass recent workouts and check-ins as chat context to the coach
- Show current training phase on dashboard
- Clarify check-ins as morning check-ins (calories/steps = yesterday)
- Add NixOS deployment section to README
- Make all check-in fields explicitly optional in UI
2026-06-29 10:50:01 -04:00

47 lines
1.5 KiB
HTML

{% extends "base.html" %}
{% block title %}Morning Check-in{% endblock %}
{% block content %}
<h1>Morning Check-in</h1>
<p><small>All fields are optional — fill in whatever you have each morning.</small></p>
<form method="post" action="/checkins/new">
<label>
Date
<input type="date" name="date" value="{{ today }}" required>
<small>Morning of this check-in</small>
</label>
<label>
Feeling
<input type="text" name="feeling" placeholder="e.g., Good, Tired, Sore">
<small>How are you feeling this morning?</small>
</label>
<div class="grid">
<label>
Weight (lb)
<input type="number" name="weight_lb" step="0.1">
<small>Morning weight</small>
</label>
<label>
Calories
<input type="number" name="calories">
<small>Yesterday's total</small>
</label>
<label>
Steps
<input type="number" name="steps">
<small>Yesterday's total</small>
</label>
<label>
Sleep (hours)
<input type="number" name="sleep_hours" step="0.5">
<small>Last night</small>
</label>
</div>
<label>
Notes
<textarea name="notes" rows="3" placeholder="Anything else to note?"></textarea>
<small>Optional notes about yesterday or today</small>
</label>
<button type="submit">Save Check-in</button>
</form>
{% endblock %}