1 {% extends "projrev/base.html" %} |
1 {% extends "projrev/base.html" %} |
2 {% block stylesheets %} |
2 {% block stylesheets %} |
3 <link rel="stylesheet" href="/site-content/css/login.css" type="text/css"/> |
3 <link rel="stylesheet" href="/site-content/css/login.css" type="text/css"/> |
|
4 <link type="text/css" rel="stylesheet" href="/site-content/css/colorbox.css" /> |
4 {% endblock stylesheets %} |
5 {% endblock stylesheets %} |
|
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 |
5 {% block body %} |
18 {% block body %} |
6 <form id="login-form" action="#" method="POST"> |
19 <form id="login-form" action="#" method="POST"> |
7 <fieldset> |
20 <fieldset> |
8 |
21 |
9 <legend>Log in</legend> |
22 <legend>Log in</legend> |
10 {% if error %} |
|
11 |
|
12 |
|
13 Wrong Email or password.<br/> |
|
14 {% endif %} |
|
15 <label for="login">Email</label> |
23 <label for="login">Email</label> |
16 <input type="text" id="login" name="username"/> |
24 <input type="text" id="login" name="username"/> |
17 <div class="clear"></div> |
25 <div class="clear"></div> |
18 |
26 |
19 <label for="password">Password</label> |
27 <label for="password">Password</label> |