From add310e4e97ca0059247396d1b8e1cbd2a50b413 Mon Sep 17 00:00:00 2001 From: cproudlock Date: Thu, 27 Aug 2026 10:20:03 -0400 Subject: [PATCH] USB kiosk: drive lists in two columns, in the order the labels read The kiosk was a single column of full-width rows top-aligned on the page, so a cabinet of a dozen drives meant scrolling a wall panel, and the page itself scrolled - which takes the "Your drives" heading off screen and leaves somebody looking at a list with no idea whose drives they are. The lists now sit in a grid that fills the width and scroll INSIDE themselves against a bounded height, with the panel centred as one block the way the parts kiosk beside it already is. Two kiosks on the same floor that sit differently on their screens read as two different products. Drive ids sorted as text, which puts USB-10 ahead of USB-3. Compared with a numeric collator so the list runs in the order the labels on the drives read. --- plugins/usb/frontend/views/USBKiosk.vue | 142 +++++++++++++++++++----- 1 file changed, 115 insertions(+), 27 deletions(-) diff --git a/plugins/usb/frontend/views/USBKiosk.vue b/plugins/usb/frontend/views/USBKiosk.vue index d76a76ae..0b371784 100644 --- a/plugins/usb/frontend/views/USBKiosk.vue +++ b/plugins/usb/frontend/views/USBKiosk.vue @@ -42,8 +42,9 @@

{{ session.name }}

-
+

Your drives

+
+
@@ -60,6 +62,7 @@

No drives are free right now.

+
+