Init
This commit is contained in:
15
templates/registration/password_reset_complete.html
Normal file
15
templates/registration/password_reset_complete.html
Normal file
@ -0,0 +1,15 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block title %}Hasło zostało zmienione{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="section">
|
||||
<span class="title">
|
||||
Hasło zostało zmienione
|
||||
</span>
|
||||
<br>
|
||||
<span>
|
||||
Możesz się już <a href="{% url 'login' %}">zalogować</a>.
|
||||
</span>
|
||||
</div>
|
||||
{% endblock %}
|
19
templates/registration/password_reset_confirm.html
Normal file
19
templates/registration/password_reset_confirm.html
Normal file
@ -0,0 +1,19 @@
|
||||
{% extends 'base.html' %}
|
||||
{% load crispy_forms_filters %}
|
||||
|
||||
{% block title %}Wpisz nowe hasło{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="section">
|
||||
<div class="is-flex is-flex-direction-column">
|
||||
<span class="title mx-auto">
|
||||
Wpisz nowe hasło
|
||||
</span>
|
||||
<form method="POST" class="is-flex is-flex-direction-column">
|
||||
{% csrf_token %}
|
||||
{{ form | crispy }}
|
||||
<input class="button is-success mx-auto" type="submit" value="Zmień hasło">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
12
templates/registration/password_reset_done.html
Normal file
12
templates/registration/password_reset_done.html
Normal file
@ -0,0 +1,12 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block title %}Email wysłany{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="section">
|
||||
<span class="title">Sprawdź swoją skrzynkę pocztową.</span>
|
||||
<p>
|
||||
Wiadomość z linkiem do zmiany hasła została wysłana na podany email. W razie jej braku, prosimy o sprawdzenie spamu.
|
||||
</p>
|
||||
</div>
|
||||
{% endblock %}
|
16
templates/registration/password_reset_email.html
Normal file
16
templates/registration/password_reset_email.html
Normal file
@ -0,0 +1,16 @@
|
||||
{% autoescape on %}
|
||||
Dzień dobry
|
||||
|
||||
Otrzymują Państwo tą wiadomość, gdyż skorzystano z opcji resetu hasła na stronie https://puchar.lo5.bielsko.pl.
|
||||
|
||||
Aby wprowadzić nowe hasło, proszę przejść na stronę, której adres widnieje poniżej:
|
||||
{% block reset_link %}
|
||||
{{ protocol }}://{{ domain }}{% url 'password_reset_confirm' uidb64=uid token=token %}
|
||||
{% endblock %}
|
||||
|
||||
Dziękujemy za korzystanie z naszej strony!
|
||||
|
||||
V Liceum Ogólnokształcące w Bielsku-Białej
|
||||
|
||||
Wiadomość ta została wysłana automatycznie, prosimy na nią nie odpowiadać.
|
||||
{% endautoescape %}
|
20
templates/registration/password_reset_form.html
Normal file
20
templates/registration/password_reset_form.html
Normal file
@ -0,0 +1,20 @@
|
||||
{% extends 'base.html' %}
|
||||
{% load crispy_forms_filters %}
|
||||
|
||||
{% block title %}Zmiana hasła{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="section">
|
||||
<div class="is-flex is-flex-direction-column">
|
||||
<span class="title has-text-centered my-2">
|
||||
Wpisz adres email podany w trakcie rejestracji.
|
||||
Dostarczona zostanie na niego wiadomość zawierająca link umożliwiający zmianę hasła
|
||||
</span>
|
||||
<form method="POST" class="is-flex is-flex-direction-column">
|
||||
{% csrf_token %}
|
||||
{{ form | crispy }}
|
||||
<input type="submit" class="button is-success mx-auto" value="Wyślij wiadomość">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
Reference in New Issue
Block a user