app/templates/projrev/auth/forgot_password.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Mon, 10 Aug 2009 02:13:02 +0530
changeset 28 be65e84e7d03
parent 10 393d0030945b
permissions -rw-r--r--
Added star-plugin files.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9
38727da8a948 Create Account
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     1
{% extends "projrev/base.html" %}
38727da8a948 Create Account
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     2
{% block stylesheets %}
38727da8a948 Create Account
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     3
<link rel="stylesheet" href="/site-content/css/login.css" type="text/css"/>
10
393d0030945b Forgot pasword.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 9
diff changeset
     4
<link type="text/css" rel="stylesheet" href="/site-content/css/colorbox.css" />
9
38727da8a948 Create Account
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     5
{% endblock stylesheets %}
10
393d0030945b Forgot pasword.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 9
diff changeset
     6
393d0030945b Forgot pasword.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 9
diff changeset
     7
{% block scripts %}
393d0030945b Forgot pasword.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 9
diff changeset
     8
{{ block.super }}
393d0030945b Forgot pasword.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 9
diff changeset
     9
{% if exits %}
393d0030945b Forgot pasword.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 9
diff changeset
    10
<script type="text/javascript">
393d0030945b Forgot pasword.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 9
diff changeset
    11
  $(document).ready(function () {
393d0030945b Forgot pasword.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 9
diff changeset
    12
    $("#inline").colorbox({width:"50%", inline:true, open: true, href:"#message", title:"Error"});
393d0030945b Forgot pasword.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 9
diff changeset
    13
  });
393d0030945b Forgot pasword.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 9
diff changeset
    14
</script>
393d0030945b Forgot pasword.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 9
diff changeset
    15
{% endif %}
393d0030945b Forgot pasword.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 9
diff changeset
    16
{% endblock scripts %}
393d0030945b Forgot pasword.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 9
diff changeset
    17
9
38727da8a948 Create Account
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    18
{% block body %}
38727da8a948 Create Account
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    19
  <form id="login-form" action="#" method="POST">
38727da8a948 Create Account
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    20
    <fieldset>
38727da8a948 Create Account
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    21
    
38727da8a948 Create Account
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    22
      <legend>Log in</legend>
38727da8a948 Create Account
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    23
      {% if password_sent %}
38727da8a948 Create Account
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    24
      The password has been mailed to your Email ID.<br/>
38727da8a948 Create Account
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    25
      {% else %}
38727da8a948 Create Account
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    26
      <label for="login">Email</label>
38727da8a948 Create Account
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    27
      <input type="text" id="login" name="username"/>
38727da8a948 Create Account
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    28
      <div class="clear"></div>
38727da8a948 Create Account
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    29
      <br />
38727da8a948 Create Account
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    30
      <input type="submit" style="margin: -20px 0 0 287px;" class="button" name="commit" value="Submit"/>
38727da8a948 Create Account
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    31
      {% endif %} 
38727da8a948 Create Account
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    32
    </fieldset>
38727da8a948 Create Account
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    33
  </form>
10
393d0030945b Forgot pasword.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 9
diff changeset
    34
  <div class='hidden' style="display: none;">
393d0030945b Forgot pasword.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 9
diff changeset
    35
    <p><a id="inline" href="#"></a></p>
393d0030945b Forgot pasword.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 9
diff changeset
    36
    <div id='message' style='padding:10px; background:#fff;'>
393d0030945b Forgot pasword.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 9
diff changeset
    37
      {% if exits %}
393d0030945b Forgot pasword.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 9
diff changeset
    38
      The Email ID already exists. Please close this box and enter the correct ID.<br/>
393d0030945b Forgot pasword.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 9
diff changeset
    39
      {% endif %}
393d0030945b Forgot pasword.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 9
diff changeset
    40
    </div>
393d0030945b Forgot pasword.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 9
diff changeset
    41
  </div>
9
38727da8a948 Create Account
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    42
{% endblock body %}