<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">
<f:view locale="es">
	<h:head>
		<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
		<h:outputScript library="js" name="jquery.layout-latest.js" />
		<h:outputScript library="js" name="comaco.js" />
		<h:outputStylesheet library="css" name="layout-default-latest.css" />
		<h:outputStylesheet library="css" name="comaco.css" />
		<h:outputStylesheet library="css" name="maia.css" />
		<title>Portal COMACO</title>
	</h:head>
	<h:body>
		<div id="container" class="page">
			<h:outputText value="#{controller.form}" />
			<h:form acceptcharset="ISO-8859-1" id="#{idForm}" onkeydown="if(comaco.keyLocks(event)) return false">
				<div class="pane ui-layout-north" style="height: 90px;">
					<h:panelGroup layout="block"
						style="width: 103px;float:left;position:relative;">
						<h:graphicImage library="images" name="escudoarmas1.png" />
					</h:panelGroup>
					<h:panelGroup layout="block" style="width: 100%;padding-top:25px;">
						<b style="font-size: 24px !important;">Registro Usuarios
							Portal Control de Armas</b>
					</h:panelGroup>
				</div>
				<div class="pane ui-layout-center">
					<p:messages autoUpdate="true" globalOnly="true" />
					<ui:insert name="content" />
				</div>
				<div class="pane ui-layout-south">
					<h:panelGroup layout="block"
						style="width: 100%;margin:auto;position: relative;text-align: center;">
						<p>Copyright 2014, Derechos reservados, Direcci&#243;n
							Nacional de Control de Armas</p>
						<p>
							Desarrollado por:
							<p:link target="_blank" href="http://www.bupartech.com" value="Bupartech"
								style="color:steelblue;" />
						</p>
					</h:panelGroup>
				</div>
			</h:form>
		</div>
		<p:ajaxStatus onstart="PF('statusDialogw').show();"
			onsuccess="PF('statusDialogw').hide();" />
		<p:dialog modal="true" widgetVar="statusDialogw"
			header="#{msg_portal['lbl_cargando']}" draggable="false"
			closable="false">
			<p:graphicImage library="images" name="ajaxloadingbar.gif" />
		</p:dialog>
		<p:outputPanel>
			<ui:insert name="dialogArea" />
		</p:outputPanel>
	</h:body>
</f:view>
</html>