StealThis .dev
Pages Medium

Auto — Customer & Vehicle Database

An admin customer and vehicle database for a repair shop, built as one self-contained page. A searchable table matches across names, plates, VINs and phone numbers with quick filters for VIP, open repair orders and overdue service. Clicking a row slides open a customer record showing lifetime spend, visit count, vehicle cards with VIN and odometer, a service-history timeline with diagnostic codes, and an inline note composer that writes back instantly.

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

Code

Customer & Vehicle Database

A service-advisor view of a shop’s customer book. The main panel is a searchable table where each row pairs a customer with their primary vehicle, last-visit recency, lifetime spend in tabular figures, and a status tag — VIP, open RO, service due, or active. A live search box matches across names, phone numbers, plates and full VINs, and a row of pill filters narrows the list to VIPs, open repair orders, or vehicles overdue for service.

Clicking any row slides in a customer record drawer over a dimmed scrim. The header carries the customer, contact details and a three-up stat block — lifetime spend, visit count, vehicle count — over the garage-black brand gradient. Below it, gradient-placeholder vehicle cards lay out plate, odometer, VIN, color and next-service date with up-to-date or service-due badges, followed by a service-history timeline whose line items show the RO number, vehicle, money totals and inline diagnostic codes such as P0303 or P0299.

Everything is self-contained vanilla HTML, CSS and JS — no frameworks, no build. Per-vehicle “View history” buttons focus the timeline and surface a count toast, an inline composer adds notes that pop into the record and bump the section badge, and the drawer is keyboard-usable with Escape-to-close and focus restoration. The layout collapses to a mobile-first single column under 520px and a small toast() helper confirms each action.

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