app/templates/projrev/auth/login.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Thu, 06 Aug 2009 22:43:02 +0530
changeset 10 393d0030945b
parent 9 38727da8a948
permissions -rw-r--r--
Forgot pasword.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8
294ff7ac9cb6 Added new set of files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     1
{% extends "projrev/base.html" %}
294ff7ac9cb6 Added new set of files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     2
{% block stylesheets %}
294ff7ac9cb6 Added new set of files.
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" />
8
294ff7ac9cb6 Added new set of files.
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 error %}
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
8
294ff7ac9cb6 Added new set of files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    18
{% block body %}
294ff7ac9cb6 Added new set of files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    19
  <form id="login-form" action="#" method="POST">
294ff7ac9cb6 Added new set of files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    20
    <fieldset>
294ff7ac9cb6 Added new set of files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    21
    
294ff7ac9cb6 Added new set of files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    22
      <legend>Log in</legend>
294ff7ac9cb6 Added new set of files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    23
      <label for="login">Email</label>
294ff7ac9cb6 Added new set of files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    24
      <input type="text" id="login" name="username"/>
294ff7ac9cb6 Added new set of files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    25
      <div class="clear"></div>
294ff7ac9cb6 Added new set of files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    26
      
294ff7ac9cb6 Added new set of files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    27
      <label for="password">Password</label>
294ff7ac9cb6 Added new set of files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    28
      <input type="password" id="password" name="password"/>
294ff7ac9cb6 Added new set of files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    29
      <div class="clear"></div>
294ff7ac9cb6 Added new set of files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    30
294ff7ac9cb6 Added new set of files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    31
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
294ff7ac9cb6 Added new set of files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    32
      <a href="/create_account" >Create Account</a>
294ff7ac9cb6 Added new set of files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    33
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
294ff7ac9cb6 Added new set of files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    34
      <a href="/forgot_password" >Forgot Password</a>
294ff7ac9cb6 Added new set of files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    35
      <div class="clear"></div>
294ff7ac9cb6 Added new set of files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    36
      <br />
294ff7ac9cb6 Added new set of files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    37
      <br />
294ff7ac9cb6 Added new set of files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    38
      <input type="submit" style="margin: -20px 0 0 287px;" class="button" name="commit" value="Log in"/> 
294ff7ac9cb6 Added new set of files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    39
    </fieldset>
294ff7ac9cb6 Added new set of files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    40
  </form>
10
393d0030945b Forgot pasword.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 9
diff changeset
    41
  <div class='hidden' style="display: none;">
393d0030945b Forgot pasword.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 9
diff changeset
    42
    <p><a id="inline" href="#"></a></p>
393d0030945b Forgot pasword.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 9
diff changeset
    43
    <div id='message' style='padding:10px; background:#fff;'>
393d0030945b Forgot pasword.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 9
diff changeset
    44
      {% if error %}
393d0030945b Forgot pasword.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 9
diff changeset
    45
      You have entered a wrong Email address or password. Please close this box and enter correct credentials.<br/>
393d0030945b Forgot pasword.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 9
diff changeset
    46
      {% endif %}
393d0030945b Forgot pasword.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 9
diff changeset
    47
    </div>
393d0030945b Forgot pasword.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 9
diff changeset
    48
  </div>
8
294ff7ac9cb6 Added new set of files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    49
{% endblock body %}