9 Commits

Author SHA1 Message Date
William Valentin
c48cd87d16 feat(frontend): add theme switcher with light dark and system modes
Some checks failed
Build Multi-Arch Container Image / test (push) Has been cancelled
Build Multi-Arch Container Image / build-and-push (push) Has been cancelled
Build Multi-Arch Container Image / security-scan (push) Has been cancelled
Build Multi-Arch Container Image / deploy-staging (push) Has been cancelled
Build Multi-Arch Container Image / deploy-production (push) Has been cancelled
Nightly Build / notify-results (push) Has been cancelled
Nightly Build / check-changes (push) Has been cancelled
Nightly Build / nightly-tests (3.10) (push) Has been cancelled
Nightly Build / nightly-tests (3.11) (push) Has been cancelled
Nightly Build / nightly-tests (3.12) (push) Has been cancelled
Nightly Build / nightly-tests (3.8) (push) Has been cancelled
Nightly Build / nightly-tests (3.9) (push) Has been cancelled
Nightly Build / build-nightly (push) Has been cancelled
Nightly Build / performance-test (push) Has been cancelled
Nightly Build / security-scan-nightly (push) Has been cancelled
Nightly Build / cleanup-old-nightlies (push) Has been cancelled
2025-09-21 20:28:33 -07:00
William Valentin
b544399f9c backend: remove __main__ runner; typing: fix mypy across core and routes; tooling: use uv for pytest in pre-commit; security: narrow broad except in config; mypy: relax untyped decorator check for backend.app.main 2025-09-15 01:25:25 -07:00
William Valentin
a0ae5f869e feat(frontend): add dedicated /cli page, nav links, and CTA buttons; remove CLI modals for leaner UX
- New CLI page at /cli with detailed usage and improved Quick Start card header
- Add CLI link to navbars and small ‘Try the CLI’ CTAs on Home & Templates
- Remove CLI modals and unused showCliModal() handler (keep_small_simple)
- Self-host Bootstrap and Font Awesome; add OSI logo and GPL notice in footers
- Dockerfile: verify vendor assets exist at build time
- Minor a11y/contrast and heading-order cleanups (100 a11y)
2025-09-15 00:47:31 -07:00
William Valentin
e2788cb634 fix: add standard mobile-web-app-capable meta tag
- Add mobile-web-app-capable meta tag to all HTML templates
- Fixes deprecation warning for apple-mobile-web-app-capable
- Maintains backwards compatibility with Apple devices
- Updates index.html, templates.html, and editor.html
2025-09-14 22:50:17 -07:00
William Valentin
d15dffd120 fix: address linting and security warnings in configuration system
- Add type annotations for mypy compliance
- Add nosec comment for intentional bind-all-interfaces configuration
- Add explanatory comment for exception handling
- Minor formatting improvements
2025-09-14 15:58:35 -07:00
William Valentin
5eee1beb8d feat: replace hardcoded values with environment variables in templates
- Replace hardcoded GitHub URLs with {{ github_url }} template variable
- Use {{ app_name }} for application title and branding
- Add {{ app_description }} for dynamic descriptions
- Support {{ api_docs_url }} for API documentation links
- Improve HTML formatting and structure
- Enable full customization through environment variables
2025-09-14 15:57:16 -07:00
William Valentin
c7a601a1cf Fix Font Awesome glyph bbox warnings by updating to version 6.5.1
- Updated Font Awesome from 6.4.0 to 6.5.1 across all HTML templates
- Resolves console warnings about incorrect glyph bounding boxes
- Version 6.5.1 includes fixes for font metrics issues present in 6.4.0
- Maintains all existing icon functionality while eliminating console noise

This addresses the browser console errors:
'downloadable font: Glyph bbox was incorrect (glyph ids...)
source: https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/...'
2025-09-14 15:11:12 -07:00
William Valentin
115e344157 Add comprehensive favicon and PWA support
- Created SVG favicons in multiple sizes (16x16, 32x32, 192x192, 512x512)
- Added web app manifest for PWA functionality
- Implemented Apple Touch Icon support for iOS devices
- Added theme color and mobile web app meta tags
- Used gear/cogs design matching UnitForge branding with blue gradient
- Supports modern browsers with SVG and fallback compatibility
- Enables 'Add to Home Screen' functionality on mobile devices

All favicon files use the same blue gradient (#0d6efd to #0b5ed7)
as the main UI theme for consistent branding.
2025-09-14 15:08:50 -07:00
William Valentin
860f60591c Fix contrast issues with text-muted and bg-dark classes
- Fixed Bootstrap bg-dark class to use better contrasting color
- Added comprehensive text-muted contrast fixes for various contexts
- Improved dark theme colors for better accessibility
- Fixed CSS inheritance issues for code elements in dark contexts
- All color choices meet WCAG AA contrast requirements
2025-09-14 14:58:35 -07:00