{% extends 'admin/base_site.html' %} {% load static %} {# A dashboard tab opened outside its Overview iframe (no ?iframe=1): the stock admin #} {# page with the tab bar on top. Tab templates may use Tailwind and Alpine: both are #} {# loaded here as in base_iframe.html. #} {% block extrahead %} {{ block.super }} {% if dashboard_config.tailwind_css %} {% endif %} {# Tab templates are drawn for a dark surface (base_iframe.html); keep that surface #} {# here too, so a light admin theme does not put them on a white canvas. #} {% endblock %} {% block nav-breadcrumbs %}{% endblock %} {% block title %}{{ current_tab.title }} | {{ site_title|default:'Django site admin' }}{% endblock %} {% block content %} {% include "django_dashboard/tabs_bar.html" %}
{% block tab_content %}{% endblock %}
{% endblock %}