9
|
1 |
{% extends "projrev/base.html" %}
|
|
2 |
{% block stylesheets %}
|
|
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" />
|
9
|
5 |
{% endblock stylesheets %}
|
10
|
6 |
|
|
7 |
{% block scripts %}
|
|
8 |
{{ block.super }}
|
|
9 |
{% if exits %}
|
|
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 |
|
9
|
18 |
{% block body %}
|
|
19 |
<form id="login-form" action="#" method="POST">
|
|
20 |
<fieldset>
|
|
21 |
|
|
22 |
<legend>Log in</legend>
|
|
23 |
{% if password_sent %}
|
|
24 |
The password has been mailed to your Email ID.<br/>
|
|
25 |
{% else %}
|
|
26 |
<label for="login">Email</label>
|
|
27 |
<input type="text" id="login" name="username"/>
|
|
28 |
<div class="clear"></div>
|
|
29 |
<br />
|
|
30 |
<input type="submit" style="margin: -20px 0 0 287px;" class="button" name="commit" value="Submit"/>
|
|
31 |
{% endif %}
|
|
32 |
</fieldset>
|
|
33 |
</form>
|
10
|
34 |
<div class='hidden' style="display: none;">
|
|
35 |
<p><a id="inline" href="#"></a></p>
|
|
36 |
<div id='message' style='padding:10px; background:#fff;'>
|
|
37 |
{% if exits %}
|
|
38 |
The Email ID already exists. Please close this box and enter the correct ID.<br/>
|
|
39 |
{% endif %}
|
|
40 |
</div>
|
|
41 |
</div>
|
9
|
42 |
{% endblock body %} |