From ca647cb690b84cfc234a5722fe9a5bddc3ea2967 Mon Sep 17 00:00:00 2001 From: cproudlock Date: Thu, 14 May 2026 20:11:58 -0400 Subject: [PATCH] imaging: redesign tile + LAPS persist + 15s refresh Tile redesign: - QR (or placeholder if not yet captured) on the left as a fixed 160px block - Right side: header (serial / hostname / pctype / machinenumber / status) then stage label as a big h4 with stage badge + % on the same row, then full-width progress bar, then friendly stage hint - Intune device id row with copy + set-category buttons consolidated under the progress section - Footer one-liner: started / last / MAC / raw current_stage (small grey) - LAPS QR + log tail still expandable below - shadow-sm for visual lift, no card-header line splitting LAPS persist: POST password to /imaging//laps so it survives the dashboard refresh. Auto-renders QR on page load if the session already has a stored password. Clear button POSTs empty string to wipe server-side. No more 60s auto-clear - stays until cleared (or daily server reset). Refresh: 5s -> 15s. Reduces polling jitter + gives the eye time to read before page flickers. Co-Authored-By: Claude Opus 4.7 (1M context) --- webapp/templates/imaging.html | 164 +++++++++++++++++++--------------- 1 file changed, 91 insertions(+), 73 deletions(-) diff --git a/webapp/templates/imaging.html b/webapp/templates/imaging.html index abd591b..aedd46c 100644 --- a/webapp/templates/imaging.html +++ b/webapp/templates/imaging.html @@ -7,7 +7,7 @@ {# state every cycle). #} {% endblock %}