{% load static %} {{ current_tab.title }} {# The Overview tabs of django_overview are drawn with the admin theme itself (cfg-theme.css), #} {# not the dark Tailwind canvas of django_dashboard/base_iframe.html: the same tokens as the page #} {# around them, light or dark. The theme is the parent's data-theme, followed live. #} (function () { var root = document.documentElement, parent = null; try { parent = window.parent !== window ? window.parent.document.documentElement : null; } catch (e) {} function apply() { var theme = parent && parent.dataset.theme; if (!theme) { try { theme = window.localStorage.getItem('theme'); } catch (e) {} } root.dataset.theme = theme || 'dark'; } apply(); if (parent && window.MutationObserver) { new MutationObserver(apply).observe(parent, { attributes: true, attributeFilter: ['data-theme'] }); } })(); {% block tab_content %}{% endblock %}