Subversion Repositories Sigmater

Rev

Blame | Last modification | View Log | Download | RSS feed

<#import "/template/srm/defaultLayout.ftl" as layout>

<@layout.myLayout  title="Monitoraggio Dettaglio" tipoMenu="menu4" scripts=["js/common.js","js/jquery-latest.js","js/jquery.tablesorter.min.js"] iCss=["css/srm.css","css/tablesorter.css"]>

        <script type="text/javascript">
        $(document).ready(function()
                {
                        $("#tabLista").tablesorter(
                                        {headers: { 4:{sorter: false} }}
                        );
                }
        );
        </script>

   <div id="content-1colonna"> 
                <h3 align="center">Monitoraggio Dettaglio</h3>
                <hr>

                <#if dettaglio??>
                                <table class="calendario">
                                        <tr>
                                                <td class="foglietto">
                                                        <p class="calendar">${dataCorrente?string("dd")} <em>${dataCorrente?string("MMMM")}</em></p>
                                                </td>
                                        </tr>
                                </table>
                                <div class='paginazione' >
                                        Tipologia di ricerche effettuate: ${dettaglio?size}
                                </div>
                                <table class="ricerca" id="tabLista">
                                        <thead>
                                        <tr>
                                                <th>Applicazione </th>
                                                <th>Ambito di ricerca</th>
                                                <th>Tipo richiesta</th>
                                                <th>N. richieste</th>
                                                <th> </th>
                                        </tr>   
                                        </thead>
                                        <tbody>
                                                <@s.iterator value="dettaglio" status="usersStatus">
                                                
                                                <tr     class="<@s.if test="#usersStatus.odd == true ">rigaPari</@s.if><@s.else>rigaDispari</@s.else>">
                                                        <td><@s.property value="nomeApplicazione" /></td>
                                                        <td><@s.property value="codiceComune" /></td>
                                                        <td><@s.property value="nomeFunzione" /></td>
                                                        <td><@s.property value="numeroInterrogazioni" /></td>
                                                        <td><a class="button icon arrowright" href="javascript: inviaForm4('monitoraggioStats','monitoraggioStats.do','codComune','${codiceComune}','username','${nomeUtente}','codProcesso','${codiceProcesso}')">dettaglio</a></td>
                                                
                                                </tr>
                                                </@s.iterator>
                                        </tbody>
                                </table>

                </#if>
                
                <form id='dettaglioStats'  action='dettaglioStats' method="post">
                        <@s.hidden name="utenteDaCercare.username" value=utenteDaCercare.username />
                        <@s.hidden id="indiceData" name="indiceData"/>
                        <@s.hidden id="giorni" name="giorni"/>
                        <@s.hidden id="ente" name="ente" value='${idEnte}'/>
                </form>
                
                <form id='monitoraggioStats'  action='monitoraggioStats' method="post">
                        <@s.hidden name="utenteDaCercare.username" value=utenteDaCercare.username />
                        <@s.hidden id="strData" name="strData" value=strData/>
                        <@s.hidden id="codProcesso" name="codProcesso" />
                        <@s.hidden id="codComune" name="codComune" />
                        <@s.hidden id="idEnte" name="idEnte" value=idEnte/>
                        <@s.hidden id="indiceData" name="indiceData"/>
                        <@s.hidden id="giorni" name="giorni"/>
                        <@s.hidden id="username" name="username"  />
                </form>
                
                <div class="pulsante"><a class="button icon arrowleft" href="javascript: inviaForm('dettaglioStats','listStats.do')">Indietro</a></div>
                <div class="pulsante"><a class="button icon log" href="javascript:window.print()">Stampa</a></div>
        </div>
<div id="content-right"> 
                

                <@s.actionmessage/> 
                <@s.fielderror />
                <@s.actionerror/> 
        <@s.fielderror>
                <@s.param>id</@s.param>
                </@s.fielderror>
        </div> 
</@layout.myLayout>