X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/2c8cbdedff9b723bd481e51d3aea771dd93fee7a..e24e657ebf536f55c1bde66bd41563fae30a98b0:/src/wolnelektury/templates/registration/login.html?ds=sidebyside diff --git a/src/wolnelektury/templates/registration/login.html b/src/wolnelektury/templates/registration/login.html index 691d3db3b..a5a71d372 100644 --- a/src/wolnelektury/templates/registration/login.html +++ b/src/wolnelektury/templates/registration/login.html @@ -1,50 +1,40 @@ -{% extends "2022/base.html" %} +{% extends "base_simple.html" %} {% load i18n %} +{% block settings %} + {% load title %} + {% trans 'Zaloguj siÄ' as title %} + {% title title %} +{% endblock %} + + +{% block sbreadcrumbs %} + <a>{% trans "Zaloguj siÄ" %}</a> +{% endblock %} + +{% block stitle %}{% trans "Zaloguj siÄ" %}{% endblock %} + {% block content %} - <div class="l-container"> - <div class="l-breadcrumb"> - <a href="/"><span>Strona gÅówna</span></a> - <a>Zaloguj siÄ</a> - </div> - </div> - - <main class="l-main"> - <div class="l-checkout__box" style="margin-bottom: 70px;"> - <div class="l-checkout__box__header"> - <div class="l-checkout__box__header__content"> - <h1>Zaloguj siÄ</h1> - </div> - </div> - <div class="l-checkout__cols"> - <div class="l-checkout__col"></div> - <div class="l-checkout__col"> - <form method="post"> - <div class="l-checkout__form"> - {% csrf_token %} - {{ form }} - <div class="l-checkout__form__row confirm"> - <div class="l-checkout__input"> - <button style="margin-left:0">Dalej</button> - </div> - </div> - - <a href="{% url 'account_reset_password' %}">{% trans "Forgot Password?" %}</a> - </div> - </form> - - {% if USE_OPENID %} - <h3>{% trans "Sign in using:" %}</h3> - - <ul class="socialaccount_providers"> - {% include "socialaccount/snippets/provider_list.html" %} - </ul> - - {% include "socialaccount/snippets/login_extra.html" %} - {% endif %} - - </div> - </div> - </div> - </main> + <h1>{{ title }}</h1> + + <form method="post"> + {% csrf_token %} + {{ form }} + <button>{% trans "Dalej" %}</button> + + <a href="{% url 'account_reset_password' %}">{% trans "Nie pamiÄtasz hasÅa?" %}</a> + + <br><br> + <a href="{% url 'register' %}?next={{ request.GET.next }}">{% trans "Nie masz jeszcze konta?" %}</a> + + {% if USE_OPENID %} + <h3>{% trans "Zaloguj siÄ używajÄ c:" %}</h3> + + <ul class="socialaccount_providers"> + {% include "socialaccount/snippets/provider_list.html" %} + </ul> + + {% include "socialaccount/snippets/login_extra.html" %} + {% endif %} + </form> {% endblock %}