{%- import '_macros_site.html' as macros_site with context -%} {%- import 'nerd/_macros.html' as macros_nerd with context -%} {%- set content_id = get_uuid4() -%}
{{ get_icon("module-nerd") }} | {{ '{:.3f}'.format(search_result[0]['rep']) }} {% if search_result|length > 1 %} ({{ _('%(cnt)d more', cnt = (search_result|length -1)) }}) {% endif %}

{{ macros_nerd.get_title() }} {{ get_icon("stopwatch") }}

{%- for item in search_result %} {%- endfor %}
{{ _("Reputation") }} {{ _("IP") }} {{ _("Hostname") }} {{ _("Tags") }} {{ _("Blacklists") }}
{{ loop.index }} {{ '{:.3f}'.format(item['rep']) }} {{ item.get('ip', get_icon('unassigned')) }} {{ item.get('hostname', get_icon('unassigned')) }} {%- if 'tags' in item and item['tags'] %} {% for tag in item['tags'] %} {{ tag['n'] }} ({{ tag['c'] }}x) {% endfor %} {%- endif %} {%- if 'bl' in item and item['bl'] %} {% for bl in item['bl'] %} {{ bl }} {% endfor %} {%- endif %}