Subversion Repositories Sigmater

Rev

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

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

<@layout.myLayout  title="Monitoraggio Utenti" 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: { 3:{sorter: false} }}
                        );
                }
        );
        </script>

    <div id="content-1colonna"> 
                <h3 align="center">Monitoraggio Utenti</h3>
                <hr>
                <@s.form action="listStats" method="post" cssClass="ricerca">
                        <@s.select label="Anno" list="anni" name="anno" onchange="javascript:inviaForm('listStats','/srmAdmin/dettaglioSoggettoCercatoMonitora.do');" cssClass="rigaPari"/>
                        <@s.select label="Mese" list="mesi" name="mese" onchange="javascript:inviaForm('listStats','/srmAdmin/dettaglioSoggettoCercatoMonitora.do');" cssClass="rigaDispari"/>
                        <@s.textfield label="Cognome Persona fisica / denominazione persona giuridica" name="nomePf" value=nomePf cssClass="rigaPari" />
                        <@s.textfield label="Codice comune" name="codComune" value=codComune cssClass="rigaDispari" />
                <tr><td>
                        <div class="pulsante"><a  class="button icon search" href="javascript:%20inviaForm('listStats','/srmAdmin/dettaglioSoggettoCercatoMonitora.do')">cerca</a></div>
                </td></tr>
                </@s.form>
                <hr>
                <#if statistiche??>
                        <table class="ricerca" id="tabLista">
                                        <thead>
                                        <tr>
                                                <th>Utente Sigmater</th>
                                                <th>Tipo ricerca</th>
                                                <th>N. interrogazioni effettuate</th>
                                        </tr>   
                                        </thead>
                                        <tbody>
                                                <@s.iterator value="statistiche" status="usersStatus">
                                                
                                                <tr     class="<@s.if test="#usersStatus.odd == true ">rigaPari</@s.if><@s.else>rigaDispari</@s.else>">
                                                        <td><@s.property value="nomeEnte" /></td>
                                                        <td><@s.property value="NomeFunzione" /></td>
                                                        <td><@s.property value="numeroInterrogazioni" /></td>
                                                </@s.iterator>
                                        </tbody>
                        </table>
                </#if>
</div>
<div id="content-right"> 
                

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