{% extends "base.html" %} {% block title %}Workouts ยท {{ app_name }}{% endblock %} {% block body %} {% set st = x.today %}
You pick: standing days and whatever you log. Set Who picks today's workout to suggest or command in Settings and your Handler picks from {{ x.hour }}:00.
{% elif st is none %}Your Handler picks at {{ x.hour }}:00.
{% elif st.status == 'proposed' %}{{ st.words }}{% if st.by == 'ai' %} ai{% endif %}
Accept and it becomes an order, due at midnight. Not today costs nothing.
{% elif st.status in ('ordered', 'accepted') %}{{ st.words }}{% if st.by == 'ai' %} ai{% endif %}
An order, due at midnight โ it's in Training. The watch completes it.
{% elif st.status == 'declined' %}You turned today's down. Nothing ordered, nothing marked.
{% elif st.status == 'standing' %}A workout order already stands today โ it's in Training.
{% else %}Rest day โ nothing to pick from today.
{% endif %} {% if st and st.reason %}Why this family: {{ x.reasons.get(st.reason, st.reason) }}.
{% endif %} {% if x.prescription and (st is none or x.picker == 'me') %}The Handler's read right now: {{ x.prescription.family }} โ {{ x.reasons.get(x.prescription.reason) }} ({% for o in x.prescription.options %}{{ o.icon }} {{ o.title }}{% if not loop.last %}, {% endif %}{% endfor %}).
{% endif %}An order for a workout that runs out unmet is judged by the temperament it was issued under:
| ordered | same family instead | other workout instead | under target (โฅ ยฝ) | nothing | |
|---|---|---|---|---|---|
| {{ t }} | โ full | {% for col in ('family', 'other', 'under') %}{% set o = r[col] %}{% if o[0] == 'full' %}โ full{% elif o[0] == 'partial' %}ยฝ{% elif o[0] == 'short' %}โ{% else %}๐ {{ o[1] }}{% endif %} | {% endfor %}๐ป |
ยฝ = done, at half the XP and reward. โ = failed, no mark. A same-family or other workout counts when it carries the ordered minutes. More in the guide.
Importing is off (Settings).
{% endif %} {% if x.last_import %}Last sync {{ x.last_import|rel(now) }}.{% if x.unmapped %} Not mapped: {{ x.unmapped }} โ map them in Settings.{% endif %}
{% else %}Nothing has synced yet.
{% endif %} {% if x.recent %}| when | habit | family | min | distance | from |
|---|---|---|---|---|---|
| {{ w.ts|local }} | {{ w.icon }} {{ w.title }} | {{ w.family or 'โ' }} | {{ ((w.duration_seconds or 0) / 60)|round|int }} | {% if w.distance_m %}{{ '%.2f'|format(w.distance_m / 1609.344) }} mi{% else %}โ{% endif %} | {{ (w.external_uid or '').split(':')[1] if w.external_uid else '' }} |
Workout habits: {% for a in x.workouts %}{{ a.icon }} {{ a.title }} ({{ a.family }}){% if not loop.last %} ยท {% endif %}{% else %}none yet โ the first sync makes them, or set a habit's family in standing days.{% endfor %}