fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
OAuth Token authorization template with mobile viewport
[wolnelektury.git]
/
apps
/
piston
/
templates
/
piston
/
authorize_token.html
diff --git
a/apps/piston/templates/piston/authorize_token.html
b/apps/piston/templates/piston/authorize_token.html
index
59c09e3
..
d3ec588
100644
(file)
--- a/
apps/piston/templates/piston/authorize_token.html
+++ b/
apps/piston/templates/piston/authorize_token.html
@@
-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