{% extends "objects/base.html" %} {% load static %} {% load i18n %} {% block content %} {% if box.role == 1 or box.role == 2 %}
{% else %}
{% trans "objects_box_create_title" %}
{% endif %}
{% if box.role == 1 %} {% if box.controller_type == 0 %} {% else %} {% endif %} {% elif box.role == 2 %} {% 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_empty.html' %}{% include 'box/box_module.html' with box=box.id module=module.address %}{% include 'box/box_end.html' %}
{% if box.role != 1 %} {% endif %}
{% trans "objects_box_create_index_label" %}
{% trans "objects_box_create_ip_label" %}
{% trans "objects_box_create_port_label" %}
{% endblock content %} {% block footer %}
{% if box.role > 0 %} {% endif %} {% if box.role != 1 %} {% if box.status == 1 or box.status == 2 %} {% elif box.status == 4 %} {% else %} {% endif %} {% else %} {% endif %} {# #} {# #} {# #} {# #}
{% if box.role > 0 %}
{% endif %} {% endblock footer %}