{% extends "base.html" %} {% load widget_tweaks %} {% load pagination_tags %} {% block title %} Sistema Ace - Listagem de Hosts {% endblock %} {% block extra-css %} {% load staticfiles %} {% endblock %} {% block titulo %}
{% endblock %} {% block conteudo1 %}

{% if request.user.is_superuser %} {% endif %} {% autopaginate filter 10 as filter_list %} {% for host in filter_list %} {% if host.hwtype = "server" %} {% 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 %} {% if host.active = True %} {% else %} {% endif %} {% if host.osplatform = "linux" %} {% elif host.osplatform = "windows" %} {% elif host.osplatform = "bsd" %} {% else %} {% endif %} {% if host.os %} {% else %} {% endif %} {% if host.vm = True %} {% else %} {% endif %} {% if request.user.is_superuser %} {% endif %} {% endfor %}
Nome Ativo/Em uso Sistema operacional Máquina virtual PatrimônioAções
012345678910111213{{ host.name }}10012 3{{ host.os }}10{{ host.ownerid|default_if_none:"" }}  
{% paginate %}

Total de hosts: {{ total }}


{% if request.user.is_superuser %} {% endif %}
{% endblock %} {% block extra-js %} {% load staticfiles %} {% endblock %}