Commit 31772e18c8205a65b5d29610acd7161b5274f564
1 parent
e10f5516
Exists in
master
and in
1 other branch
Módulo força coleta por máquina
Showing
1 changed file
with
49 additions
and
0 deletions
Show diff stats
src/Cacic/CommonBundle/Resources/views/Computador/resultadoColetar.html.twig
0 → 100644
@@ -0,0 +1,49 @@ | @@ -0,0 +1,49 @@ | ||
1 | +<div class="row-fluid"> | ||
2 | + <div class="span12"> | ||
3 | + <div class="box grad_colour_black"> | ||
4 | + <h2 class="box_head round_top"><i class="icon-list"></i> {{'Resultado da pesquisa' |trans }}</h2> | ||
5 | + <div class="block box_content round_bottom padding_10"> | ||
6 | + | ||
7 | + <table class="table table-striped table-bordered"> | ||
8 | + <thead> | ||
9 | + <tr> | ||
10 | + <th width="29%" style="text-align: center">{{ "Nome da Máquina"|trans }}</th> | ||
11 | + <th width="29%" style="text-align: center">{{ "Endereço IP"|trans }}</th> | ||
12 | + <th width="29%" style="text-align: center">{{ "MAC Address"|trans }}</th> | ||
13 | + | ||
14 | + <th width="13%"></th> | ||
15 | + | ||
16 | + | ||
17 | + </tr> | ||
18 | + </thead> | ||
19 | + | ||
20 | + <tbody> | ||
21 | + | ||
22 | + {% for computador in computadores %} | ||
23 | + | ||
24 | + <tr> | ||
25 | + <td style="text-align: center">{{ computador['nmComputador'] }}</td> | ||
26 | + <td style="text-align: center">{{ computador['teIpComputador'] }}</td> | ||
27 | + <td style="text-align: center">{{ computador['teNodeAddress'] }}</td> | ||
28 | + <td class="td-actions"> | ||
29 | + <a href="{{ path("cacic_computador_update")}}/{{ computador['idComputador'] }}" title="{{ "Coletar Softwares de"|trans }} {{ computador['nmComputador'] }}" target="_self"> | ||
30 | + <i class="icon-download-alt"></i> | ||
31 | + {{ "Coletar"|trans }} | ||
32 | + </a> | ||
33 | + </td> | ||
34 | + </tr> | ||
35 | + | ||
36 | + {% else %} | ||
37 | + <tr> | ||
38 | + <td style="text-align: center;" colspan="4"><b>{{ "NENHUM REGISTRO ENCONTRADO!"|trans }}</b></td> | ||
39 | + </tr> | ||
40 | + {% endfor %} | ||
41 | + | ||
42 | + </tbody> | ||
43 | + | ||
44 | + </table> | ||
45 | + | ||
46 | + </div> <!-- /block --> | ||
47 | + </div> <!-- /box --> | ||
48 | + </div> <!-- /span --> | ||
49 | +</div> <!-- /row --> |