Samuel Gamez
7 months ago
10 changed files with 253 additions and 145 deletions
After Width: | Height: | Size: 19 KiB |
@ -0,0 +1,79 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<!-- |
||||
|
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license |
||||
|
Click nbfs://nbhost/SystemFileSystem/Templates/JSP_Servlet/XHtml.xhtml to edit this template |
||||
|
--> |
||||
|
<!DOCTYPE html> |
||||
|
<html xmlns="http://www.w3.org/1999/xhtml" |
||||
|
xmlns:ui="http://xmlns.jcp.org/jsf/facelets" |
||||
|
|
||||
|
xmlns:h="http://xmlns.jcp.org/jsf/html" |
||||
|
xmlns:p="http://primefaces.org/ui"> |
||||
|
<head> |
||||
|
<title>Ingreso</title> |
||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/> |
||||
|
<h:outputStylesheet name="./css/default.css"/> |
||||
|
<h:outputStylesheet name="./css/cssLayout.css"/> |
||||
|
|
||||
|
</head> |
||||
|
<center> |
||||
|
|
||||
|
<h:body style="text-align: center; background-color:#ffffff "> |
||||
|
|
||||
|
<div class="titulo" id="top"> |
||||
|
<center> |
||||
|
<h class="centro">Almacen</h> |
||||
|
|
||||
|
</center> |
||||
|
</div> |
||||
|
<h:form id="formLogin"> |
||||
|
|
||||
|
<p:growl id="growl" showDetail="true" for="mensajeLogin"/> |
||||
|
|
||||
|
<p:panel header="Inicio de sesion" style="width:300px"> |
||||
|
|
||||
|
<h:panelGrid style="margin-bottom: 100px"> |
||||
|
|
||||
|
|
||||
|
<img src="../Images/Usuario.png" alt="" width="105" height="110"/> |
||||
|
|
||||
|
|
||||
|
</h:panelGrid> |
||||
|
<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="Ingrese la contraseña"> |
||||
|
|
||||
|
</p:password> |
||||
|
|
||||
|
<p:commandButton icon="pi pi-check" |
||||
|
style="width: 60px" |
||||
|
action="#{demoBeanLogin.login()}" |
||||
|
ajax="false" |
||||
|
update=":formLogin"/> |
||||
|
</h:panelGrid> |
||||
|
|
||||
|
|
||||
|
</p:panel> |
||||
|
|
||||
|
</h:form> |
||||
|
|
||||
|
</h:body> |
||||
|
</center> |
||||
|
</html> |
Loading…
Reference in new issue