Searching, filtering fixes.
[wolnelektury.git] / src / wolnelektury / templates / registration / login.html
index 691d3db..150988a 100644 (file)
@@ -1,50 +1,40 @@
-{% extends "2022/base.html" %}
+{% extends "2022/base_simple.html" %}
 {% load i18n %}
 
+{% block settings %}
+  {% load title %}
+  {% trans 'Sign In' as title %}
+  {% title title %}
+{% endblock %}
+
+
+{% block sbreadcrumbs %}
+  <a>Zaloguj się</a>
+{% endblock %}
+
+{% block stitle %}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>Dalej</button>
+
+    <a href="{% url 'account_reset_password' %}">{% trans "Forgot Password?" %}</a>
+
+    <br><br>
+    <a href="{% url 'register' %}?next={{ request.GET.next }}">Nie masz jeszcze konta?</a>
+
+    {% 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 %}
+  </form>
 {% endblock %}