{% extends "base.html" %} {% block main %}

This might help

- d4rkr41n

{% for target in targets %} {% if target.os == "Windows" %} {% elif target.os == "Linux" %} {% else %} {% endif %} {% endfor %}
OS HOSTNAME ADDRESS
{{ target.hostname }} {{ target.address }} {{ target.ports }}
{% endblock %}