Documentation
Crew — Employee Management Dashboard
Version 1.0.0 · Vanilla HTML · 11 files · 60 KB
Getting started
- Unzip the download and open index.html in a browser. No server, installation or build step is needed.
- Edit the text directly in the HTML files.
- Change colours, fonts and spacing through the CSS custom properties at the top of assets/css/style.css.
- Replace the artwork in assets/images/ with your own images.
- Upload the whole folder to any static host.
File structure
The download contains these 11 files:
- LICENSE.txt1.7 KB
- README.md2.7 KB
- assets/css/style.css26 KB
- assets/fonts/urbanist-LICENSE.txt4.4 KB
- assets/fonts/urbanist-latin-wght-normal.woff227 KB
- assets/images/favicon.svg436 B
- assets/js/main.js29 KB
- documentation/index.html13 KB
- documentation/licenses/lucide-LICENSE.txt3.1 KB
- employees.html9.5 KB
- index.html13 KB
Colours
These custom properties are defined at the top of the stylesheet. Change a value once and it updates everywhere it is used.
--canvas#fff8f1--card#ffffff--cream#fdeedd--ink#1d2b2a--ink-soft#46544f--ink-mute#5d6b66--line#f0e2d3--teal#0d9488--teal-deep#0f766e--teal-night#134e4a--teal-wash#d5f5ef--orange#fb923c--orange-deep#c2410c--orange-wash#ffe6d0--sun#fde68a--sun-ink#5b4300--danger-wash#fde2dc--danger-ink#a12a14
Interactive features
Leave approvals
Requests live in the REQUESTS array in assets/js/main.js. The click handler in initLeave() changes a request's status; replace that block with a call to your API and re-render with renderLeave().
Attendance heat-map
Values come from heatValue(). Swap it for real percentages per department and day; thresholds for the five colours are in heatLevel() and the colours are the .l1 to .l5 rules in style.css.
Department donut
Edit the DEPARTMENTS array (name, headcount, colour). The donut slices, legend list and percentages are drawn from it. Click a legend row to pin its slice.
Directory filters and sorting
People are rows in the RAW array. Search matches name, role, location and department; sort keys are the data-sort attributes on the table headers.
Profile dialog
openProfile() fills the dialog from a person record. Add fields to the facts array there to show more details.
Customisation notes
Change today's date
TODAY at the top of main.js sets the greeting date, the heat-map's last day and the window for upcoming birthdays and anniversaries. Use new Date() on a live site.
Rail navigation
The rail is a sticky top bar on phones and a floating rounded column from 1000px. Add a link inside the nav element with the rail__link class and an inline icon.
Heat-map colours
Low values use tangerine and high values use teal so the map reads at a glance. Keep dark text on the lighter levels to preserve contrast.
Demo data
All names, emails and phone numbers are fictional (example.com addresses, reserved phone ranges). Replace the arrays at the top of main.js with your own data source.
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.
- People, departments, attendance numbers and leave requests are demo data in JavaScript arrays; decisions and filters reset when the page reloads.
- The search and filter controls work in the browser only and send nothing anywhere; the profile email button opens a mailto link to an example address.
Bundled components and licences
Everything the template needs is inside the download; nothing is loaded from the network.
- Urbanist typeface — OFL-1.1 (
assets/fonts/urbanist-LICENSE.txt) - Lucide icons (inlined SVG) — ISC (
documentation/licenses/lucide-LICENSE.txt)
Changelog
Version 1.0.0 · Nov 23, 2026
- Initial release.