How medissaoui711/salon-dashboard-clean works
Salon Dashboard is a bilingual, offline-first salon management web app made of standalone HTML pages, with no backend. The principal workflow is PIN login into the dashboard, where staff manage sales, expenses, employees, payroll, and store costs; dashboard data supports analytics and report exports. A separate admin page manages PINs and settings. The README documents IndexedDB with localStorage fallback and offline operation; the sampled service worker caches app pages and optional CDN assets. Most page implementations were not sampled, so feature relationships below rely on README statements rather than inspected page code.
Main entry points: index.html Dashboard · sw.js Service worker · admin.html Admin panel · login.html PIN login
Components 17
Access and administration
- PIN login
public/login.html - Admin panel
public/admin.html - Support page
public/support.html - FAQ page
public/faq.html - Privacy page
public/privacy.html
Salon operations
- Dashboard
public/index.html - Employee profiles
public/index.html - Sales and expenses
public/index.html - Payroll
public/index.html - Store costs
public/index.html
Analytics and reporting
- Dashboard analytics
public/index.html - Report exports
public/index.html - WhatsApp sharing
public/index.html
Offline and persistence
- Browser storage
- Service worker
public/sw.js
Other components
- Salon staff
- Browser
Connections 22
- Salon staff → PIN login: opens
README.md - PIN login → Dashboard: admits session
README.md - Salon staff → Admin panel: opens admin
README.md - Admin panel → PIN login: manages PINs
README.md - Admin panel → Dashboard: manages settings
README.md - Salon staff → Dashboard: uses
README.md - Dashboard → Employee profiles: manages
README.md - Dashboard → Sales and expenses: records
README.md - Dashboard → Payroll: calculates
README.md - Dashboard → Store costs: edits
README.md - Dashboard → Dashboard analytics: shows
README.md - Dashboard → Report exports: exports reports
README.md - Dashboard → WhatsApp sharing: shares report
README.md - Dashboard → Browser storage: persists changes
README.md - Browser → Service worker: dispatches requests
public/sw.js - Service worker → Browser storage: caches assets
public/sw.js - Service worker → PIN login: caches page
public/sw.js - Service worker → Dashboard: caches page
public/sw.js - Service worker → Admin panel: caches page
public/sw.js - Salon staff → Support page: opens
README.md - Salon staff → FAQ page: opens
README.md - Salon staff → Privacy page: opens
README.md