{% extends "base.html" %} {% block title %}Imaging Progress - PXE Server Manager{% endblock %} {% block extra_head %} {# Tile refresh is driven by SSE (/imaging/stream) with a polling fallback. #} {# Replacing the full-page reload preserves scroll, filter input, expanded #} {# tile state, and LAPS QR input text across refreshes. #} {% endblock %} {% block content %}

Imaging Progress

Live via SSE (15s polling fallback). Client pushes -> /imaging/status; log-inferred bays in yellow.
{{ sessions|length }}/{{ sessions|length }} {% if sessions %}
{% endif %}
{% if not sessions %}

No imaging sessions yet.

A PC being imaged will post status here, or appear automatically once it touches DHCP / TFTP / boot.wim.

{% endif %}
{% include "_imaging_tiles.html" %}
How to push status from an imaging client:
POST http://172.16.9.1:9009/imaging/status
Content-Type: application/json

{
  "serial": "4HBLF33",
  "mac": "e4:54:e8:dc:b1:f0",
  "hostname_target": "EDNMG3D4",
  "pctype": "gea-shopfloor-keyence",
  "machinenumber": "9999",
  "current_stage": "Run-ShopfloorSetup: 09-Setup-Keyence",
  "stage_index": 7,
  "stage_total": 9,
  "status": "in_progress",
  "log_lines": ["last few log lines from the stage"]
}
{% endblock %} {% block extra_scripts %} {% endblock %}