Skip to content
HTML Templates For Developers

Documentation

Roster — User Management Dashboard

Version 1.0.0 · Vanilla HTML · 11 files · 69 KB

Back to the template

Getting started

  1. Unzip the download and open index.html in a browser. No server, installation or build step is needed.
  2. Edit the text directly in the HTML files.
  3. Change colours, fonts and spacing through the CSS custom properties at the top of assets/css/style.css.
  4. Replace the artwork in assets/images/ with your own images.
  5. Upload the whole folder to any static host.

File structure

The download contains these 11 files:

  • LICENSE.txt1.3 KB
  • README.md2.7 KB
  • assets/css/style.css19 KB
  • assets/fonts/figtree-LICENSE.txt4.4 KB
  • assets/fonts/figtree-latin-wght-italic.woff220 KB
  • assets/fonts/figtree-latin-wght-normal.woff220 KB
  • assets/images/favicon.svg378 B
  • assets/js/main.js27 KB
  • documentation/index.html13 KB
  • documentation/licenses/lucide-LICENSE.txt3.1 KB
  • index.html11 KB

Colours

These custom properties are defined at the top of the stylesheet. Change a value once and it updates everywhere it is used.

  • --bg#fafafa
  • --surface#ffffff
  • --surface-2#f4f4f5
  • --line#e4e4e7
  • --line-2#d4d4d8
  • --text#18181b
  • --text-2#3f3f46
  • --muted#62626b
  • --primary#2563eb
  • --primary-hover#1d4ed8
  • --primary-ink#1d4ed8
  • --primary-soft#eff6ff
  • --danger#b91c1c
  • --danger-soft#fef2f2
  • --success#15803d
  • --role-owner#6d28d9
  • --role-owner-bg#f3e8ff
  • --role-admin#1d4ed8

Interactive features

Members data

Edit the RAW lines in assets/js/main.js (name, role, status, department, hours since last seen, joined date, city, two-factor flag). Roles, departments and statuses are the ROLES, DEPARTMENTS and STATUSES arrays near the top.

Filters and sorting

State lives in one object, state, in main.js. Add a sortable column by adding a button with data-sort in the table header and a matching function in the ORDER map.

Bulk actions

applyBulk() handles suspend, activate and remove for the selected ids and skips the owner. Replace the in-memory changes with API calls there.

Invite dialog

The submit handler in initInvite() validates the email, checks duplicates and the seat limit (SEAT_LIMIT), then adds an Invited member. Replace the USERS.push call with a request to your backend.

Detail drawer

fillDrawer() renders the facts, role selector and activity log from the member record. logFor() builds the demo activity; swap it for real events.

Customisation notes

Role colours

Each role has an ink and a background token (for example --role-admin and --role-admin-bg) in :root, applied by the .role--name classes. Add a role by adding both tokens, a class and an entry in ROLES and ROLE_INFO.

Seat limit

Set SEAT_LIMIT at the top of assets/js/main.js. Suspended members do not count toward the limit; inviting beyond it shows an error.

Columns on small screens

The department and last-active columns are hidden below 768px and 1100px (.c-dept, .c-seen). Remove those rules to keep every column and rely on horizontal scrolling.

Accent colour

Change --primary, --primary-hover, --primary-ink and --primary-soft in :root.

What is front-end only

This is a front-end template. The behaviours below are demonstrations that run in the browser; connect them to your own server or service before relying on them.

  • All members are fictional and live in a JavaScript array; changes are lost when the page reloads.
  • The invite dialog validates and adds a member to the table but sends no email. Resend invite, suspend and remove only change the in-memory data.

Bundled components and licences

Everything the template needs is inside the download; nothing is loaded from the network.

  • Figtree typeface — OFL-1.1 (assets/fonts/figtree-LICENSE.txt)
  • Lucide icons (inlined SVG) — ISC (documentation/licenses/lucide-LICENSE.txt)

Changelog

Version 1.0.0 · Nov 23, 2026

  • Initial release.