You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
SIPRP/trunk/PlanosActuacao/web/Estatistica.jsp

90 lines
5.7 KiB

<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
Document : Estatistica
Created on : Mar 27, 2012, 2:22:42 PM
Author : fpalma
-->
<jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:webuijsf="http://www.sun.com/webui/webuijsf" xmlns:t="http://myfaces.apache.org/tomahawk">
<jsp:directive.page contentType="text/html;charset=ISO-8859-1" pageEncoding="ISO-8859-1"/>
<f:view>
<webuijsf:page id="page1">
<webuijsf:html id="html1">
<webuijsf:head id="head1">
<webuijsf:link id="link1" url="/resources/stylesheet.css"/>
</webuijsf:head>
<webuijsf:body id="body1" style="-rave-layout: grid">
<div style="left: 0px; top: 0px; width: 100%">
<jsp:directive.include file="Header.jspf"/>
</div>
<h:panelGrid columns="1" id="gridBaseLayout" lang="pt" style="height: 96px; width: 100%" styleClass="centerBlock" width="336">
<h:panelGrid columnClasses="gridColCenter" columns="1" id="gridPanel10" style="height: 24px; width: 100%" width="504">
<webuijsf:staticText id="labelEstatistica" style="font-size: 18px; font-weight: bold; height: 24px;" text="Estatisticas" />
</h:panelGrid>
<webuijsf:form id="formEstatistica">
<h:panelGrid columnClasses="gridColCenter" columns="1" id="gridPanelEstabelecimento" style="height: 24px; width: 50%" styleClass="centerBlock">
<webuijsf:panelGroup>
<webuijsf:staticText escape="false" id="textEstabelecimento" text="Estabelecimento: " />
<webuijsf:dropDown binding="#{Estatistica.dropEstabelecimento}" id="dropEstabelecimento" />
</webuijsf:panelGroup>
</h:panelGrid>
<h:panelGrid columnClasses="gridColCenter" columns="1" id="gridPanelIntervalo" style="height: 24px; width: 50%" styleClass="centerBlock">
<webuijsf:panelGroup>
<webuijsf:staticText id="labelIntervalo" text="Intervalo:" />
<t:inputDate id="calInicioDate" value="#{Estatistica.calInicioDate}" type="date" ampm="false" />
<webuijsf:staticText id="labelIntervalo2" text="-" />
<t:inputDate id="calFimDate" value="#{Estatistica.calFimDate}" type="date" ampm="false" />
</webuijsf:panelGroup>
</h:panelGrid>
<h:panelGrid columnClasses="gridColCenter" columns="1" id="gridPanelButton" style="height: 24px; width: 100%; margin-top: 50px;">
<webuijsf:button binding="#{Estatistica.buttonPesquisar}" id="buttonPesquisar" actionExpression="#{Estatistica.buttonPesquisar_action}" text="Pesquisar" />
</h:panelGrid>
</webuijsf:form>
<h:panelGrid columnClasses="gridColCenter" columns="1" id="gridPanel2" style="height: 24px; width: 100%; margin-top: 50px;">
<webuijsf:staticText id="staticText2" text="Resultados" style="font-size: 18px; font-weight: bold; height: 24px;" />
</h:panelGrid>
<h:panelGrid columns="1" id="gridEstatistica" style="height: 24px; width: 80%" styleClass="centerBlock">
<webuijsf:staticText escape="false" id="staticTextEstatistica" text="Estat&#xed;stica"/>
<webuijsf:table augmentTitle="false" binding="#{ViewPlano.tableEstatistica}" id="tableEstatistica" style="width: 50%"
styleClass="centerBlock">
<webuijsf:tableRowGroup binding="#{ViewPlano.tableRowGroupEstatisticas}" id="tableRowGroupEstatistica" rows="10"
sourceData="#{SessionBean1.estatisticaPlanoDataProvider}" sourceVar="currentRow">
<webuijsf:tableColumn headerText="Estado" id="tableColumnEstatistica1">
<webuijsf:staticText id="staticTextTitulo" text="#{currentRow.value['titulo']}" />
</webuijsf:tableColumn>
<webuijsf:tableColumn headerText="Valora&#xe7;&#xe3;o" id="tableColumnEstatistica2">
<webuijsf:staticText id="staticTextValoracao" text="#{currentRow.value['valoracao']}" />
</webuijsf:tableColumn>
<webuijsf:tableColumn headerText="Percentagem" id="tableColumnEstatistica3">
<webuijsf:staticText id="staticTextPercentagem" text="#{currentRow.value['percentagem']}" />
</webuijsf:tableColumn>
<webuijsf:tableColumn headerText="Quantidade" id="tableColumnEstatistica4">
<webuijsf:staticText id="staticTextQuantidade" text="#{currentRow.value['quantidade']}" />
</webuijsf:tableColumn>
</webuijsf:tableRowGroup>
</webuijsf:table>
</h:panelGrid>
<h:panelGrid columnClasses="gridColCenter" columns="1" id="gridPanel3" style="height: 24px; width: 50%" styleClass="centerBlock">
<webuijsf:panelGroup id="groupPanel1" style="border-bottom: solid white 2px; ">
<webuijsf:staticText escape="false" id="staticText5" text="Software desenvolvido por&amp;nbsp;"/>
<webuijsf:image id="image1" url="/resources/images/logo_evolute_small.png"/>
<webuijsf:staticText escape="false" id="staticText6" text="&amp;nbsp;&amp;copy; 2008"/>
</webuijsf:panelGroup>
</h:panelGrid>
</h:panelGrid>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-6942416-1");
pageTracker._trackPageview();
} catch(err) {}</script>
</webuijsf:body>
</webuijsf:html>
</webuijsf:page>
</f:view>
</jsp:root>