{% extends "base.html" %} {% block title %}{{ session.serial }} - Imaging Session{% endblock %} {% block content %}

{{ session.serial }} {% if session.hostname_target %}{{ session.hostname_target }}{% endif %}

{% if session.pctype %}{{ session.pctype }}{% endif %} {% if session.machinenumber %}#{{ session.machinenumber }}{% endif %} {{ session.status or 'in_progress' }}
« Back to dashboard
Session metadata
Serial
{{ session.serial }}
Hostname
{{ session.hostname_target or '-' }}
MAC
{{ session.mac or '-' }}
PC type
{{ session.pctype or '-' }}
Machine #
{{ session.machinenumber or '-' }}
Intune ID
{% if session.intune_device_id %} {{ session.intune_device_id }} {% else %}-{% endif %}
Started
{{ session.started_at or '-' }}
Last update
{{ session.last_updated or '-' }}
Stage
{{ session.stage_index or 0 }}/{{ session.stage_total or '?' }} {% if session.current_stage %} - {{ session.current_stage }}{% endif %}
{% if session.previous_run_at %}
Prior run
{{ session.previous_run_at }}
{% endif %} {% if session.error %}
Error
{{ session.error }}
{% endif %}
Stage timeline
{% if session.stage_history %} {% for h in session.stage_history %} {% endfor %}
TimeStageStatusDetail
{{ h.ts }} {{ h.stage_index }} {{ h.status }} {{ h.current_stage or '' }}
{% else %}
No stage transitions recorded yet. The client only logs a row when stage_index advances or status flips to succeeded/failed.
{% endif %}
Full log {% if full_log_truncated %} truncated (last 1 MB) {% endif %}
{% if full_log %}
{{ full_log }}
{% else %}
No log content. The client has not pushed any log_lines entries yet, or the sidecar file was cleared.
{% endif %}
{% if session.log_tail %}
Recent tail ({{ session.log_tail | length }} line{{ 's' if session.log_tail | length != 1 }})
{% for line in session.log_tail %}{{ line }}
{% endfor %}
{% endif %}
{% endblock %} {% block extra_scripts %} {% endblock %}