feat: add standalone web UI — tickets page with same style as homelab-dashboard

- corvid/templates/base.html: simplified nav (Corvid logo, Tickets link only),
  no user footer, no SSO — identical dark theme and component styles
- corvid/templates/tickets.html: copied verbatim from homelab-dashboard
  (all API paths are relative, no user-specific references)
- corvid/main.py: /tickets HTML route + / redirect; templates loaded from
  package dir so they work whether installed or run from source
- corvid/router.py: allow open access when TICKETS_API_KEY is not set
  (local/dev mode) — set the key to require auth for external access
- pyproject.toml: add jinja2>=3.1 dependency

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
caoimhinr 2026-05-25 19:30:43 +02:00
parent ff7620d5ed
commit dd799cea8e
6 changed files with 1420 additions and 1 deletions

View file

@ -14,6 +14,7 @@ dependencies = [
"uvicorn[standard]>=0.32",
"alembic>=1.14",
"pydantic>=2.0",
"jinja2>=3.1",
]
[project.optional-dependencies]