{% extends "admin/base_site.html" %} {% load i18n static %}{% comment %} The All in One Accessibility settings page, shown INSIDE the Django admin: it extends the admin's own base_site.html, so the admin header, sidebar, breadcrumbs, messages and the admin's light / dark theme are all there. Rendered by accessibility/views.py settings_page. Context: everything admin_site.each_context() gives, plus boot (printed as JSON for the scripts), breadcrumb urls, logo_path, ... see views.py. {% endcomment %} {% block title %}All in One Accessibility | {{ site_title|default:"Django site admin" }}{% endblock %} {% block extrahead %}{{ block.super }} {% endblock %} {% block extrastyle %}{{ block.super }} {% endblock %} {% block bodyclass %}{{ block.super }} aioa-admin-page{% endblock %} {# The page has its own heading (partials/header.html) #} {% block content_title %}{% endblock %} {% block breadcrumbs %} {% if semantic_breadcrumbs %} {% else %} {% endif %} {% endblock %} {% block content %}
{% include 'accessibility/settings/partials/header.html' %}
{% include 'accessibility/settings/partials/status.html' %}
{{ boot|json_script:"aioa-boot" }} {% endblock %}