StealThis .dev
页面 困难

Hotel PMS — Room Rack / Tape Chart

Classic hotel tape chart — rooms on the Y axis, 14 days on the X axis. Coloured stays render as blocks across nights, with status (confirmed · in-house · checkout · maintenance) and click-to-inspect.

在 Lab 中打开
html css vanilla-js
目标: JS HTML

代码

Room Rack (Tape Chart)

The grid every front-desk uses to read the property at a glance. Rows = rooms (grouped by floor / type), columns = 14 nights starting today, cells = stays rendered as coloured blocks spanning multiple nights. Toolbar paginates ± weeks, filters by room type, and highlights today’s column. A detail strip below shows the selected stay’s guest, dates, rate plan and balance.

Vanilla JS — virtual rendering of a 14-day window, stay positioning via grid-column-span, click handlers to populate the detail strip. Same hotel design tokens as the dashboard.