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
1.4 KiB

<?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:h="http://xmlns.jcp.org/jsf/html"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:p="http://primefaces.org/ui">
<body>
<ui:composition template="./template/VistasChidas.xhtml">
<ui:define name="top">
</ui:define>
<ui:define name="content">
<h:form>
<p:panelGrid columns="2">
<p:outputLabel for="nombre">Nombre de usuario:</p:outputLabel>
<p:inputText id="nombre" value="#{login.nombre}" required="true" />
<p:outputLabel for="pass">Contraseña:</p:outputLabel>
<p:password id="pass" value="#{login.pass}" required="true" />
</p:panelGrid>
<p:commandButton value="Iniciar sesión" action="#{login.login}" />
</h:form>
</ui:define>
<ui:define name="bottom">
bottom
</ui:define>
</ui:composition>
</body>
</html>