{% extends "stweb/base.html" %} {% block title %}siptrackweb - search results{% endblock %} {% block content %} {% if searchresults.resultcount %} {% if searchresults.devices %}
Device Matches
{% for device in searchresults.devices %} {% if forloop.counter|divisibleby:"2" %} {% else %} {% endif %} {% endfor %}
Name Description
{{ device.attributes.name }} {{ device.attributes.description }}


{% endif %} {% if searchresults.device_categories %}
Device Category Matches
{% for device_category in searchresults.device_categories %} {% if forloop.counter|divisibleby:"2" %} {% else %} {% endif %} {% endfor %}
Name Description
{{ device_category.attributes.name }} {{ device_category.attributes.description }}


{% endif %} {% if searchresults.networks %}
Network Matches
{% for network in searchresults.networks %} {% if forloop.counter|divisibleby:"2" %} {% else %} {% endif %} {% endfor %}
Name Description
{{ network }} {{ network.attributes.description }}
{% endif %} {% else %}
Sorry
No matches found.
{% endif %} {% endblock %}