Simplified login/register page for mobile devices.
[wolnelektury.git] / wolnelektury / templates / auth / login.html
1 {% load i18n %}
2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
3 "http://www.w3.org/TR/html4/strict.dtd">
4 <html>
5         <head>
6                 <title>{% trans "Authorize Token" %}</title>
7                 <link rel="stylesheet" href="/static/css/mobile.css" media="handheld, only screen and (max-device-width:480px)"/>
8                 <meta name="viewport" content="width=320" />            
9         </head>
10     <body>
11         <h1>WolneLektury.pl - {% trans "Sign in" %} / {% trans "Register"%}</h1>
12         <form method="post" action="." id="login-form" class="cuteform">
13             <h2>{% trans "Sign in" %}</h2>
14             <ul>
15                 {{ form.as_ul }}
16                 <li><input type="submit" value="{% trans "Sign in" %}" /></li>
17             </ul>
18             <p><input type="hidden" name="next" value="{{ next }}" /></p>
19         </form>
20
21         <form action="." method="post" accept-charset="utf-8" id="registration-form">
22             <h2>{% trans "Register" %}</h2>
23             <ul>
24                 <li><input type="submit" value="{% trans "Register" %}"/></li>
25             </ul>
26         </form>
27     </body>
28 </html>