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.
38 lines
1.7 KiB
38 lines
1.7 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>
|
|
<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>
|
|
</h:form>
|
|
</center>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|
|
|