FleetTrack — Fleet Management Dashboard HTML Template
# FleetTrack — Fleet Management Dashboard HTML Template
## Price
$11
## Version
1.0.0
## Short description
A complete fleet management dashboard in pure HTML, CSS and vanilla JavaScript. Dark glass design with a cyan accent, a live dispatch board with per-vehicle ETAs, a fuel-cost-per-km calculator, the full trip lifecycle (Scheduled → In progress → Completed, plus Cancelled), 24 vehicles, 22 drivers, 8 routes, maintenance scheduling, a full cost-per-km breakdown and 6-month reports — with zero external requests and no backend needed.
## Features
- 12 ready pages: Dashboard, Vehicles, Drivers, Dispatch, Routes, Trips, Fuel, Maintenance, Expenses, Reports, Alerts, Settings
- Live dispatch board: 4 trips on the road with progress bars, stop diagrams and a per-vehicle ETA — "Advance" buttons move a trip forward, shorten the ETA and tick the stops counter, and mark the trip Delivered at 100%; new-dispatch form offers only the idle vehicles
- Fuel-cost-per-km calculator: enter distance, litres and price per litre and see total fuel cost, cost per km and litres per 100 km recompute live ($31,744.50 ÷ 84,650 km = $0.38 per km, 25.0 L per 100 km)
- Trips with the Scheduled → In progress → Completed lifecycle, plus Cancelled — status filters, live search, Mark complete and Cancel buttons that recompute the completed count, distance, fuel cost and completion rate LIVE (cancelled trips are excluded from every total)
- Vehicles: 24 vehicles (17 active, 4 in maintenance, 3 idle) with status filters, live search and per-vehicle fuel efficiency; Drivers: 22 drivers with November trip counts, ratings and status filters; Routes: 8 routes with stop diagrams, trips and on-time rates (94.2% overall)
- Maintenance: 4 workshop jobs with costs and progress, 6 upcoming services, cost per vehicle ($350.83/month), Mark done buttons; Expenses: 5 cost categories totalling $92,444.50 with a full cost-per-km breakdown ($1.09 total), net $36,515.50 and 28.3% margin
- Reports: 6-month table (revenue $698,460.00, cost $508,594.50, net $189,865.50), full November reconciliation and revenue by route; Alerts: acknowledge buttons that drop the active count and sidebar badge; Settings: fleet profile, cost targets, alert rules, appearance
- Every figure explained in plain words on the page where it appears — fuel cost vs total cost, active vs in-maintenance vs idle vehicles, completed vs cancelled trips, what's included and what's not
- Dark glass design with cyan accent (#22D3EE) and blue highlights; glassmorphism panels, gradient orbs, glow on hover, flat lift (no 3D tilt anywhere)
- Light + dark mode, remembered on the device
- Hand-written SVG charts (line, bar, donut, sparklines) — no chart library
- Fully responsive: sidebar collapses on tablet, grids stack on mobile
- Zero external requests: system fonts only, inline SVG icons, no CDN, no Google Fonts, no third-party images
## How the numbers work (plain words)
- **Fuel cost per km = fuel cost ÷ distance.** November: $31,744.50 ÷ 84,650 km = $0.375 per km, shown as $0.38. **Consumption = litres ÷ distance × 100** = 21,163 ÷ 84,650 × 100 = 25.0 litres per 100 km.
- **Fuel cost is NOT the total cost per km.** Total cost per km is $1.09 ($92,444.50 ÷ 84,650 km): fuel $0.38 + driver wages $0.55 + maintenance $0.10 + tolls $0.04 + insurance $0.03. Fuel alone never tells the whole story.
- **Active** means a vehicle is on the road right now — 17 of 24. The 4 vehicles **in maintenance** are in the workshop and cannot be dispatched. The 3 **idle** vehicles are road-ready and parked at the depot — idle means available, not broken. **Utilisation = 17 ÷ 24 = 70.8%.**
- **Trips: 325 scheduled, 312 completed, 9 cancelled, 4 in progress.** **Completion rate = completed ÷ scheduled** = 312 ÷ 325 = 96.0%. A trip only counts as completed once it reaches 100% — the 4 trips on the road right now are not in the monthly distance, fuel or revenue yet.
- **Cancelled trips are excluded from everything** — distance, fuel and revenue. A cancelled trip drove 0 km, cost $0.00 in fuel and earned $0. The 9 cancelled trips are 2.8% of the 325 scheduled.
- **Net = revenue − total cost** ($128,960.00 − $92,444.50 = $36,515.50). **Margin = net ÷ revenue** = 28.3%. **Revenue per km** is $1.52 ($128,960.00 ÷ 84,650 km) and **net per km** is $0.43.
- **Total cost = fuel + wages + maintenance + tolls + insurance** = $31,744.50 + $46,200.00 + $8,420.00 + $3,180.00 + $2,900.00 = $92,444.50. Driver wages are the biggest cost (50.0%) — they are paid per trip plus a monthly base, so the 9 cancelled trips saved nothing on wages but earned no revenue either.
- **Maintenance total ($8,420.00)** = workshop repairs $7,280.00 (4 jobs: brakes $1,240.00, engine $3,150.00, tyres $860.00, transmission $2,030.00) + routine services $1,140.00. **Cost per vehicle = $8,420.00 ÷ 24 = $350.83 per month**, counting all 24 vehicles including ones that needed no work.
- **The counts reconcile across pages:** the 22 drivers' November trip counts add up to 312, the 8 routes' trip counts add up to 312, and the 6 monthly revenue figures add up to $698,460.00.
- **Alerts:** acknowledging an alert only says someone has seen it — it does not fix the problem. Resolved alerts are history and do not count in the 5 active alerts. **ETA is an estimate, not a promise** — traffic can move it.
## What's included
- template/ — 12 HTML pages + assets/css/style.css + assets/js/app.js + assets/js/charts.js
- documentation/ — offline HTML documentation (setup, pages, trips, dispatch, fuel, charts, customisation, how the numbers work)
- README.txt, CHANGELOG.md, licensing/README.txt
- All demo data is fictional (fleet "Northgate Logistics", fictional vehicles, drivers, routes and trips)
## Honest limits
- Static front-end demo: there is no backend, no database and no live GPS tracking — trips, statuses, fuel figures and alerts live only in the browser until you connect your own backend.
- The dispatch "Advance", mark-complete, cancel, acknowledge and mark-done buttons are demos; no real vehicle moves and nothing is saved to a server.
- ETAs are estimates from the demo route data, not live GPS positions.
- Charts are hand-written SVG from the demo data in each page, not a live analytics feed.
- The theme toggle is stored per device (localStorage); it is not synced across devices.
## Tags
fleet management template, fleet dashboard, logistics dashboard, vehicle tracking template, dispatch dashboard, fuel tracking, fleet admin, transport management, delivery dashboard, truck fleet template, admin template