Commit Graph

6 Commits

Author SHA1 Message Date
js 4f6c07b14b fix: semantic dark mode for Servers, doas PTY for install, container-not-found detection
- Servers page now uses frappe-ui semantic tokens (bg-surface-gray-*, text-ink-gray-*)
  matching Dashboard style instead of explicit bg-green-50/dark:bg-green-950 etc.
- doas install uses Python pty module to create a real pseudo-terminal,
  fixing "doas: a tty is required" error
- SiteDetail detects externally deleted containers and shows "Container Not Found"
  screen with Retry/Back buttons instead of silently failing
- Action errors (start/stop/restart/delete) now show dismissible error banner

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 15:22:44 +00:00
js f324f04ee9 feat: password-based doas install, proper dark colors, delete container
- Distrobuilder install now prompts for doas password instead of
  requiring nopass config. Password is piped to doas via stdin.
  Manual install hint shown instead of doas.conf rules.
- Restore original colored backgrounds (green/yellow/blue/red) for
  light mode and add proper dark: variants (dark:bg-*-950/30) so
  both themes look good
- Add delete container button with confirmation dialog that requires
  typing the container name to confirm
- Fix snapshot default name to include seconds to avoid duplicates
- Fix certificate modal textarea to use theme-aware colors

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 15:04:44 +00:00
js c42b978df9 fix: dark mode colors, install button alignment, doas tty error
- Use doas -n (non-interactive) flag to avoid "a tty is required" error
  in distrobuilder install and image build commands
- Replace hardcoded light-only colors (bg-green-50, bg-yellow-50, bg-blue-50)
  with semantic tokens (bg-surface-gray-2/3, text-ink-gray-*) for proper
  dark mode support in Panel Certificate and Software Setup sections
- Fix install button alignment in modal with proper flex wrapper
- Update doas.conf example to show all needed rules (apk, distrobuilder, rm)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 14:51:24 +00:00
js 9dfce44d99 fix: real-time dark theme toggle, rebuild container error, and UI improvements
- Fix dark theme: use data-theme attribute (frappe-ui standard) instead of .dark class
  so theme switches instantly without page reload
- Fix rebuild_container ValidationError: pass target_server param from frontend
- Also pass target_server to snapshot create/restore/delete calls
- Improve distrobuilder status UI: show version, better icons and colors
- Fix install button alignment in distrobuilder modal
- Add inline theme script in index.html to prevent flash on load

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 14:33:17 +00:00
js d6b2b6da23 feat: Admin Panel for Incus container management 2026-02-05 22:17:42 +00:00
frappe fc64cd4a1f feat: Initialize App 2026-01-26 17:50:49 +00:00