<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="1.2" 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:ui="http://www.sun.com/web/ui">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <ui:page binding="#{FormRH.page1}" id="page1">
            <ui:html binding="#{FormRH.html1}" id="html1">
                <ui:head binding="#{FormRH.head1}" id="head1">
                    <ui:link binding="#{FormRH.link1}" id="link1" url="/resources/stylesheet.css"/>
                </ui:head>
                <ui:body binding="#{FormRH.body1}" id="body1" style="-rave-layout: grid">
                    <ui:form binding="#{FormRH.form1}" id="form1">
                        <h:panelGrid binding="#{FormRH.gridBase1}" columns="1" id="gridBase1"
                            style="height: 24px; left: 0px; top: 60px; position: absolute; width: 100%" styleClass="centerBlock" width="648">
                            <h:panelGrid binding="#{FormRH.gridLayout1}" columns="1" id="gridLayout1" style="height: 15px; width: 80%" styleClass="centerBlock">
                                <h:panelGrid binding="#{FormRH.gridPanel1}" columnClasses="gridColLeft, gridColRightBottom" columns="2" id="gridPanel1"
                                    style="border-bottom: solid #000000 1px; height: 24px; width: 100%" width="312">
                                    <ui:panelGroup binding="#{FormRH.groupPanel1}" id="groupPanel1" style="height: 24px; width: 216px">
                                        <ui:image binding="#{FormRH.image1}" id="image1" url="/resources/images/SIPRP_logo_small.jpg"/>
                                        <ui:image binding="#{FormRH.image2}" id="image2" url="/resources/images/logo_auchan_small1.jpg"/>
                                    </ui:panelGroup>
                                    <ui:panelGroup binding="#{FormRH.groupPanel2}" id="groupPanel2" style="height: 24px; width: 310px; top: 90%">
                                        <ui:staticText binding="#{FormRH.lblUser}" escape="false" id="lblUser" styleClass="labelBold"/>
                                        <ui:staticText binding="#{FormRH.stSep1}" escape="false" id="stSep1" text="   "/>
                                        <ui:hyperlink action="#{FormRH.lnkAnalisesAcidente_action}" binding="#{FormRH.lnkAnalisesAcidente}" disabled="true"
                                            id="lnkAnalisesAcidente" text="analisar acidentes"/>
                                        <ui:staticText binding="#{FormRH.staticText12}" escape="false" id="staticText12" text=" | "/>
                                        <ui:hyperlink action="#{FormRH.lnkNewUser_action}" binding="#{FormRH.lnkNewUser1}" disabled="true" id="lnkNewUser1"
                                            style="width: 120px" text="gerir utilizadores"/>
                                        <ui:staticText binding="#{FormRH.staticText11}" escape="false" id="staticText11" text=" | "/>
                                        <ui:hyperlink action="#{FormRH.lnkEditUser_action}" binding="#{FormRH.lnkEditUser}" id="lnkEditUser" text="alterar dados utilizador"/>
                                        <ui:staticText binding="#{FormRH.staticText2}" escape="false" id="staticText2" text=" | "/>
                                        <ui:hyperlink action="#{FormRH.lnkLogout_action}" binding="#{FormRH.lnkLogout}" id="lnkLogout" text="sair&gt;&gt;"/>
                                    </ui:panelGroup>
                                </h:panelGrid>
                                <h:panelGrid binding="#{FormRH.gridLayoutTop1}" columnClasses="gridLayoutTopCols, gridLayoutTopCols" columns="1"
                                    id="gridLayoutTop1" style="height: 15px; position: relative; vertical-align: top; width: 100%">
                                    <h:panelGrid binding="#{FormRH.gridActual1}" columnClasses="gridColCenter" columns="1" id="gridActual1"
                                        style="background-color: #f6f4e8; height: 24px; position: relative; width: 100%" width="360">
                                        <h:panelGrid binding="#{FormRH.gridPanel2}" columnClasses="gridColCenter" columns="1" id="gridPanel2"
                                            style="height: 24px; width: 100%" width="264">
                                            <ui:staticText binding="#{FormRH.staticText4}" id="staticText4"
                                                style="font-size: 18px; font-weight: bold; height: 24px; width: 168px" text="Actual"/>
                                        </h:panelGrid>
                                        <ui:staticText binding="#{FormRH.staticText5}" id="staticText5" styleClass="labelBold" text="Processos com dados pendentes"/>
                                        <h:panelGrid binding="#{FormRH.gridPanel3}" id="gridPanel3" style="height: 24px; width: 100%" styleClass="centerBlock" width="456">
                                            <ui:table augmentTitle="false" binding="#{FormRH.table1}" id="table1" style="width: 80%; height: 48px"
                                                styleClass="centerBlock" width="100%">
                                                <ui:tableRowGroup binding="#{FormRH.tableRowGroup1}" id="tableRowGroup1"
                                                    sourceData="#{SessionBean1.analisesActualDataProvider}" sourceVar="currentRow">
                                                    <ui:tableColumn binding="#{FormRH.tableColumn1}" headerText="Data do acidente" id="tableColumn1"
                                                        sort="data_acidente" style="width: 10%" width="10%">
                                                        <ui:hyperlink action="#{FormRH.lnkDataAcidente_action}" binding="#{FormRH.lnkDataAcidente}"
                                                            id="lnkDataAcidente" text="#{currentRow.value['data_acidente']}"/>
                                                    </ui:tableColumn>
                                                    <ui:tableColumn binding="#{FormRH.tableColumn2}" headerText="Nº acidente" id="tableColumn2"
                                                        sort="analise_nr" style="width: 10%" width="10%">
                                                        <ui:hyperlink action="#{FormRH.lnkNr_action}" binding="#{FormRH.lnkNr}" id="lnkNr" text="#{currentRow.value['analise_nr']}"/>
                                                    </ui:tableColumn>
                                                    <ui:tableColumn binding="#{FormRH.tableColumn12}" headerText="POR" id="tableColumn12" width="10%">
                                                        <ui:hyperlink action="#{FormRH.lnkPor_action}" binding="#{FormRH.lnkPor}" id="lnkPor" style="" text="#{currentRow.value['numero_mecanografico']}"/>
                                                    </ui:tableColumn>
                                                    <ui:tableColumn binding="#{FormRH.tableColumn3}" headerText="Nome do acidentado" id="tableColumn3"
                                                        sort="nome_acidentado" style="width: 50%" width="50%">
                                                        <ui:hyperlink action="#{FormRH.lnkNomeAcidentado_action}" binding="#{FormRH.lnkNomeAcidentado}"
                                                            id="lnkNomeAcidentado" text="#{currentRow.value['nome_acidentado']}"/>
                                                    </ui:tableColumn>
                                                    <ui:tableColumn binding="#{FormRH.tableColumn10}" headerText="Fase" id="tableColumn10" width="20%">
                                                        <ui:hyperlink action="#{FormRH.lnkFase_action}" binding="#{FormRH.lnkFase}" id="lnkFase"
                                                            style="width: 96px; height: 24px" text="#{currentRow.value['fase']}"/>
                                                    </ui:tableColumn>
                                                </ui:tableRowGroup>
                                            </ui:table>
                                        </h:panelGrid>
                                    </h:panelGrid>
                                    <h:panelGrid binding="#{FormRH.gridSeguimento1}" columns="1" id="gridSeguimento1"
                                        style="background-color: #f6f4e8; position: relative; width: 100%" width="360">
                                        <h:panelGrid binding="#{FormRH.gridPanel4}" columnClasses="gridColCenter" columns="1" id="gridPanel4"
                                            style="height: 24px; width: 100%" width="264">
                                            <ui:staticText binding="#{FormRH.staticText6}" id="staticText6"
                                                style="font-size: 18px; font-weight: bold; height: 24px; width: 168px" text="Em seguimento"/>
                                        </h:panelGrid>
                                        <h:panelGrid binding="#{FormRH.gridPanel5}" id="gridPanel5" style="background-color: #f6f4e8; height: 24px; width: 100%"
                                            styleClass="centerBlock" width="456">
                                            <ui:table augmentTitle="false" binding="#{FormRH.table2}" id="table2" style="width: 80%; height: 48px"
                                                styleClass="centerBlock" width="100%">
                                                <ui:tableRowGroup binding="#{FormRH.tableRowGroup2}" id="tableRowGroup2"
                                                    sourceData="#{SessionBean1.analisesSeguimentoDataProvider}" sourceVar="currentRow">
                                                    <ui:tableColumn binding="#{FormRH.tableColumn4}" headerText="Data do acidente" id="tableColumn4"
                                                        sort="data_acidente" style="width: 10%" width="10%">
                                                        <ui:hyperlink action="#{FormRH.lnkDataAcidenteSeg_action}" binding="#{FormRH.lnkDataAcidenteSeg}"
                                                            id="lnkDataAcidenteSeg" text="#{currentRow.value['data_acidente']}"/>
                                                    </ui:tableColumn>
                                                    <ui:tableColumn binding="#{FormRH.tableColumn5}" headerText="Nº acidente" id="tableColumn5"
                                                        sort="analise_nr" style="width: 10%" width="10%">
                                                        <ui:hyperlink action="#{FormRH.lnkNrSeg_action}" binding="#{FormRH.lnkNrSeg}" id="lnkNrSeg" text="#{currentRow.value['analise_nr']}"/>
                                                    </ui:tableColumn>
                                                    <ui:tableColumn binding="#{FormRH.tableColumn13}" headerText="POR" id="tableColumn13" width="10%">
                                                        <ui:hyperlink action="#{FormRH.lnkPorSeg_action}" binding="#{FormRH.lnkPorSeg}" id="lnkPorSeg" style="" text="#{currentRow.value['numero_mecanografico']}"/>
                                                    </ui:tableColumn>
                                                    <ui:tableColumn binding="#{FormRH.tableColumn6}" headerText="Nome do acidentado" id="tableColumn6"
                                                        sort="nome_acidentado" style="width: 50%" width="50%">
                                                        <ui:hyperlink action="#{FormRH.lnkNomeAcidentadoSeg_action}" binding="#{FormRH.lnkNomeAcidentadoSeg}"
                                                            id="lnkNomeAcidentadoSeg" text="#{currentRow.value['nome_acidentado']}"/>
                                                    </ui:tableColumn>
                                                    <ui:tableColumn binding="#{FormRH.tableColumn11}" headerText="Fase" id="tableColumn11" width="20%">
                                                        <ui:hyperlink action="#{FormRH.lnkFaseSeg_action}" binding="#{FormRH.lnkFaseSeg}" id="lnkFaseSeg"
                                                            style="width: 96px; height: 24px" text="#{currentRow.value['fase']}"/>
                                                    </ui:tableColumn>
                                                </ui:tableRowGroup>
                                            </ui:table>
                                        </h:panelGrid>
                                    </h:panelGrid>
                                </h:panelGrid>
                                <h:panelGrid binding="#{FormRH.gridConcluidos1}" columns="1" id="gridConcluidos1"
                                    style="border: 1px solid #000000; height: 24px; background-color: #f6f4e8; width: 100%" width="360">
                                    <h:panelGrid binding="#{FormRH.gridPanel6}" columnClasses="gridColCenter" columns="1" id="gridPanel6"
                                        style="height: 24px; width: 100%" width="264">
                                        <ui:staticText binding="#{FormRH.staticText7}" escape="false" id="staticText7"
                                            style="font-size: 18px; font-weight: bold; height: 24px; width: 168px" text="Concluídos"/>
                                    </h:panelGrid>
                                    <h:panelGrid binding="#{FormRH.gridPanel7}" columns="6" id="gridPanel7" style="height: 24px" width="576">
                                        <ui:panelGroup binding="#{FormRH.groupPanel3}" id="groupPanel3" style="height: 24px; width: 94px">
                                            <ui:staticText binding="#{FormRH.staticText8}" id="staticText8" style="height: 24px; width: 22px"
                                                styleClass="labelBold" text="Ano:"/>
                                            <ui:dropDown binding="#{FormRH.drpAno}" id="drpAno" items="#{SessionBean1.anoOptions}"
                                                onChange="common_timeoutSubmitForm(this.form, 'gridBase1:gridLayout1:gridConcluidos1:gridPanel7:groupPanel3:drpAno');"
                                                selected="#{SessionBean1.anoChoice}" style="width: 70px" valueChangeListener="#{FormRH.drpAno_processValueChange}"/>
                                        </ui:panelGroup>
                                        <ui:panelGroup binding="#{FormRH.groupPanel4}" id="groupPanel4" style="height: 24px; width: 94px">
                                            <ui:staticText binding="#{FormRH.lblMes}" escape="false" id="lblMes" style="height: 24px; width: 22px" text="Mês:" visible="false"/>
                                            <ui:dropDown binding="#{FormRH.drpMes}" id="drpMes" items="#{SessionBean1.mesOptions}"
                                                onChange="common_timeoutSubmitForm(this.form, 'gridBase1:gridLayout1:gridConcluidos1:gridPanel7:groupPanel4:drpMes');"
                                                selected="#{SessionBean1.mesChoice}" style="width: 69px"
                                                valueChangeListener="#{FormRH.drpMes_processValueChange}" visible="false"/>
                                        </ui:panelGroup>
                                        <ui:panelGroup binding="#{FormRH.groupPanel5}" id="groupPanel5" style="height: 24px; width: 94px">
                                            <ui:staticText binding="#{FormRH.lblDia}" id="lblDia" style="height: 24px; width: 22px" text="Dia:" visible="false"/>
                                            <ui:dropDown binding="#{FormRH.drpDia}" id="drpDia" items="#{SessionBean1.diaOptions}"
                                                selected="#{SessionBean1.diaChoice}" valueChangeListener="#{FormRH.drpDia_processValueChange}" visible="false"/>
                                        </ui:panelGroup>
                                        <ui:panelGroup binding="#{FormRH.groupPanel7}" id="groupPanel7" style="height: 24px; width: 142px">
                                            <ui:staticText binding="#{FormRH.staticText3}" escape="false" id="staticText3" style="height: 24px; width: 96px"
                                                styleClass="labelBold" text="POR:&amp;nbsp;"/>
                                            <ui:textField binding="#{FormRH.txtPor}" id="txtPor" style=""/>
                                        </ui:panelGroup>
                                        <ui:panelGroup binding="#{FormRH.groupPanel6}" id="groupPanel6" style="height: 24px; width: 262px">
                                            <ui:staticText binding="#{FormRH.staticText9}" id="staticText9" style="height: 24px; width: 46px"
                                                styleClass="labelBold" text="Nome:"/>
                                            <ui:textField binding="#{FormRH.txtNome}" id="txtNome"/>
                                        </ui:panelGroup>
                                        <ui:button action="#{FormRH.butPesquisar_action}" binding="#{FormRH.butPesquisar}" id="butPesquisar" text="Pesquisar"/>
                                    </h:panelGrid>
                                    <h:panelGrid binding="#{FormRH.gridPanel8}" columnClasses="gridColCenter" columns="1" id="gridPanel8"
                                        style="height: 24px; width: 80%" styleClass="centerBlock" width="456">
                                        <ui:table augmentTitle="false" binding="#{FormRH.table3}" id="table3" style="width: 89%; height: 48px"
                                            styleClass="centerBlock" width="707">
                                            <ui:tableRowGroup binding="#{FormRH.tableRowGroup3}" id="tableRowGroup3"
                                                sourceData="#{SessionBean1.analisesConcluidasDataProvider}" sourceVar="currentRow">
                                                <ui:tableColumn binding="#{FormRH.tableColumn7}" headerText="Data do acidente" id="tableColumn7"
                                                    sort="data_acidente" style="width: 10%" width="10%">
                                                    <ui:hyperlink action="#{FormRH.lnkDataConcluida_action}" binding="#{FormRH.lnkDataConcluida}"
                                                        id="lnkDataConcluida" text="#{currentRow.value['data_acidente']}"/>
                                                </ui:tableColumn>
                                                <ui:tableColumn binding="#{FormRH.tableColumn8}" headerText="Nº acidente" id="tableColumn8" sort="analise_nr"
                                                    style="width: 10%" width="7%">
                                                    <ui:hyperlink action="#{FormRH.lnkNrConcluida_action}" binding="#{FormRH.lnkNrConcluida}"
                                                        id="lnkNrConcluida" text="#{currentRow.value['analise_nr']}"/>
                                                </ui:tableColumn>
                                                <ui:tableColumn binding="#{FormRH.tableColumn14}" headerText="POR" id="tableColumn14" width="8%">
                                                    <ui:hyperlink action="#{FormRH.lnkPorConcluida_action}" binding="#{FormRH.lnkPorConcluida}"
                                                        id="lnkPorConcluida" style="" text="#{currentRow.value['numero_mecanografico']}"/>
                                                </ui:tableColumn>
                                                <ui:tableColumn binding="#{FormRH.tableColumn9}" headerText="Nome do acidentado" id="tableColumn9"
                                                    sort="nome_acidentado" style="width: 80%" width="60%">
                                                    <ui:hyperlink action="#{FormRH.lnkNomeConcluida_action}" binding="#{FormRH.lnkNomeConcluida}"
                                                        id="lnkNomeConcluida" text="#{currentRow.value['nome_acidentado']}"/>
                                                </ui:tableColumn>
                                                <ui:tableColumn binding="#{FormRH.tableColumn15}" headerText="Estabelecimento" id="tableColumn15" width="15%">
                                                    <ui:hyperlink action="#{FormRH.lnkEstabConcluida_action}" binding="#{FormRH.lnkEstabConcluida}"
                                                        id="lnkEstabConcluida" style="" text="#{currentRow.value['nome_estabelecimento']}"/>
                                                </ui:tableColumn>
                                            </ui:tableRowGroup>
                                        </ui:table>
                                        <ui:staticText binding="#{FormRH.txtSearchMsg}" escape="false" id="txtSearchMsg" rendered="false" style="color: rgb(204, 0, 0); height: 24px; width: 336px"/>
                                    </h:panelGrid>
                                </h:panelGrid>
                                <h:panelGrid binding="#{FormRH.gridPanel9}" columnClasses="gridColCenter" columns="1" id="gridPanel9" style="height: 24px; width: 100%">
                                    <ui:panelGroup binding="#{FormRH.groupPanel8}" id="groupPanel8" style="border-bottom: solid rgb(255, 255, 255) 1px; height: 21px">
                                        <ui:staticText binding="#{FormRH.staticText1}" id="staticText1" text="Software desenvolvido por "/>
                                        <ui:image binding="#{FormRH.image3}" height="21" id="image3" url="/resources/images/logo_evolute_small.png" width="100"/>
                                        <ui:staticText binding="#{FormRH.staticText10}" escape="false" id="staticText10" text="&amp;nbsp;&amp;copy; 2008 "/>
                                    </ui:panelGroup>
                                </h:panelGrid>
                            </h:panelGrid>
                        </h:panelGrid>
                    </ui:form>
                </ui:body>
            </ui:html>
        </ui:page>
    </f:view>
</jsp:root>
