{#- The session page's rows and controls, shared by the page and its fragments. -#} {#- A past moment, ticking (app.js) from data-since-ms; its title is the local time. -#} {% macro moment(m, cls="") -%} {%- endmacro %} {#- A block: what it waits on, then how long it has waited (open) or how it closed. -#} {% macro block_row(b) -%}
{{ b.scope }}{% endif %}
{% if b.is_open %}
Waiting for{{ moment(b.opened, "block__wait") }}
{% else %}
{{ b.close }}
Waited {{ b.waited }}
Closed {{ moment(b.closed) }} ago
{% endif %}
{{ a.short_id }}
{% if a.background %}Background{% endif %}
{% if a.internal %}Internal{% endif %}
{{ a.launched_by }}{% endif %}
{{ e.name }}
{{ moment(e.at) }} ago
{% if e.details %}
{{ d.value }}{% else %}{{ d.value }}{% endif %}{{ head.short_id }}
{{ head.path }}
{% endif %}{{ head.error_code }}{% endif %}
{{ head.session_id }}No blocks: this session never waited on you.
{% endif %}Main thread
No subagents ran in this session.
{% endif %}