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

{{ title }}

{% endblock %} {% block conteudo1 %}

{% if filter %} {% if perms.ace.change_host or perms.ace.delete_host %} {% endif %} {% autopaginate filter hostlist_results 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 t = "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 t = "printer" %} {% 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 perms.ace.change_host or perms.ace.change_printer %} {% endif %} {% endfor %}
Nome Ativo/Em uso Fabricante nº série Plataforma Sistema operacional Máquina virtual Patrimônio Local ObsAções
0123445678910111213{{ host.name }}{{ host.name }}10{{ host.manufactorer|default_if_none:"" }} {{ host.serial_number|default_if_none:""}}012 3{{ host.os }}10{{ host.ownerid|default_if_none:"" }} {{ host.place|default_if_none:"" }} {{ host.comments|default_if_none:"" }} {% if t = "printer" %}   {% else %}   {% endif %} {% if perms.ace.delete_host or perms.ace.delete_printer %} {% if t = "printer" %} {% else %} {% endif %} {% endif %}
{% paginate %}

Encontrado(s) {{ fc }} resultado(s)

Total de hosts: {{ total }}

{% else %}
{% endif %}
{% if t == "printer" %} {% else %} {% endif %} {% if filter %} {% if t == "printer" %} {% else %} {% endif %} {% endif %}
{% endblock %} {% block extra-js %} {% load staticfiles %} {% endblock %}