{# DRS override of sqladmin 0.32.0's layout.html. One change: the way back. sqladmin ends its sidebar with a "Logout" button, which here did not sign anyone out (sign-in belongs to the portal) and was the only way to leave the admin pages - under a name nobody looking for the home page would click. It is replaced by a "Back to the portal" button under the title. The rest of this file is sqladmin's own template: Copyright (c) 2022, Amin Alaee, BSD-3-Clause. Its licence is the file LICENSE.sqladmin beside this one and must stay with it. #} {% extends "sqladmin/base.html" %} {% from 'sqladmin/_macros.html' import display_menu %} {% block body %}
{% block topbar %} {% set show_switcher = i18n_config.language_switcher and i18n_config.language_switcher | length > 1 %} {% if show_switcher %} {% endif %} {% endblock %}
{% block content %} {% endblock %} {% block flash %} {% include 'sqladmin/flash.html' %} {% endblock %} {% block secret_modal %} {% include 'sqladmin/secret_modal.html' %} {% endblock %}
{% endblock %}