%if not isinstance(network, dict) or (not network["hosts"] and not network["dns"] and not network["http"]):
Nothing to display.
%else:
%if network["hosts"]:
IP Address |
%for i, host in enumerate(network["hosts"]):
${host} |
%endfor
%endif
%if network["dns"]:
Hostname |
IP Address |
%for i, dns in enumerate(network["dns"]):
${dns["hostname"]} |
${dns["ip"]} |
%endfor
%endif
%if network["http"]:
URL |
Data |
%for i, http in enumerate(network["http"]):
${http["uri"]} |
${http["data"]} |
%endfor
%endif
%endif