{% import "tungsten/components/ui.html" as ui %} {% if not q %}

{{ __('Type to search across the panel.') }}

{% elif not groups and not pages %}

No results for “{{ q }}”

{{ __('Try another word.') }}

{% else %}
{% if pages %}

{{ __('Pages') }}

{% for item in pages %} {{ icon(item.icon, 'h-4 w-4') }}{{ item.label }} {% endfor %}
{% endif %} {% for g in groups %}

{{ g.label }}

{% for item in g.entries %} {% if item.image %} {% else %}{{ icon(g.icon, 'h-4 w-4') }}{% endif %} {{ item.title }} {% if item.details %}{% for k, v in item.details.items() %}{{ k }}: {{ v }}{{ ' · ' if not loop.last }}{% endfor %}{% endif %} {% endfor %}
{% endfor %}
{% endif %}