1
## -*- coding: utf-8 -*-
2
<%inherit file="base.html"/>
3
<%def name="page_head()">
4
<script type="text/javascript" src="/common/js/jquery.validate.min.js"></script>
5
<script type="text/javascript">
6
$(document).ready(function(){
7
$("#loginForm").validate();
16
<div class="info_header"><h2>Looking to do more with Playdeb?</h2></div>
17
<div class="info_content">
18
% if error_reason == "failed":
19
<p style="color:red;margin-left:text-align: center">Invalid user/password, please try again.</p>
20
% elif error_reason == "auth":
21
<p style="color:red;margin-left:text-align: center">Please check your email to complete registration.</p>
23
<form id="loginForm" class="login_or_register" style="padding-top:10px;" method="post" action="${base_url}/login/">
25
<input name="submitting" value="1" type="hidden" />
26
<input name="referer" value="${referer}" type="hidden" />
27
<legend>Login to your account</legend>
29
<label for="lusername">Username</label>
30
<input id="lusername" name="name" size="25" class="required" />
33
<label for="lpassword">Password</label>
34
<input id="lpassword" type="password" name="password" size="25" class="required password" />
37
<input class="submit" type="submit" value="Login"/>
41
<p class="extra">Forgot your password?</p>
43
<div class="info_footer"></div>
45
<br style="clear:both;" />