loreal-video-optimizer/frontend
DJP 300a67d247 Add Reset to Factory Defaults button with double confirmation
Features:
- Renamed "Reload from Server" to "Refresh Display" for clarity
- Added "Reset to Factory Defaults" button with warning icon
- Red danger button styling (matches warning theme)
- Double confirmation dialog to prevent accidental resets
- Backend endpoint to restore original 8 platforms (21 configurations)
- Deletes custom platform_specs.json file
- Restores L'Oréal documentation specifications

Functionality:
- "Refresh Display" - Reloads current specs from backend (no changes)
- "Reset to Factory Defaults" - Deletes ALL custom platforms and restores original 21 configs
- Custom platforms are saved until factory reset is triggered
- Factory defaults stored at server startup for restoration

Safety features:
- Two confirmation dialogs
- Clear warning messages
- Success feedback showing platform count restored

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-16 18:40:59 -04:00
..
admin.css Add Reset to Factory Defaults button with double confirmation 2025-10-16 18:40:59 -04:00
admin.html Add Reset to Factory Defaults button with double confirmation 2025-10-16 18:40:59 -04:00
admin.js Add Reset to Factory Defaults button with double confirmation 2025-10-16 18:40:59 -04:00
app.js Add red warning and outline for aspect ratio changes on comparison page 2025-10-16 17:11:46 -04:00
config.js Initial commit: Video Optimizer for L'Oréal 2025-10-16 16:52:11 -04:00
index.html Add comprehensive Admin Panel for platform management 2025-10-16 18:34:12 -04:00
style.css Add red warning and outline for aspect ratio changes on comparison page 2025-10-16 17:11:46 -04:00