{%- import '_macros_site.html' as macros_site with context -%} {%- macro render_result_reputation(nerd_result) %}
| {{ _("Reputation") }} | {{ _("IP") }} | {{ _("Hostname") }} | {{ _("Tags") }} | {{ _("Blacklists") }} | |
|---|---|---|---|---|---|
| {{ loop.index }} | {{ '{:.3f}'.format(item['rep']) }} | {%- if 'ip' in item and item['ip'] %} {{ macros_site.render_widget_csag_address([item['ip']]) }} {%- endif %} | {%- if 'hostname' in item and item['hostname'] %} {{ macros_site.render_widget_csag_hostname([item['hostname']]) }} {%- endif %} | {%- 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 %} |