{% extends "objects/base.html" %} {% load static %} {% load i18n %} {% block content %} {% for box in boxes %}
{% if box.role == 1 %} {% if box.controller_type == 0 %} {% else %} {% endif %} {% elif box.role == 2 %} {% elif box.role == 3 %} {% else %} {% endif %} {% for module in box.modules %} {% endfor %}
{% include 'box/box_start.html' with box=box.id status=box.status %}{% include 'box/box_controller_0.html' with box=box.id %}{% include 'box/box_controller_1.html' with box=box.id %}{% include 'box/box_gateway.html' with ip=box.host %}{% include 'box/box_sw_gateway.html' with box=box.host %}{% include 'box/box_empty.html' %}{% include 'box/box_module.html' with box=box.id module=module.address %}{% include 'box/box_end.html' %}
{% endfor %} {% endblock content %} {% block footer %}
{% endblock footer %}