X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/5207c4d8ee23d6d5df532faa8103a34b1572e45f..1ec74acaf19f8e008caa16d50c289a3bf0ae6eb4:/wolnelektury/templates/auth/login.html diff --git a/wolnelektury/templates/auth/login.html b/wolnelektury/templates/auth/login.html index 204cce641..caa0aea2c 100644 --- a/wolnelektury/templates/auth/login.html +++ b/wolnelektury/templates/auth/login.html @@ -1,28 +1,20 @@ {% load i18n %} -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" -"http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <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> - <h1>WolneLektury.pl - {% trans "Sign in" %} / {% trans "Register"%}</h1> - <form method="post" action="." id="login-form" class="cuteform"> - <h2>{% trans "Sign in" %}</h2> - <ul> - {{ form.as_ul }} - <li><input type="submit" value="{% trans "Sign in" %}" /></li> - </ul> - <p><input type="hidden" name="next" value="{{ next }}" /></p> - </form> +<h1>{{ title }}</h1> - <form action="." method="post" accept-charset="utf-8" id="registration-form"> - <h2>{% trans "Register" %}</h2> - <ul> - <li><input type="submit" value="{% trans "Register" %}"/></li> - </ul> - </form> - </body> -</html> +<form action="{{ request.get_full_path }}" method="post" accept-charset="utf-8" + class="cuteform{% if placeholdize %} hidelabels{% endif %}"> +<ol> + <div id="id_{% if form_prefix %}{{ form_prefix }}-{% endif %}__all__"></div> + {{ form.as_ul }} + <li><a href="{% url account_reset_password %}">{% trans "Forgot Password?" %}</a></li> + <li><input type="submit" value="{{ submit }}"/></li> +</ol> +</form> + +<h1>{% trans "Sign in using:" %}</h1> + +<ul class="socialaccount_providers"> +{% include "socialaccount/snippets/provider_list.html" %} +</ul> + +{% include "socialaccount/snippets/login_extra.html" %}