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.
56 lines
2.8 KiB
56 lines
2.8 KiB
<?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"
|
|
xmlns:h="http://xmlns.jcp.org/jsf/html"
|
|
xmlns:p="http://primefaces.org/ui">
|
|
<h:head>
|
|
<title>Inventario</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
|
</h:head>
|
|
<body style="background-color: #036FAB;" >
|
|
<div >
|
|
<center>
|
|
<h:form id="formLogin">
|
|
<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>
|
|
|
|
<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>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|
|
|