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.
64 lines
2.3 KiB
64 lines
2.3 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>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
<h:outputStylesheet name="./css/default.css"/>
|
|
<h:outputStylesheet name="./css/cssLayout.css"/>
|
|
|
|
<title>Facelets Template</title>
|
|
<style>
|
|
|
|
</style>
|
|
</h:head>
|
|
<center>
|
|
|
|
<h:body style="text-align: center">
|
|
<h2> Inventario almacen </h2>
|
|
|
|
<h:form id="formLogin">
|
|
|
|
<p:growl id="growl" showDetail="true" for="mensajeLogin"/>
|
|
|
|
|
|
<p:panel header="Login" style="width:300px">
|
|
|
|
<h:panelGrid columns="1" cellpadding="5">
|
|
|
|
<p:inputText id="usuario"
|
|
value="#{demoBeanLogin.usuarios.nombre}"
|
|
title='nombre'
|
|
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"
|
|
|
|
requiredMessage="Este campo no puede estar vacio"
|
|
placeholder="Ingrse la contraseña"
|
|
style="width: 223px">
|
|
|
|
</p:password>
|
|
|
|
<p:commandButton value="Login"
|
|
action="#{demoBeanLogin.login()}"
|
|
ajax="false"
|
|
update=":formLogin"/>
|
|
</h:panelGrid>
|
|
|
|
|
|
</p:panel>
|
|
|
|
</h:form>
|
|
|
|
</h:body>
|
|
</center>
|
|
</html>
|
|
|