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