{% if port_scanner_settings != '' %} {% for t in port_scanner_settings %} {% set date_time = t.date|string %} {% endfor %} {% else %} Table is empty {% endif %}
Status Host Port Possible service name Date Time
{% if t.status == 'opened' %} {% set color = '#5ad05a' %} {% else %} {% set color = '#be2424' %} {% endif %} {{t.status |upper}} {{t.serv}} {{t.port}} {{t.service_name}} {{date_time.split(' ')[0]}} {{date_time.split(' ')[1]}}