Files
myhealth/1.sources/MyHealth/docroot/login.xhtml
2019-11-20 02:00:09 +01:00

28 lines
1004 B
HTML

<?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:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html">
<h:head>
<title>login</title>
</h:head>
<ui:composition template="./header.xhtml">
<ui:define name="content">
<h:form>
<h3>myHealth login page</h3>
<h:outputText value="Usuario:" />
<h:inputText id="Uusario" value="#{login.userName}"></h:inputText>
<h:message for="username"></h:message>
<br></br><br></br>
<h:outputText value="Contraseña" />
<h:inputSecret id="password" value="#{login.password}"></h:inputSecret>
<h:message for="password"></h:message>
<br></br><br></br>
<h:commandButton action="#{login.validateUsernamePassword}" value="Login"></h:commandButton>
</h:form>
</ui:define>
</ui:composition>
</html>