# Admin Panel - Quick Reference Guide **Version:** 1.0 **Last Updated:** 2025-01-15 --- ## πŸš€ Quick Access ### Admin Panel URL ``` http://your-site.com/admin ``` ### Login Credentials - **Role Required:** Admin - **URL:** `/login` - **Auto-redirect:** Yes (to dashboard after login) --- ## πŸ“‹ All Admin Pages Quick Links ### Core Management | Page | URL | Purpose | |------|-----|---------| | πŸ“Š Dashboard | `/admin` | Overview & quick stats | | πŸ“ˆ Analytics | `/admin/analytika` | Visitor statistics (Umami) | | πŸ“ Articles | `/admin/clanky` | Blog posts & news | | πŸ“– About | `/admin/o-klubu` | Club information page | | πŸŽ₯ Videos | `/admin/videa` | YouTube video management | | πŸ–ΌοΈ Gallery | `/admin/galerie` | Zonerama photo albums | | πŸ‘• Clothing | `/admin/obleceni` | Merchandise products | ### Sports Management | Page | URL | Purpose | |------|-----|---------| | πŸ‘₯ Teams | `/admin/tymy` | Team management | | ⚽ Matches | `/admin/zapasy` | Match schedule & results | | πŸƒ Players | `/admin/hraci` | Player roster & stats | | πŸ“… Activities | `/admin/aktivity` | Events & calendar | | πŸ“Š Scoreboard | `/admin/scoreboard` | Live match scoreboard | | πŸ“± Scoreboard Remote | `/admin/scoreboard/remote` | Mobile control | ### Content & Media | Page | URL | Purpose | |------|-----|---------| | 🏷️ Categories | `/admin/kategorie` | Article categories | | 🀝 Sponsors | `/admin/sponzori` | Sponsor logos & links | | πŸ“’ Banners | `/admin/bannery` | Advertisement banners | | πŸ’¬ Messages | `/admin/zpravy` | Contact form inbox | | πŸ“ Files | `/admin/soubory` | File manager | ### Communication | Page | URL | Purpose | |------|-----|---------| | πŸ“§ Newsletter | `/admin/newsletter` | Email campaigns & subscribers | | πŸ“ Contacts | `/admin/kontakty` | Contact categories | | πŸ“Š Polls | `/admin/ankety` | Voting polls | ### Configuration | Page | URL | Purpose | |------|-----|---------| | βš™οΈ Settings | `/admin/nastaveni` | Site configuration | | 🧭 Navigation | `/admin/navigace` | Menu management | | πŸ† Competition Aliases | `/admin/aliasy-soutezi` | FACR competition mapping | | πŸ”„ Prefetch | `/admin/prefetch` | Cache management | | πŸ‘€ Users | `/admin/uzivatele` | User accounts | | πŸ“š Documentation | `/admin/docs` | Built-in help guide | --- ## 🎯 Common Tasks ### 1. Create New Article ``` 1. Go to /admin/clanky 2. Click "+ NovΓ½ člΓ‘nek" 3. Fill in title, content, category 4. Upload featured image 5. Click "UloΕΎit" ``` ### 2. Add New Match ``` 1. Go to /admin/zapasy 2. Click "+ PΕ™idat zΓ‘pas" 3. Search for teams (FACR integration) 4. Set date, time, venue 5. Save ``` ### 3. Manage Players ``` 1. Go to /admin/hraci 2. Click "+ PΕ™idat hrÑče" 3. Upload photo (auto-compressed) 4. Enter name, position, number 5. Save ``` ### 4. Update Site Settings ``` 1. Go to /admin/nastaveni 2. Modify club info, colors, logos 3. Configure integrations 4. Click "UloΕΎit nastavenΓ­" ``` ### 5. Control Live Scoreboard ``` 1. Go to /admin/scoreboard 2. Link to a match 3. Update scores in real-time 4. Changes reflect on homepage ``` ### 6. Send Newsletter ``` 1. Go to /admin/newsletter 2. Choose campaign type 3. Write content or use template 4. Click "Odeslat" ``` --- ## πŸ”‘ Keyboard Shortcuts ### Global - `Ctrl + S` - Save form (where applicable) - `Esc` - Close modal/dialog - `Ctrl + K` - Search (if enabled) ### Navigation - Click sidebar items to navigate - Use browser back/forward --- ## πŸ’‘ Tips & Best Practices ### Content Management - βœ… Always add featured images to articles - βœ… Use categories for better organization - βœ… Preview before publishing - βœ… Use SEO-friendly slugs ### Match Management - βœ… Link matches to scoreboard for live updates - βœ… Use FACR search for official team data - βœ… Set accurate date/time for automatic countdown ### Media - βœ… Images are auto-compressed (no manual resize needed) - βœ… Use YouTube URLs for videos (not uploads) - βœ… Keep sponsor logos high-quality PNG ### Performance - βœ… Use prefetch to warm cache - βœ… Check analytics regularly - βœ… Clear old newsletters periodically ### Security - βœ… Use strong passwords - βœ… Logout after admin session - βœ… Don't share admin credentials --- ## πŸ†˜ Troubleshooting ### Can't Login? - Check username/password - Verify you have admin role - Try password reset link - Contact system administrator ### Changes Not Visible? - Check if item is marked as "visible" - Verify publication status - Clear browser cache - Wait for prefetch cycle (30 min) ### Upload Failed? - Check file size (max varies per type) - Verify file format (jpg, png for images) - Check internet connection - Try smaller file ### Integration Not Working? - Check API keys in Settings - Verify external service status - Check CORS configuration - Review browser console errors ### Page Loading Slowly? - Check analytics data size - Clear cache via Prefetch page - Optimize images before upload - Contact developer for optimization --- ## πŸ“Š Feature Matrix | Feature | Articles | Matches | Players | Activities | |---------|----------|---------|---------|------------| | Create | βœ… | βœ… | βœ… | βœ… | | Edit | βœ… | βœ… | βœ… | βœ… | | Delete | βœ… | βœ… | βœ… | βœ… | | Bulk Actions | βœ… | ❌ | ❌ | ❌ | | Search | βœ… | βœ… | βœ… | βœ… | | Filter | βœ… | βœ… | βœ… | βœ… | | Image Upload | βœ… | βœ… | βœ… | βœ… | | Rich Editor | βœ… | ❌ | ❌ | βœ… | | Categories | βœ… | ❌ | ❌ | ❌ | | Visibility Toggle | βœ… | ❌ | ❌ | βœ… | | AI Generation | ❌ | ❌ | ❌ | βœ… | --- ## πŸ”Œ External Integrations ### FACR (Czech FA) - **Pages:** Matches, Competition Aliases, Standings - **Purpose:** Official match data, league tables - **Setup:** Automatic (no config needed) ### YouTube - **Pages:** Videos, Activities - **Purpose:** Video embedding - **Setup:** Just paste YouTube URL ### Umami Analytics - **Pages:** Analytics, Settings - **Purpose:** Visitor tracking - **Setup:** Set UMAMI_WEBSITE_ID in Settings ### OpenAI - **Pages:** Activities - **Purpose:** AI content generation - **Setup:** Set OPENAI_API_KEY in backend .env ### Zonerama - **Pages:** Gallery - **Purpose:** Photo albums - **Setup:** Enter API key in Settings ### Google Maps - **Pages:** Settings, Activities - **Purpose:** Location maps - **Setup:** Configure in Settings --- ## πŸ“± Mobile Access The admin panel is **fully responsive** and works on: - βœ… Desktop (recommended) - βœ… Tablet (iPad, Android tablets) - βœ… Mobile (smartphones) **Note:** Some complex pages (Analytics, Scoreboard) are optimized for desktop. --- ## 🎨 Customization ### Site Appearance 1. Go to `/admin/nastaveni` 2. Configure: - Club name & logo - Primary/accent colors - Font pairings - Hero style - Sponsor layout ### Navigation Menu 1. Go to `/admin/navigace` 2. Add/edit/reorder menu items 3. Configure social media links 4. Set visibility ### Layout 1. Use MyUIbrix Editor (link in sidebar) 2. Visual drag-and-drop customization 3. Choose element variants 4. Save and publish --- ## πŸ“ˆ Analytics Dashboard ### Metrics Available: - **Visitors:** Total unique visitors - **Page Views:** Total page views - **Events:** Custom event tracking - **Countries:** Geographic distribution - **Top Pages:** Most visited pages - **Referrers:** Traffic sources ### Refresh Interval: - Data updates every 30 minutes - Real-time for events - Historical data available --- ## πŸ”’ Security ### Best Practices: 1. **Strong Passwords:** Use 12+ characters 2. **Regular Logout:** Don't stay logged in 3. **Limited Access:** Only admins should have access 4. **Audit Trail:** Check user activity logs 5. **Updates:** Keep system updated ### Permissions: - **Admin:** Full access to all features - **Editor:** Limited to content (if implemented) - **Viewer:** Read-only (if implemented) --- ## πŸ“ž Support ### Built-in Help - Visit `/admin/docs` for detailed documentation - Search functionality available - Step-by-step guides ### Common Issues - Check `/admin/docs` β†’ "ŘeΕ‘enΓ­ problΓ©mΕ―" - Review error messages carefully - Check browser console (F12) ### Contact - System Administrator - Developer Team - [Your Support Email] --- ## πŸ“š Related Documentation - **Full Admin Audit:** `ADMIN_SECTION_INTEGRITY_AUDIT.md` - **MyUIbrix Guide:** `MYUIBRIX_QUICK_START.md` - **API Documentation:** `/admin/docs` - **Setup Guide:** `SETUP.md` --- ## 🚦 Status Indicators ### Page Status: - 🟒 **Fully Functional** - Working perfectly - 🟑 **Partially Functional** - Minor issues - πŸ”΄ **Not Working** - Critical issues - ⚠️ **Placeholder** - Not yet implemented ### Current Status: - 🟒 **30/32** pages fully functional - ⚠️ **1/32** placeholder (Media) - 🟑 **1/32** legacy version kept --- ## βœ… Quick Checklist for New Admins - [ ] Login with admin credentials - [ ] Review Dashboard - [ ] Check all sidebar links work - [ ] Upload club logo in Settings - [ ] Configure primary colors - [ ] Add first article - [ ] Upload player photos - [ ] Create a match - [ ] Test newsletter - [ ] Review analytics - [ ] Customize navigation - [ ] Check mobile view - [ ] Read full documentation --- **Quick Start:** Go to `/admin` β†’ Navigate via sidebar β†’ Click any item to manage content **Need Help:** Check `/admin/docs` for comprehensive guides **Report Issues:** Contact system administrator --- **Last Updated:** January 15, 2025 **Version:** 1.0 **Maintained By:** Development Team