renox-admin 1.0.0

An admin panel generated from a Renox app's models: lists, forms, filters, bulk actions and exports.
Documentation
{#- The panel's frame (renox-admin/layout.html): the kit's back-office
    shell, a sidebar with the resources the user may see, a bar with the
    account menu, then the page. Replace it with a file of the same name
    under the app's views to brand the panel. -#}
<!doctype html>
<html lang="{{ app.locale }}">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
  <meta name="color-scheme" content="light dark">
  <title>{% block title %}{{ admin.title }}{% endblock %}</title>
  {{ renox_head() }}
  {{ renox_ui() }}
  {{ stack('head') }}
</head>
<body class="rx-page rx-shell">
  {% from "renox/ui.html" import sidebar, sidebar_link, sidebar_section, navbar, menu, menu_link, menu_action, menu_separator %}
  {% call sidebar(admin.title, href=admin.home, label="Admin navigation") %}
    {{ sidebar_link(admin.home, "Dashboard", active=admin.dashboard) }}
    {%- for group in admin.nav %}
    {%- if group.title %}{{ sidebar_section(group.title) }}{% endif %}
    {%- for item in group.items %}
    {{ sidebar_link(item.url, item.label, active=item.active) }}
    {%- endfor %}
    {%- endfor %}
  {% endcall %}
  <div class="rx-shell__main">
    {% call navbar(none, width="full", skip=false, label="Account") %}
      <span class="rx-spacer"></span>
      {%- if auth.check %}
      {% call menu(auth.user.name, id="rx-admin-account", variant="plain") %}
        {%- if admin.account_url %}
        {{ menu_link(admin.account_url, "Account") }}
        {{ menu_separator() }}
        {%- endif %}
        {%- if admin.logout_url %}{{ menu_action(admin.logout_url, "Log out") }}{% endif %}
      {% endcall %}
      {%- endif %}
    {% endcall %}
    <main class="rx-shell__content" id="main">
      {% block content %}{% endblock %}
    </main>
  </div>
  {{ toasts() }}
  {{ stack('scripts') }}
</body>
</html>