projectDAE/ProjectDAE/ProjectDAE-war/build/web/login.xhtml

35 lines
1.2 KiB
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:h="http://xmlns.jcp.org/jsf/html"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<h:head>
<title>Facelet Title</title>
</h:head>
<h:body>
<p>Introduza as suas credenciais:</p>
<form method="post" action="j_security_check">
<h:panelGrid columns="2">
<h:outputLabel for="j_username" value="Utilizador: " />
<input type="text" name="j_username" />
<h:outputLabel for="j_password" value="Palavra passe: " />
<input type="password" name="j_password" />
</h:panelGrid>
<br></br>
<h:panelGrid columns="3">
<input type="submit" name="submit" value="Entrar" />
<input type="reset" value="Limpar"/>
<h:button outcome="index" value="Cancelar" />
</h:panelGrid>
</form>
</h:body>
</html>