{% if not sessions %}
@@ -43,8 +49,10 @@ window.addEventListener('DOMContentLoaded', scheduleImagingReload);
4: ('Apps installed', 'Type-specific scripts complete. Preparing for Intune enrollment.'),
5: ('Enrolling in Intune', 'PPKG installing - device joining Azure AD + Intune. ~5-10 min, reboot to follow.'),
6: ('Waiting on first Intune sync','Post-PPKG settle (~120s). Triggering Schedule #3 sync repeatedly.'),
- 7: ('Registered - assign category','Device ID captured. Click "set category" to put bay in the right Intune group. Then wait for LAPS reboot.'),
- 8: ('Imaging complete', 'Lockdown applied. Bay rebooted into ShopFloor session. Ready for production.')
+ 7: ('Registered - awaiting category / lockdown',
+ 'Device ID captured. If category not yet set in Intune, click "set category". Once set, bay waits for the Intune-driven LAPS-prompt reboot to apply lockdown.'),
+ 8: ('Imaging complete',
+ 'Lockdown applied. Bay rebooted into ShopFloor session. Ready for production.')
} %}
{% for s in sessions %}
@@ -55,64 +63,57 @@ window.addEventListener('DOMContentLoaded', scheduleImagingReload);
{% set is_done = s.status == 'succeeded' %}
{% set border = 'danger' if is_failed else ('success' if is_done else 'primary') %}
{% set friendly = stage_labels.get(stage_idx, ('Stage ' ~ stage_idx, '')) %}
-
-
-
+
+
+
{% if s.intune_device_id %}
-
{% else %}
-
- waiting for Intune Device ID
+
+ no DeviceId
{% endif %}
-
-
{{ s.serial or '(no serial)' }}
- {% if s.hostname_target %}{{ s.hostname_target }}{% endif %}
+
+ {{ s.serial or '(no serial)' }}
+ {% if s.hostname_target %}{{ s.hostname_target }}{% endif %}
{% if s.pctype %}{{ s.pctype }}{% endif %}
{% if s.machinenumber %}#{{ s.machinenumber }}{% endif %}
{{ s.status or 'in_progress' }}