author | Madhusudan.C.S <madhusudancs@gmail.com> |
Fri, 07 Aug 2009 01:03:56 +0530 | |
changeset 12 | aac4944aca52 |
parent 10 | 393d0030945b |
permissions | -rw-r--r-- |
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 | 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 | 6 |
|
7 |
{% block scripts %} |
|
8 |
{{ block.super }} |
|
9 |
{% if error %} |
|
10 |
<script type="text/javascript"> |
|
11 |
$(document).ready(function () { |
|
12 |
$("#inline").colorbox({width:"50%", inline:true, open: true, href:"#message", title:"Error"}); |
|
13 |
}); |
|
14 |
</script> |
|
15 |
{% endif %} |
|
16 |
{% endblock scripts %} |
|
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 |
|
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 |
|
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 | 41 |
<div class='hidden' style="display: none;"> |
42 |
<p><a id="inline" href="#"></a></p> |
|
43 |
<div id='message' style='padding:10px; background:#fff;'> |
|
44 |
{% if error %} |
|
45 |
You have entered a wrong Email address or password. Please close this box and enter correct credentials.<br/> |
|
46 |
{% endif %} |
|
47 |
</div> |
|
48 |
</div> |
|
8
294ff7ac9cb6
Added new set of files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
49 |
{% endblock body %} |