<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- 
    Document   : Header
    Created on : Oct 6, 2008, 10:35:32 AM
    Author     : lluis
-->
<div style="height: 30px; width: 100%; -rave-layout: grid" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
    <f:subview id="Header">

        <h:panelGrid columns="1" id="gridPanel1" style="height: 24px; left: 0px; top: 0px; position: absolute; width: 100%" styleClass="centerBlock">
            <h:panelGrid columnClasses="gridColRight" columns="1" id="gridPanel5" style="height: 24px; width: 80%" styleClass="centerBlock">
                <h:panelGrid columnClasses="gridCol40,gridCol60" columns="2" id="gridPanel2" style="height: 24px; width: 100%" styleClass="centerBlock" width="552">
                    <webuijsf:panelGroup id="groupPanel1">
                        <webuijsf:image id="image1" rendered="#{SessionBean1.renderTopMenuImages}" url="/resources/images/SIPRP_logo_small.jpg"/>
                        <webuijsf:staticText escape="false" id="staticText1" style="" text="&amp;nbsp;"/>
                        <webuijsf:image binding="#{Header.imgLogoEmpresa}" height="40" id="imgLogoEmpresa" rendered="#{SessionBean1.renderTopMenuImages}" url="#{SessionBean1.logoEmpresaUrl}"/>
                    </webuijsf:panelGroup>

					<webuijsf:form id="formHeader">
                    <h:panelGrid columnClasses="gridColRight" columns="1" id="gridPanel3" style="height: 24px; width: 100%" styleClass="centerBlock">
                        <webuijsf:panelGroup id="groupPanel2" style="">
                            <webuijsf:hyperlink actionExpression="#{Header.lnkAnaliseAcidentes_action}" disabled="#{SessionBean1.disableMenuAnalises}"
                                id="lnkAnaliseAcidentes1" text="análise de acidentes de trabalho&gt;&gt;"/>
                        </webuijsf:panelGroup>
                        <webuijsf:panelGroup id="groupPanel3">
                            <webuijsf:staticText escape="false" id="lblUser1" styleClass="label" text="#{SessionBean1.currentUser.login}"/>
                            <webuijsf:staticText escape="false" id="staticText2" text="&amp;nbsp;&amp;nbsp;&amp;nbsp;"/>
                            <webuijsf:hyperlink actionExpression="#{Header.lnkPlanosActuacao1_action}" disabled="#{SessionBean1.disableMenuPlanos}"
                                id="lnkPlanosActuacao1" text="planos actuação"/>
                            <webuijsf:staticText escape="false" id="staticText3" text="&amp;nbsp;|&amp;nbsp;"/>
                            <webuijsf:hyperlink actionExpression="#{Header.lnkGerirUtilizadores1_action}" disabled="#{SessionBean1.disableMenuUtilizadores}"
                                id="lnkGerirUtilizadores1" style="" text="gerir utilizadores"/>
                            <webuijsf:staticText escape="false" id="staticText4" text="&amp;nbsp;|&amp;nbsp;"/>
                            <webuijsf:hyperlink actionExpression="#{Header.lnkDadosUtilizador1_action}" disabled="#{SessionBean1.disableMenuDadosUtilizador}"
                                id="lnkDadosUtilizador1" style="" text="alterar dados utilizador"/>
                            <webuijsf:staticText escape="false" id="staticText6" text="&amp;nbsp;|&amp;nbsp;"/>
                            <webuijsf:hyperlink id="lnkAjuda" style="" url="resources/pdf/planos_actuacao_ajuda.pdf" text="ajuda"/>
                            <webuijsf:staticText escape="false" id="staticText5" text="&amp;nbsp;|&amp;nbsp;"/>
                            <webuijsf:hyperlink actionExpression="#{Header.lnkLogout_action}" id="lnkLogout1" text="sair&gt;&gt;"/>
                        </webuijsf:panelGroup>
                    </h:panelGrid>
					</webuijsf:form>
                </h:panelGrid>
                <h:panelGrid columnClasses="gridColLeft30,gridColCenter40,gridColRight30" columns="3" id="gridSubHeader"
                    rendered="#{SessionBean1.renderSubHeader}" style="border: 1px solid black; background-color: rgb(255, 255, 255); height: 24px; width: 100%" width="480">
                    <webuijsf:image id="image3" url="/resources/images/SIPRP_logo_small.jpg"/>
                    <h:panelGrid columnClasses="gridColCenter" columns="1" id="gridPanel4" style="height: 24px; width: 100%">
                        <webuijsf:staticText escape="false" id="staticText7" styleClass="label" text="PLANO DE ACTUA&amp;Ccedil;&amp;Atilde;O"/>
                        <webuijsf:panelGroup id="groupPanel4">
                            <webuijsf:staticText escape="false" id="staticText8" styleClass="label" text="DATA:&amp;nbsp;"/>
                            <webuijsf:staticText binding="#{Header.stDataPlano}" escape="false" id="stDataPlano" text="#{SessionBean1.planoActuacao.data_visita_str}"/>
                        </webuijsf:panelGroup>
                    </h:panelGrid>
                    <webuijsf:image height="40" id="image4" url="#{SessionBean1.logoEmpresaUrl}"/>
                </h:panelGrid>
            </h:panelGrid>
        </h:panelGrid>
		
    </f:subview>
</div>
