Commit d1e6655458dea005eb4f16683a6f485ab77285b5
1 parent
89b37c56
Exists in
master
and in
1 other branch
Consultar versão do agente
Showing
1 changed file
with
85 additions
and
0 deletions
Show diff stats
src/Cacic/CommonBundle/Resources/views/Computador/versaoagente.html.twig
0 → 100644
| @@ -0,0 +1,85 @@ | @@ -0,0 +1,85 @@ | ||
| 1 | +{% extends 'CacicCommonBundle::base.html.twig' %} | ||
| 2 | + | ||
| 3 | +{% block breadcrumb %} | ||
| 4 | + <li class="active">{{ 'Versões Agentes'|trans }}</li> | ||
| 5 | +{% endblock %} | ||
| 6 | + | ||
| 7 | +{% block body %} | ||
| 8 | + | ||
| 9 | + <div class="row-fluid"> | ||
| 10 | + | ||
| 11 | + <div class="span8"> | ||
| 12 | + <div class="box grad_colour_black"> | ||
| 13 | + <h2 class="box_head round_top"><i class="icon-search"></i> {{'Computadores Monitorados por Versões dos Agentes' |trans }}</h2> | ||
| 14 | + <div class="block box_content round_bottom padding_10"> | ||
| 15 | + <table class="display datatable" id="datatable"> | ||
| 16 | + <thead> | ||
| 17 | + <tr> | ||
| 18 | + <th>{{ 'Versão do Agente'|trans }}</th> | ||
| 19 | + <th style="text-align: center">{{ 'Quantidade'|trans }}</th> | ||
| 20 | + </tr> | ||
| 21 | + </thead> | ||
| 22 | + <tbody> | ||
| 23 | + {% for agente in estatisticas['totalVersaoAgente'] %} | ||
| 24 | + <tr> | ||
| 25 | + <td>{{ agente['teVersaoCacic'] }}</td> | ||
| 26 | + <td style="text-align: center">{{ agente['total'] }}</td> | ||
| 27 | + </tr> | ||
| 28 | + {% else %} | ||
| 29 | + <tr><td colspan="3" style="text-align: center"><b>{{ 'NENHUM REGISTRO ENCONTRADO'|trans }}</b></td></tr> | ||
| 30 | + {% endfor %} | ||
| 31 | + </tbody> | ||
| 32 | + </table> | ||
| 33 | + </div> | ||
| 34 | + </div> <!-- /box --> | ||
| 35 | + | ||
| 36 | + </div> <!-- /span8 --> | ||
| 37 | + | ||
| 38 | + <div class="span4"> | ||
| 39 | + <div class="box grad_colour_black"> | ||
| 40 | + <h2 class="box_head round_top"><i class="icon-info-sign"></i> {{ "Informações Adicionais"|trans }}</h2> | ||
| 41 | + <div class="block box_content round_bottom padding_10"> | ||
| 42 | + <p> | ||
| 43 | + {{ "Este módulo permite acompanhar as versões dos Agentes Cacic instalados"|trans }}. | ||
| 44 | + </p> | ||
| 45 | + <p> | ||
| 46 | + {{ "É possível visualizar uma lista completa com todos os Agentes instalados desde a implementação do Cacic"|trans }}. | ||
| 47 | + </p> | ||
| 48 | + <p> | ||
| 49 | + {{ "Não selecionar nenhum valor em determinado critério é o mesmo que selecionar todos"|trans }}. | ||
| 50 | + </p> | ||
| 51 | + </div> <!-- /block --> | ||
| 52 | + </div> <!-- /box --> | ||
| 53 | + </div> <!-- span4 --> | ||
| 54 | + | ||
| 55 | + </div> | ||
| 56 | + | ||
| 57 | + <div class="row-fluid"> | ||
| 58 | + <div class="span8"> | ||
| 59 | + <div class="box grad_colour_black"> | ||
| 60 | + <h2 class="box_head round_top"><i class="icon-search"></i> {{'Computadores Monitorados por Versões dos Agentes nos últimos 30 dias' |trans }}</h2> | ||
| 61 | + <div class="block box_content round_bottom padding_10"> | ||
| 62 | + <table class="table table-striped"> | ||
| 63 | + <thead> | ||
| 64 | + <tr> | ||
| 65 | + <th>{{ 'Versão do Agente'|trans }}</th> | ||
| 66 | + <th style="text-align: center">{{ 'Quantidade'|trans }}</th> | ||
| 67 | + </tr> | ||
| 68 | + </thead> | ||
| 69 | + <tbody> | ||
| 70 | + {% for agente in estatisticas['VersaoAgente30dias'] %} | ||
| 71 | + <tr> | ||
| 72 | + <td>{{ agente['teVersaoCacic'] }}</td> | ||
| 73 | + <td style="text-align: center">{{ agente['total'] }}</td> | ||
| 74 | + </tr> | ||
| 75 | + {% else %} | ||
| 76 | + <tr><td colspan="3" style="text-align: center"><b>{{ 'NENHUM REGISTRO ENCONTRADO'|trans }}</b></td></tr> | ||
| 77 | + {% endfor %} | ||
| 78 | + </tbody> | ||
| 79 | + </table> | ||
| 80 | + </div> <!-- /block --> | ||
| 81 | + </div> <!-- /box --> | ||
| 82 | + </div> <!-- /span8 --> | ||
| 83 | + </div> <!-- /row --> | ||
| 84 | + | ||
| 85 | +{% endblock %} | ||
| 0 | \ No newline at end of file | 86 | \ No newline at end of file |