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.

39 lines
1.7 KiB

6 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"
6 months ago
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:p="http://primefaces.org/ui">
6 months ago
<h:head>
<title>Inventario</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
</h:head>
6 months ago
<body style="background-color: #036FAB;" >
<div >
<center>
<h:form>
<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="2" >
<p:inputText id="usuario" required="true" style="margin-top:20px" placeholder="usuario" requiredMessage="campo obligatorio" />
<p:messages for="usuario"/>
<p:password id="contrasenia" required="true" style="margin-top:20px" placeholder= "contraseña" requiredMessage="campo obligatorio" />
<p:messages for="contrasenia"/>
</h:panelGrid>
<p:commandButton ajax="false" value="Login" update="growl" action="#{login.login()}" style=" background-color:#036FAB; margin-top: 20px" />
</center>
</div>
6 months ago
</h:form>
6 months ago
</center>
</div>
6 months ago
6 months ago
</body>
6 months ago
</html>