very first very rough django setup with a login/passwd view and a
[myslice.git] / templates / auth.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
3 <head>
4 <title>Log in</title>
5 <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
6 <style>
7 body{
8         font-family:Arial,Helvetica,sans-serif;
9         font-size: 12px;
10 }
11 </style>
12 </head>
13 <body>
14         {{ state }}
15         <form action="/login/" method="post">
16                 {% csrf_token %}
17                 {% if next %}
18                 <input type="hidden" name="next" value="{{ next }}" />
19                 {% endif %}
20                 username:
21                 <input type="text" name="username" value="{{ username}}" /><br />
22                 password:
23                 <input type="password" name="password" value="" /><br />
24
25                 <input type="submit" value="Log In" />
26         </form>
27 </body>
28 </html>