2010-10-29 19:12:40 +00:00
|
|
|
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
|
|
|
|
|
|
|
<#-- Login widget -->
|
|
|
|
|
2010-11-03 02:26:48 +00:00
|
|
|
<#macro assets>
|
2010-10-29 19:12:40 +00:00
|
|
|
<#if ! loginName??>
|
2010-11-10 19:50:28 +00:00
|
|
|
${stylesheets.add("/css/login.css")}
|
2010-11-03 02:26:48 +00:00
|
|
|
<#-- define any js files needed for the login widget
|
|
|
|
${scripts.add("")}
|
|
|
|
${headScripts.add("")} -->
|
2010-10-29 19:12:40 +00:00
|
|
|
</#if>
|
|
|
|
</#macro>
|
|
|
|
|
|
|
|
<#macro markup>
|
2010-11-05 19:29:27 +00:00
|
|
|
<#if ! loginName??>
|
|
|
|
<section id="log-in">
|
|
|
|
<h2>Log in</h2>
|
|
|
|
|
|
|
|
<form id="log-in-form" action="${urls.home}/authenticate?login=block" method="post" name="log-in-form" />
|
|
|
|
<label for="email">Email</label>
|
|
|
|
<input class="text-field" name="loginName" id="loginName" type="text" required />
|
|
|
|
|
|
|
|
<label for="password">Password</label>
|
|
|
|
<input class="text-field" name="loginPassword" id="password" type="loginPassword" required />
|
|
|
|
|
|
|
|
<p class="submit"><input name="loginForm" type="submit" class="green button" value="Log in"/></p>
|
|
|
|
|
|
|
|
<input class="checkbox-remember-me" name="remember-me" type="checkbox" value="" />
|
|
|
|
<label class="label-remember-me" for="remember-me">Remember me</label>
|
2010-10-29 19:12:40 +00:00
|
|
|
</form>
|
2010-11-05 19:29:27 +00:00
|
|
|
|
|
|
|
<p class="forgot-password"><a href="#">Forgot your password?</a></p>
|
|
|
|
<p class="request-account"><a class=" blue button" href="#">Request an account</a> </p>
|
|
|
|
</section><!-- #log-in -->
|
2010-10-29 19:12:40 +00:00
|
|
|
</#if>
|
2010-11-05 19:29:27 +00:00
|
|
|
</#macro> -->
|