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