{% extends "base.html" %} {% block title %}Subir Circuito{% endblock %} {% block head %} {{ super() }} {% endblock %} {% block content %}
{% for row in range(16) %}
{% for col in range(16) -%} {% set ip = row*16 + col %} {% set unusable = ip == 0 or ip == 255 %} {% set usable = not unusable %}
{% if ipmap[ip].dhcp %} DHCP {% else %} {{ ipmap[ip].reserved_by }} {% endif %}
{% if usable %} {% if ipmap[ip].locked %} {% endif %} .{{ row*16 + col }} {% endif %}
{%- endfor %}
{% endfor %}
{% endblock %}