Created a simple HTML page that allows admins to regenerate all GIF
previews directly from the browser without needing terminal access.
Features:
- Clean, user-friendly interface with warnings and instructions
- Calls POST /api/terms/regenerate-all-gifs endpoint
- Shows progress spinner during processing
- Displays detailed results: total, success, failed counts
- Shows error messages if any videos failed to process
- Requires admin authentication (uses session cookies)
- Responsive design with proper error handling
Usage:
1. Deploy the new Docker image to production
2. Login as admin on the website
3. Navigate to: https://znakovni.matijaturk.from.hr/regenerate-gifs.html
4. Click 'Start GIF Regeneration' button
5. Wait for completion (may take several minutes)
6. Refresh dictionary page to see GIF previews
This solves the production deployment issue where GIF files generated
locally don't match production video filenames (different UUIDs).
Co-Authored-By: Auggie
- Add custom favicon.ico to replace default Vite icon
- Reorder WordCard action buttons (Dodaj on left, Info on right)
- Add white circular background to sidebar logo for better visibility
- Update CSS color variables to use proper indigo color scheme with HSL values