{# DRS override of sqladmin 0.32.0's index.html (empty there): the admin home shows what the menu's Administration and Monitoring sections hold, each item a card with its tile and its links. sqladmin: Copyright (c) 2022, Amin Alaee, BSD-3-Clause (LICENSE.sqladmin beside this file). #} {% extends "sqladmin/layout.html" %} {% block content %} {% set s = drs_shell(request) %} {% for sec in s.nav if sec.key in ('admin', 'monitor') %}
{{ sec.label }}
{% for it in sec.items if it.key != 'admin-home' %}
{% if it.href %}{{ it.label }}{% else %}

{{ it.label }}

{% endif %} {% if it.badge %}{{ it.badge }}{% endif %}
{% set d = 'nav.desc.' ~ it.key %}{% if s.t(d) != d %}

{{ s.t(d) }}

{% endif %} {% if it.links %}
{% for l in it.links %}{{ l.label }}{% endfor %}
{% endif %}
{% endfor %} {% endfor %} {% endblock %}