Created
January 5, 2014 18:28
-
-
Save Tembrel/8271952 to your computer and use it in GitHub Desktop.
Login form for use with custom authenticator.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<#escape x as x?html> | |
<html> | |
<head> | |
<title>Login</title> | |
<link href="/css/main.css" rel="stylesheet" type="text/css" /> | |
</head> | |
<body> | |
<#include "/lib/masthead.ftl"> | |
<@masthead showAuthLink=false>Login</@masthead> | |
<div class="the-body"> | |
<form class="the-form" method="POST" action="${loginPath}?${redirectQueryName}=${redirectQueryValue}"> | |
<fieldset> | |
<legend>Enter user name and password</legend> | |
<ol> | |
<li> | |
<label for="user">User</label> | |
<input type="text" id="user" name="${identifierFormName}" size="15" | |
autofocus="autofocus" | |
<#if initialUserValue??> | |
value="${initialUserValue}" | |
<#else> | |
autofocus="autofocus" | |
</#if> | |
/> | |
</li> | |
<li> | |
<label for="password">Password</label> | |
<input type="password" id="password" name="${secretFormName}" size="15" | |
title="Passwords typically have both numbers and uppercase AND lowercase letters" | |
<#if initialUserValue??> | |
autofocus="autofocus" | |
</#if> | |
/> | |
</li> | |
</ol> | |
</fieldset> | |
<fieldset> | |
<button type="submit">Login</button> | |
</fieldset> | |
</form> | |
</div> | |
</body> | |
</html> | |
</#escape> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment