{# DRS override of sqladmin 0.32.0's layout.html: the admin pages sit in the portal's frame - the same menu (the admin tables grouped with the portal's system pages, drscore/web/navigation.py) and the same top bar with the page's title, the theme, the language and the account (drscore/web/templates/_shell.html). sqladmin's own sidebar, its "Logout" button (it signed nobody out: sign-in belongs to the portal) and its language switcher are gone; its content, flash and secret blocks are kept. The rest 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" %} {% import "_shell.html" as shell %} {% block body %} {% set s = drs_shell(request) %}
{{ shell.sidebar(s) }}
{% call shell.topbar(s) %}
{{ s.t('nav.section.admin') }}

{% if model_view is defined %}{{ model_view.name_plural }}{% elif title %}{{ title }}{% else %}{{ s.t('nav.admin') }}{% endif %}

{% endcall %}
{% block content_header %}{% endblock %}
{% block content %} {% endblock %} {% block flash %} {% include 'sqladmin/flash.html' %} {% endblock %} {% block secret_modal %} {% include 'sqladmin/secret_modal.html' %} {% endblock %}
{% endblock %}