5 Commits

Author SHA1 Message Date
ffdc7fc983 feat: modern UI redesign - shell layout, theme switching, dashboard revamp
Phase 1-2 deliverables:
- shell.ui: Global layout framework (topbar + collapsible sidebar + main content)
- shell_theme.css: Dark/light theme CSS custom properties system
- shell_theme.js: Theme toggle + sidebar collapse with localStorage persistence
- global_menu.ui: Unified module navigation menu with RBAC visibility
- index.ui: Redesigned dashboard homepage with modern stat cards + quick links
- Stat card widgets: today_usage, today_amount, total_users, concurrent, errors
- chart_top_models.ui + api/top_models.dspy: ChartBar with data_url pattern
- table_top_users_amount.ui: Jinja2-rendered user ranking table
- build.sh: Added .css file linking support

Design system:
- Dark theme (default): slate color palette (#0B1120, #111827, #1E293B)
- Light theme: clean white palette with matching structure
- Theme persisted in localStorage, toggled via topbar button
- Sidebar collapsible with icon-only mode, state persisted in localStorage
- Responsive stat cards with hover effects and trend indicators
- Quick link cards for model management, users, knowledge base, errors
2026-05-25 16:53:36 +08:00
1a3412176d Move JS file to wwwroot root per bricks convention (no subdirectories for JS/CSS) 2026-05-24 14:46:00 +08:00
ae613a1dc2 Update build.sh and README with load_path.py RBAC setup step 2026-05-24 14:34:39 +08:00
89a1e1eb59 Add README, .gitignore, and fix build.sh Sage root detection 2026-05-24 14:10:26 +08:00
6ae20954f3 Initial commit: dashboard module for Sage with auto-refresh statistics 2026-05-24 14:06:38 +08:00