10 lines
485 B
HTML
10 lines
485 B
HTML
<tr id="checkin-{{ c.id }}">
|
|
<td>{{ c.checked_in_at.strftime('%d %b %Y, %H:%M') }}</td>
|
|
<td style="font-weight: 600;">{{ '%.1f' % (c.weight_kg | float) }} kg</td>
|
|
<td>{{ '%.1f' % (c.bmi | float) if c.bmi else '—' }}</td>
|
|
<td>{{ c.notes or '—' }}</td>
|
|
<td>
|
|
<button class="btn-icon" hx-delete="/checkin/{{ c.id }}" hx-target="#checkin-{{ c.id }}" hx-swap="outerHTML"
|
|
hx-confirm="Delete this check-in?">🗑️</button>
|
|
</td>
|
|
</tr> |