<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>predic8 Login</title>
<link rel="stylesheet" href="main.css" type="text/css" />
</head>

<body>
<div class="content">
<div class="logo">
<img class="logo" src="http://predic8.de/logo4.png" />
&nbsp;
</div>
<div class="loginbox">

${if error}
<p> Error: <span class="error">
${if error='INVALID_PASSWORD'}
Invalid password. ${if accountBlocked} Your account has been temporarily blocked. ${end}
${else}
${if error='INTERNAL_SERVER_ERROR'}
Internal error.
${else}
${if error='INVALID_TOKEN'}
Invalid Token. ${if accountBlocked} Your account has been temporarily blocked. ${end}
${else}
${if error='ACCOUNT_BLOCKED'}
Your account has been temporarily blocked.
${else}
${error}
${end}
${end}
${end}
${end}
</span></p>
${end}
 
<form method="post" action="${action}" accept-charset="UTF-8">
<input type="hidden" name="target" value="${target}" />
 
${if token}
 
Please enter your token:<br/>
<input type="text" name="token" autofocus /><br/>
<br/>
<input type="submit" value="Verify" /><br/>
 
${else}
 
Username:<br/>
<input type="text" name="username" autofocus /><br/>
Password:<br/>
<input type="password" name="password" /><br/>
<br/>
<input type="submit" value="Login" /><br/>
 
${end}
 
</form>

</div>
</div>
</body>
</html>