app/templates/projrev/auth/forgot_password.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Sat, 08 Aug 2009 23:54:36 +0530
changeset 18 05b9e60e6a10
parent 10 393d0030945b
permissions -rw-r--r--
Changed CSS and removed Withdraw proposal.

{% extends "projrev/base.html" %}
{% block stylesheets %}
<link rel="stylesheet" href="/site-content/css/login.css" type="text/css"/>
<link type="text/css" rel="stylesheet" href="/site-content/css/colorbox.css" />
{% endblock stylesheets %}

{% block scripts %}
{{ block.super }}
{% if exits %}
<script type="text/javascript">
  $(document).ready(function () {
    $("#inline").colorbox({width:"50%", inline:true, open: true, href:"#message", title:"Error"});
  });
</script>
{% endif %}
{% endblock scripts %}

{% block body %}
  <form id="login-form" action="#" method="POST">
    <fieldset>
    
      <legend>Log in</legend>
      {% if password_sent %}
      The password has been mailed to your Email ID.<br/>
      {% else %}
      <label for="login">Email</label>
      <input type="text" id="login" name="username"/>
      <div class="clear"></div>
      <br />
      <input type="submit" style="margin: -20px 0 0 287px;" class="button" name="commit" value="Submit"/>
      {% endif %} 
    </fieldset>
  </form>
  <div class='hidden' style="display: none;">
    <p><a id="inline" href="#"></a></p>
    <div id='message' style='padding:10px; background:#fff;'>
      {% if exits %}
      The Email ID already exists. Please close this box and enter the correct ID.<br/>
      {% endif %}
    </div>
  </div>
{% endblock body %}