Skip to content

refactor(ui): extract modular Jinja2 templates into templates directory - #55

Merged
abhirajadhikary06 merged 1 commit into
OBLIQ-in:mainfrom
abhirajadhikary06:dev/modular-templates
Nov 17, 2026
Merged

abhirajadhikary06 merged 1 commit into
OBLIQ-in:mainfrom
abhirajadhikary06:dev/modular-templates

Conversation

@abhirajadhikary06

Copy link
Copy Markdown
Member

Summary

Decomposes the monolithic UI strings in \ emplates.py\ into a dedicated \src/obliq_api/templates/\ directory with separate template files per interface:

  • \�ase.html: Common layout, dark mode styles, modern navbar, auth token management, and offline detection.
  • \keys.html: API key management dashboard with create, reveal, rotate, and revoke modals.
  • \usage.html: Telemetry and observabilty dashboard with Chart.js time-series charts.
  • \docs.html: Client SDK quickstart guides and multi-language snippets (TS, Python, cURL).

Also updates
outer.py\ to use standard \ astapi.templating.Jinja2Templates.

@github-actions github-actions Bot added documentation Improvements or additions to documentation or runbooks api Endpoints, request and response contract, versioning labels Nov 17, 2026
@abhirajadhikary06
abhirajadhikary06 merged commit e153df1 into OBLIQ-in:main Nov 17, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api Endpoints, request and response contract, versioning documentation Improvements or additions to documentation or runbooks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant