9 Commits
Author SHA1 Message Date
Bentlybro 3e55af89dd Fix dark mode styling for table-info flash animation
Added CSS rules to improve visibility of .table-info rows and cells in dark mode. Updated cache-busting version for dark-mode.css in base.html to ensure latest styles are loaded.
2025-08-26 16:45:14 +01:00
Bentlybro 52d940dc23 Refactor API user stats and enhance API docs UI
APIUser model now computes stats directly from the database for accuracy, with new properties for current counts and days active. API documentation UI is improved with consistent code block styling, theme-aware code blocks, copy buttons, and example cards for cURL, JavaScript, and Python. Manual review templates updated to use new APIUser properties for displaying stats.
2025-08-26 15:13:28 +01:00
Bentlybro 03f546cda4 Refactor CSS to modular structure and fix dark mode flash
Replaces monolithic base.css with modular CSS files for layout, dark mode, tables, forms, modals, and responsive utilities. Moves theme initialization script from base.js to base.html to prevent dark mode flash on page load. Updates base.html to reference new CSS files and removes the old base.css import.
2025-08-26 06:52:31 +01:00
Bentlybro 23ccc44eb3 Code formatting and whitespace cleanup
Applied consistent import formatting in Python route files, improved string formatting in AI moderator service, and standardized whitespace and indentation across CSS, JS, and HTML template files for better readability and maintainability. Updated pre-commit configuration to include isort, autopep8, flake8, and additional hooks for code quality and formatting enforcement.
2025-08-25 19:39:13 +01:00
Bentlybro 01863f6f24 Add external API user lookup and improve content modal
Introduces a route to redirect to API user details by external user ID, allowing easier navigation for users with external identifiers. Enhances the content modal with improved metadata formatting, dark mode styling, and a button to view a user's other content when available. Updates database service to support metadata on content creation.
2025-08-25 19:10:27 +01:00
Bentlybro 751275c982 Add mobile sidebar and improve dark mode support
Introduces a mobile sidebar with overlay for authenticated users, refines dark mode styling for pagination and sidebar, and updates JS to support theme toggling and sidebar behavior on mobile and desktop. Also adds cache-busting query parameters to static asset links and improves responsive layout handling.
2025-08-25 16:00:56 +01:00
Bentlybro 46b5e4370c Refactor admin dashboard layout and improve stats styling
Moved dashboard title and actions to dedicated template blocks for better structure. Improved statistics card layout and spacing in CSS, and removed the Moderation Statistics section from the admin index template.
2025-08-25 15:42:41 +01:00
Bentlybro ecf5b5e012 Add dark mode and sidebar toggle to dashboard UI
Introduces dark mode support with a toggle button, including persistent theme preference and comprehensive CSS for dark mode styling. Adds a sidebar collapse/expand feature with persistent state and responsive behavior. Refactors dashboard templates to use unified page header blocks for consistent layout and action buttons. Updates documentation with environment setup, API usage, and deployment notes.
2025-08-25 12:57:05 +01:00
Bentlybro 635805353d Initial code! 2025-07-29 12:52:14 +01:00