{% from "ui.html" import badge, empty_row with context %}
| User | Role | Opened | State | |
|---|---|---|---|---|
| {{ names.get(link.user_id, "-") }} | {{ link.role }} | {% if link.opened_at %} {{ link.opened_at | when(True) }} {% else %} not opened {% endif %} | {% if link.revoked_at %} revoked {{ link.revoked_at | when(True) }} {% else %} live {% endif %} | {% if not link.revoked_at %} {% endif %} |
| Status | Requested | By | Exit | Message | Detail |
|---|---|---|---|---|---|
| {{ badge(check.status) }} | {{ check.created_at | when(True) }} | - | {{ "-" if check.exit_code is none else check.exit_code }} | {{ check.message or ("waiting for the agent" if check.status == "pending" else "-") }} | {{ check.detail or "-" }} |
| Trainee link | Started | Size | Duration | |
|---|---|---|---|---|
| {{ names.get(link.user_id, "-") if link else "-" }} | {{ recording.created_at | when(True) }} | {{ recording.size_bytes | size if closed else "-" }} | {{ recording.duration_seconds | duration if closed else "-" }} | {% if closed %} {# djlint:off J018 #} Replay {# djlint:on #} {% else %} recording, replay after the link closes {% endif %} |