StealThis .dev

Auto — Quote Approval

A customer-facing digital quote approval and sign-off screen for an auto shop, pairing a vehicle card with an itemized repair quote split into labor, parts and shop supplies. Each line carries approve and decline controls, bulk approve-all and decline-all actions, and a live authorized total that recomputes tax as decisions change. A working canvas signature pad plus a printed name unlock an authorize button that stamps the total, locks the controls and confirms with a toast.

Open in Lab
html css vanilla-js
Targets: JS HTML

Code

Quote Approval

A single-screen digital sign-off for Cascade Auto & Diesel, led by a vehicle card that pairs a gradient photo placeholder with the VIN, plate, odometer, bay number and assigned advisor for a 2018 Subaru Outback. Below it, the itemized quote lists four jobs — a P0301 misfire repair, front brakes, filters and a coolant flush — each split into labor hours, parts and shop supplies, and tagged as a diagnostic code, recommended or optional.

Every line is interactive. Approve and decline buttons toggle each item’s state (and toggle back to pending on a second click), flipping the line’s accent border, status pill and the running approved / declined / pending counts. Approve-all and decline-all apply a decision to every row at once. The sticky summary panel recomputes approved labor, approved parts and shop, an 8.6% tax and the authorized total live, with a progress meter tracking how many of the four lines are decided.

A canvas signature pad captures a real pointer- and touch-drawn signature, with a clear button and a printed-name field. The authorize button stays disabled until at least one line is approved, the pad has ink and a name is entered; on submit it stamps the authorized total onto the button, locks every control and confirms with a toast.

Illustrative UI only — fictional shop/dealership, not a real service system.