<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">

    <h:head>
        <f:facet name="first">
            <meta http-equiv="X-UA-Compatible" content="IE=edge" />
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
            <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
            <meta name="apple-mobile-web-app-capable" content="yes" />
        </f:facet>
        <title><ui:insert name="title">#{siteParameterViewBean.siteTitle}</ui:insert></title>
        <link rel="stylesheet" media="all" type="text/css" href="../public/css/webpubcss.min.css" />
        <h:outputScript name="js/ripple.js" library="ultima-layout" />
    </h:head>

    <h:body styleClass="exception-body error-page">
    
        <div class="exception-type" style="background-color: transparent;">
<!--             <p:graphicImage name="images/logo_error.png" library="ultima-layout" /> -->
        </div>
        <f:metadata>
				<f:viewParam name="errorCode" value="#{errorPageViewBean.errorCode}"/>
		</f:metadata>
        
        <div class="card exception-panel">
<!--             <i class="material-icons">&#xE000;</i> -->
<!--             <p:graphicImage name="images/logo_error.png"  /> -->
            <img src="../getImage?id=logo_error.png" alt="error" width="150" height="150"/>
            <h1>#{errorPageViewBean.message}</h1>
            <p class="exception-detail">
             <h:outputText  value="#{errorPageViewBean.textError}" escape="false"/>  
             <h:outputText rendered="#{not empty errorPageViewBean.errorCode}" value="#{errorPageViewBean.errorCodeLabel}" escape="false"/>  
             #{errorPageViewBean.errorCode}
            </p>
            <p:button onclick="javascript:window.history.back();return false;" value="#{loginViewBean.getLabelFromValue('ERROR-LABEL-buttonHomepage-label')}" styleClass="bpce-button-primary-public" style="float:none;width:100%; background-color:gray"/>
        </div>
	</h:body>

</html>