imaging: LAPS input always visible, not gated on intune_device_id

Was hiding LAPS QR section until idx=7 pushed with a DeviceId.
Operator couldn't paste a password if Monitor hadn't gotten around
to capturing the DeviceId yet. The QR encoding doesn't depend on
DeviceId - it's just the password being encoded - so the section is
useful any time the bay is past the LAPS reboot.

Drop the {% if s.intune_device_id %} gate. LAPS section now appears
in every expanded tile.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
cproudlock
2026-05-15 07:30:48 -04:00
parent 036090348c
commit 8debc4ddb3

View File

@@ -137,7 +137,6 @@ window.addEventListener('DOMContentLoaded', scheduleImagingReload);
</div> </div>
{% endif %} {% endif %}
{% if s.intune_device_id %}
<div class="mt-3 laps-card" data-serial="{{ s.serial }}"> <div class="mt-3 laps-card" data-serial="{{ s.serial }}">
<div class="text-muted small mb-1">LAPS password QR (paste -> scan on bay - persists until cleared)</div> <div class="text-muted small mb-1">LAPS password QR (paste -> scan on bay - persists until cleared)</div>
<div class="d-flex align-items-center gap-2"> <div class="d-flex align-items-center gap-2">
@@ -152,7 +151,6 @@ window.addEventListener('DOMContentLoaded', scheduleImagingReload);
</div> </div>
<div class="laps-qr-container mt-2"></div> <div class="laps-qr-container mt-2"></div>
</div> </div>
{% endif %}
{% if s.log_tail %} {% if s.log_tail %}
<details class="mt-3"> <details class="mt-3">