From c7f103626e730471692be15a44ac616ae00bda75 Mon Sep 17 00:00:00 2001 From: Yang Cao Date: Wed, 21 Oct 2026 03:20:44 +0000 Subject: [PATCH 1/2] ui: narrower submission form, larger preview, standard-holder picker placeholder The form column is about 20% narrower so the checklist reads on one line per check; the preview grows to 220 px. A disabled "Or print a standard holder" dropdown sits under the file input, empty until a catalog of lab holders is defined. Co-Authored-By: Claude Opus 5.5 --- src/bambu_server/static/index.html | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/bambu_server/static/index.html b/src/bambu_server/static/index.html index fee46dd..f496334 100644 --- a/src/bambu_server/static/index.html +++ b/src/bambu_server/static/index.html @@ -74,11 +74,11 @@ .machine-grid .specs { margin-top: 0; } .machine-grid .camera-frame { max-width: 480px; } /* Submission: the form and a file preview on the left, the checklist on the right. */ - .submit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px; align-items: start; } + .submit-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.45fr); gap: 20px; align-items: start; } @media (max-width: 760px) { .submit-grid { grid-template-columns: 1fr; } } .submit-form { display: grid; gap: 12px; } .submit-form [hidden] { display: none; } - .preview { width: 100%; max-width: 180px; aspect-ratio: 1; background: var(--chip); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; } + .preview { width: 100%; max-width: 220px; aspect-ratio: 1; background: var(--chip); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; } .preview img { width: 100%; height: 100%; object-fit: contain; display: block; } .preview-empty { color: var(--muted); font-size: 13px; text-align: center; padding: 12px; } tr.pending td { color: var(--muted); } @@ -137,6 +137,14 @@

Submission

+
+ + + +
From 6fd9e5503c04ef9ee8950ce5fd6dc7a7b3e78301 Mon Sep 17 00:00:00 2001 From: Yang Cao Date: Wed, 21 Oct 2026 03:24:17 +0000 Subject: [PATCH 2/2] ui: redirect a standalone visit before anything is drawn The redirect to the dashboard ran in the page's main script, after the page had painted in the OS colour scheme, so it flashed dark for a moment. It now runs first in , before any style or theme. Co-Authored-By: Claude Opus 5.5 --- src/bambu_server/static/index.html | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/src/bambu_server/static/index.html b/src/bambu_server/static/index.html index f496334..8b206c5 100644 --- a/src/bambu_server/static/index.html +++ b/src/bambu_server/static/index.html @@ -4,6 +4,17 @@ Submit a print — AC Bambu Gateway +