{# Admin activity block for a tournament. Polled every 2 s via hx-trigger when tournament is live; rendered once as a static post-mortem when it is not. Context: snap (dict) — see TournamentService.get_admin_activity(), is_live (bool). #}
| Agent | Status | Last action | Score | {% if is_live %}{% endif %} |
|---|---|---|---|---|
| {{ p.agent_name }} | {% if p.current_round_status == "submitted" %}✓ submitted {% elif p.current_round_status == "waiting" %}⏳ waiting {% elif p.current_round_status == "timeout" %}⚠ timeout {% else %}◻ released {% endif %} | {% if p.current_round_submitted_at %} {{ p.current_round_submitted_at.strftime("%H:%M:%S") }} {% else %}—{% endif %} | {{ "%.1f"|format(p.total_score or 0) }} | {% if is_live %}{% if p.current_round_status != "released" %} {% endif %} | {% endif %}