{% extends "ace/base.html" %} {% load widget_tweaks %} {% load pagination_tags %} {% block title %}
Nome | Ativo/Em uso | Sistema operacional | Máquina virtual | Patrimônio | {% if request.user.is_superuser %}Ações | {% endif %} {% autopaginate filter 10 as filter_list %} {% for host in filter_list %}|||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{% elif host.hwtype = "wifi" %} | {% elif host.hwtype = "ap" %} | {% elif host.hwtype = "fw" %} | {% elif host.hwtype = "printer" %} | {% elif host.hwtype = "router" %} | {% elif host.hwtype = "virt" %} | {% elif host.hwtype = "cftv" %} | {% elif host.hwtype = "cam" %} | {% elif host.hwtype = "voip" %} | {% elif host.hwtype = "media" %} | {% elif host.hwtype = "desktop" %} | {% elif host.hwtype = "storage" %} | {% else %} | {% endif %} | {{ host.name }} | {% if host.active = True %}{% else %} | {% endif %} {% if host.osplatform = "linux" %} | {% elif host.osplatform = "windows" %} | {% elif host.osplatform = "bsd" %} | {% else %} | {% endif %} {% if host.os %} | {{ host.os }} | {% else %}{% endif %} {% if host.vm = True %} | {% else %} | {% endif %} | {{ host.ownerid|default_if_none:"" }} | {% if request.user.is_superuser %}{% endif %} |
Total de hosts: {{ total }}
{% if request.user.is_superuser %} {% endif %}