{# T55 admin layout — terminal-brutalist base. #} {# Body pages ``{% extends "admin_layout.html" %}`` and override #} {# ``page_title`` / ``content`` / ``head_extra`` / ``scripts``. The legacy #} {# Tailwind + Inter stack was retired in T55; the palette and primitives #} {# here mirror ``partials/admin_t55_styles.html`` verbatim so the #} {# already-redesigned self-contained T55 pages and the layout-extending #} {# pages share one visual language. #} {% block page_title %}admin{% endblock %} — browser-recon {# marked + DOMPurify for chat-style rendering of LLM prompts and #} {# responses on the debug page + sandbox diff. Loaded once at the layout #} {# level so each admin page can drop ``llm_chat_view`` without re- #} {# importing them. XSS contract: every untrusted string must pass through #} {# ``DOMPurify.sanitize(marked.parse(...))``. #} {# Chart.js v4 — cost-trend line chart on the admin dashboard. #} {% block head_extra %}{% endblock %}
{% include 'partials/admin_sidebar.html' %}
{% include 'partials/admin_header.html' %}
{% block content %}{% endblock %}
{% block scripts %}{% endblock %}