You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
2.8 KiB

7 months ago
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
7 months ago
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:p="http://primefaces.org/ui">
7 months ago
<h:head>
<title>Inventario</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
</h:head>
7 months ago
<body style="background-color: #036FAB;" >
<div >
<center>
<h:form id="formLogin">
7 months ago
<div style=" height: 500px; width: 500px; background-color: #ffffff; align-content:center; margin-top: 100px; border-radius: 15px;">
<p:graphicImage value="/resources/imagen/usuario.png" style="height: 200px; width: 300px; "/>
<p:growl id="growl" showDetail="true" />
<center>
<h:panelGrid columns="1" cellpadding="5">
<p:inputText id="usuarios"
value="#{demoBeanLogin.usuarios.usuario}"
title='usuario'
style="margin-top:20px"
required="true"
requiredMessage="Este campo no puede estar vacio"
placeholder="Ingrese el usuario">
</p:inputText>
<p:password id="contrasenia"
value="#{demoBeanLogin.usuarios.contrasenia}"
title="contraseña"
redisplay="true"
required="true"
style="margin-top:20px"
requiredMessage="Este campo no puede estar vacio"
placeholder="Ingrese la contraseña">
</p:password>
6 months ago
<p:commandButton value="Iniciar sesión"
style="left: 35px; background-color:#036FAB; margin-top: 20px;"
action="#{demoBeanLogin.login()}"
ajax="false"
update=":formLogin"
/>
</h:panelGrid>
</center>
</div>
</h:form>
</center>
7 months ago
</div>
7 months ago
</body>
7 months ago
</html>