OAuth Token authorization template with mobile viewport
authorŁukasz Anwajler <lukasz@anwajler.com>
Wed, 23 Feb 2011 23:52:12 +0000 (15:52 -0800)
committerŁukasz Anwajler <lukasz@anwajler.com>
Wed, 23 Feb 2011 23:52:12 +0000 (15:52 -0800)
apps/piston/templates/piston/authorize_token.html

index 59c09e3..d3ec588 100644 (file)
@@ -1,15 +1,17 @@
+{% load i18n %}
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
 "http://www.w3.org/TR/html4/strict.dtd">
 <html>
        <head>
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
 "http://www.w3.org/TR/html4/strict.dtd">
 <html>
        <head>
-               <title>Authorize Token</title>
+               <title>{% trans "Authorize Token" %}</title>
+               <link rel="stylesheet" href="/static/css/mobile.css" media="handheld, only screen and (max-device-width:480px)"/>
+               <meta name="viewport" content="width=320" />
        </head>
        <body>
        </head>
        <body>
-               <h1>Authorize Token</h1>
-
-        <form action="{% url piston.authentication.oauth_user_auth %}" method="POST">
+               <h1>WolneLektury.pl - {% trans "Authorize Token" %}</h1>
+        <form action="{% url piston.authentication.oauth_user_auth %}" method="post">
             {{ form.as_table }}
             {{ form.as_table }}
+            <input type="submit" value="{% trans "Confirm" %}" />
         </form>
         </form>
-
        </body>
        </body>
-</html>
+</html>
\ No newline at end of file