StealThis .dev
ページ 難しい

Gym — Members Admin

A high-energy members admin console for a performance gym. A KPI header tracks active members, new signups, churn and MRR with mini sparklines, above a searchable, filterable and fully sortable members table with status pills, tier labels and lifetime value. Bulk-select rows to freeze, message or cancel in batch, page through results, and click any row to slide open a detail drawer with the member profile, plan and contact info. All vanilla JS.

Labで開く
html css vanilla-js
ターゲット: JS HTML

コード

Members Admin

A staff-facing console for running a gym’s membership base. The header surfaces four KPI cards — active members, new this month, churn rate and MRR — each with a trend badge and an inline SVG sparkline so the headline number lands with context. Below it, a search box, status filter chips (All / Active / Frozen / Trial / Lapsed) and a sortable data table list every member with their avatar, tier, status pill, join date, last visit and lifetime value.

Every column header is a sort toggle that flips between ascending and descending with a live caret, and the table re-renders instantly as you search or filter. Checkboxes drive a bulk-select flow: the header checkbox selects the current page, and once any row is checked a neon bulk-action bar appears to freeze, message or cancel the selection in one move. Results are paginated, with prev/next and numbered page buttons.

Clicking a row — or its view action — slides in a right-hand detail drawer showing the member’s profile, visit count, LTV, plan, assigned trainer and contact details, with quick message and freeze buttons. Row-level freeze, message and view actions, a CSV export and an add-member trigger all fire toast confirmations. Everything is plain HTML, CSS and vanilla JavaScript with no dependencies.

Illustrative UI only — names, members and metrics are fictional sample data.