3 Commits

Author SHA1 Message Date
25b6843e87 Add admin tool for bulk GIF regeneration via web UI
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
2026-01-18 18:33:59 +01:00
22fb4b9b20 Add Help page with markdown support and routing 2026-01-18 15:52:46 +01:00
65d117cf16 UI improvements: update favicon, reorder WordCard buttons, style logo, and refine color scheme
- 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
2026-01-17 18:24:37 +01:00