rel_wmi_detalhe.html.twig
2.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{% extends 'CacicRelatorioBundle::base.html.twig' %}
{% block body %}
<h2>{{ 'Relatório de Configurações da Classe '|trans }} {{ classe }}</h2>
<h3>{{ 'Dados relativos à Propriedade '|trans }}{{ propriedade }}</h3>
<h5>{{ 'Relatório gerado em'|trans }} {% if idioma == 'pt_BR' %}{{ "now"|date("d/m/Y H\\hi") }}{% else %}{{ "now"|date("m/d/Y H\\hi") }}{% endif %}</h5>
<form id="csv" action="{{ path('cacic_relatorio_csv_hardware_wmi_detalhe', { 'classe': classe, 'propriedade': propriedade }) }}" method="post">
{% for elm, value in filtros %}
<input type="hidden" name="{{ elm }}" value="{{ value }}">
{% endfor %}
<button class="btn btn-primary" type="submit">
<i class="icon-bar-chart"></i>
Gerar CSV
</button>
</form>
<hr />
<table class="display datatable" id="datatable">
<thead>
<tr>
<th width="10%">{{ "Computador"|trans }}</th>
<th width="10%">{{ "MAC Address"|trans }}</th>
<th width="10%">{{ "Endereço IP"|trans }}</th>
<th width="10%">{{ "Sistema Operacional"|trans }}</th>
<th width="10%">{{ "Local"|trans }}</th>
<th width="10%">{{ "Subrede"|trans }}</th>
<th width="10%">{{ "Propriedade"|trans }}</th>
<th width="10%">{{ "Notebook"|trans }}</th>
<th>{{ "Valor"|trans }}</th>
</tr>
</thead>
<tbody>
{% for reg in dados %}
<tr>
<td>
<b><a href="{{ path('cacic_computador_detalhar') }}/{{ reg.1 }}" title="{{ "Todas as informações do computador"|trans }}" target="_blank">{{ reg.nmComputador }}</a></b>
</td>
<td><a href="{{ path('cacic_computador_detalhar') }}/{{ reg.1 }}" title="{{ "Todas as informações do computador"|trans }}" target="_blank">{{ reg.teNodeAddress }}</a></td>
<td><a href="{{ path('cacic_computador_detalhar') }}/{{ reg.1 }}" title="{{ "Todas as informações do computador"|trans }}" target="_blank">{{ reg.teIpComputador }}</a></td>
<td><span class="{% if reg.inMswindows == 'S' %}red{% else %}blue{% endif %}">{{ reg.sgSo }}</span></td>
<td>{{ reg.nmLocal }}</td>
<td>{{ reg.nmRede }} / {{ reg.teIpRede }}</td>
<td>{{ reg.nmPropertyName }}</td>
<td>{{ reg.isNotebook }}</td>
<td>{{ reg.teClassPropertyValue }}</td>
</tr>
{% else %}
<tr>
<td style="text-align: center" colspan="5"><b>{{ "NENHUM REGISTRO ENCONTRADO!"|trans }}</b></td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}