{% extends "base.html" %} {% block title %} Detalhes do switch {% endblock %} {% block extra-css %} {% load staticfiles %} {% endblock %} {% block titulo %}
{% endblock %} {% block conteudo1 %}

Local: {{ rack.place }}

{% if points %} {% endif %}

   Switches

{% if s %} {% for switch in s %} {% endfor %}
Nome Fabricante Modelo Rack
{{ switch.name }} {{ switch.manufactorer }} {{ switch.devicemodel }} {{ switch.rack }}
{% else %}
{% endif %}
{% if p %}

   Patchpanels

{% for patchpanel in p %} {% endfor %}
Num Portas
{{ patchpanel.num }} {{ patchpanel.ports }}
{% endif %}
{% if points %}

   Pontos de rede

{% for point in points %} {% if point.switch %} {% else %} {% endif %} {% if point.swport %} {% else %} {% endif %} {% endfor %}
Número do Ponto de rede Tipo do ponto de rede Patchpanel Porta do patchpanel Switch Porta do switch Local
{{ point.num }} {{ point.pointtype }} {{ point.patchpanel| default_if_none:"" }} {{ point.patchpanelport| default_if_none:"" }}{{ point.switch| default_if_none:"" }}{{ point.swport| default_if_none:"" }}{{ point.place }}
{% endif %} {% endblock %} {% block extra-js %} {% load staticfiles %} {% endblock %}