The Admin Panel
The Admin Panel is your command center. This is where you create quizzes, manage your image library, and monitor active game sessions.
TriviaFlow uses a modern, dark-mode compatible interface (powered by django-unfold) to make content management as pleasant as possible.
đ Accessing the Panelâ
By default, the admin panel is accessible at:
Log in with the superuser account you created during the Docker Installation.
đ Managing Quizzesâ
The "Quizzes" section is where you will spend most of your time.
Creating a Quizâ
- Navigate to Game Management > Quizzes.
- Click Add Quiz.
- Title & Description: Give your quiz a catchy name.
- Questions (Inline): You can add questions directly on the same page.
- Text: The question displayed on the big screen.
- Duration: Time in seconds (Default: 20s).
- Options (A-D): The four possible answers.
- Correct Option: Select which one is the winner.
- Images: Link an image from the library (see below).
Instead of creating questions one by one, use the Import feature to upload entire quizzes at once!
Import / Export (Backup)â
TriviaFlow has a robust backup system built-in.
- Export: Select one or more quizzes in the list view, choose "Export selected Quizzes (ZIP)" from the actions menu, and click "Go". You will download a ZIP file containing the data and all associated images.
- Import: Click the "Import Quiz" button in the toolbar. Upload a valid TriviaFlow ZIP file, and it will recreate the quiz, questions, and images instantly.
đŧī¸ The Media Libraryâ
Unlike simple quiz apps, TriviaFlow uses a Centralized Image Library.
- Concept: You upload an image once (e.g., "Company Logo") and can use it in multiple questions across different quizzes.
- Management: Go to Media & Content > Image Library.
- Cleanup: If you delete an image from the library, it is automatically removed from the server's hard drive to save space.
For every question, you can define:
- Question Image: Displayed while the timer is running (e.g., "What movie is this scene from?").
- Resolution Image (Optional): Displayed after the time is up (e.g., showing the movie poster with the title).
đšī¸ Session Monitoringâ
Under Game Management > Sessions, you can see every currently running game lobby.
- Room Code: The 4-6 character code players use to join.
- Playlist: Shows which quizzes are queued for this session.
- Active: If you uncheck "Active", the lobby closes and players are disconnected.
While you can change values (like the current question index) here, it is highly recommended to use the Game Master Dashboard for controlling the game flow. Editing raw database values during a live game can lead to desynchronization.