X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ae60b2a3949e96357477cc04f90fd0873cee8a92..7dcb126f47bdbc52b9ad33b24386da410ee695b5:/src/wolnelektury/templates/openid/login.html diff --git a/src/wolnelektury/templates/openid/login.html b/src/wolnelektury/templates/openid/login.html index 41eafa479..ff68a6465 100644 --- a/src/wolnelektury/templates/openid/login.html +++ b/src/wolnelektury/templates/openid/login.html @@ -1,33 +1,32 @@ -{% extends "site_base.html" %} +{% extends "openid/base.html" %} -{% load i18n %} -{% load uni_form_tags %} - -{% block head_title %}{% trans "OpenID Sign In" %}{% endblock %} - -{% block body %} -<h1>{% trans 'OpenID Sign In' %}</h1> -<div class="normal-text white-box"> +{% load i18n %} +{% block settings %} + {% load title %} + {% trans "Logowanie przez OpenID" as title %} + {% title title %} +{% endblock %} -<form id="openid_login_form" class="openid_login uniForm" method="post" action="{% url 'openid_login' %}"> -{% csrf_token %} -<fieldset class="inlineLabels"> -{#{form|as_uni_form}#} -<div id="div_id_openid" class="ctrlHolder"> -<label for="id_openid" class="requiredField"> -OpenID<span class="asteriskField">*</span> -</label> -<input id="id_openid" type="text" class="textInput textinput" name="openid" /> -</div> +{% block breadcrumbs %} + <a href="{% url 'login' %}"><span>{% trans "Zaloguj siÄ" %}</span></a> + {{ block.super }} +{% endblock %} -<div class="buttonHolder"> -<button type="submit">{% trans "Sign In" %}</button> -</div> -</fieldset> -</form> +{% block head_title %}{% endblock %} -</div> +{% block body %} + <h1>{% trans 'Logowanie przez OpenID' %}</h1> + <div class="normal-text white-box"> + <form id="openid_login_form" class="openid_login" method="post" action="{% url 'openid_login' %}"> + {% csrf_token %} + <label for="id_openid" class="required"> + OpenID: + </label><br> + <input id="id_openid" type="text" class="textinput" name="openid" /><br><br> + <button type="submit">{% trans "Zaloguj siÄ" %}</button> + </form> + </div> {% endblock %}