StealThis .dev

Hotel Maintenance Tickets

A centered maintenance ticket queue widget listing open issues by room, type (AC, plumbing, TV, lock), priority, age, assignee, and status. Interactive: submit a new ticket via a mini-form, cycle status through Open → In Progress → Resolved, filter by priority, and watch the open-count badge update live.

在 Lab 開啟
html css vanilla-js
目標: JS HTML

程式碼

Hotel Maintenance Tickets

A self-contained maintenance ticket queue widget for Aurelia Hotels, displayed as a centered card on a neutral background. The list shows each ticket’s room number, issue category (AC, Plumbing, TV, Lock, Elevator), priority badge, age in hours, assigned engineer, and current status. A mini new-ticket form at the top lets staff prepend a fresh ticket; clicking the status pill cycles it through Open → In Progress → Resolved with matching colour changes. A priority filter and live open-count badge keep the supervisor view at a glance.