Hide registration, redirect to correct page after reset, style reset
This commit is contained in:
parent
31de68e3d0
commit
c396c34be2
|
|
@ -59,10 +59,10 @@
|
||||||
<button class="button button--primary button--big actions__submit" data-cy="login-button">Anmelden</button>
|
<button class="button button--primary button--big actions__submit" data-cy="login-button">Anmelden</button>
|
||||||
<a class="actions__reset text-link" href="/accounts/password_reset/">Passwort vergessen?</a>
|
<a class="actions__reset text-link" href="/accounts/password_reset/">Passwort vergessen?</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="registration">
|
<!--div class="registration">
|
||||||
<p class="registration__text">Haben Sie noch kein Konto?</p>
|
<p class="registration__text">Haben Sie noch kein Konto?</p>
|
||||||
<a class="registration__link text-link" href="/accounts/password_reset/">Jetzt registrieren</a>
|
<a class="registration__link text-link" href="/accounts/password_reset/">Jetzt registrieren</a>
|
||||||
</div>
|
</div-->
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -173,8 +173,10 @@ else:
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
LOGOUT_REDIRECT_URL = '/'
|
LOGOUT_REDIRECT_URL = '/login'
|
||||||
LOGIN_REDIRECT_URL = '/'
|
LOGIN_REDIRECT_URL = '/login'
|
||||||
|
|
||||||
|
LOGIN_URL = LOGIN_REDIRECT_URL
|
||||||
|
|
||||||
# Internationalization
|
# Internationalization
|
||||||
# https://docs.djangoproject.com/en/1.11/topics/i18n/
|
# https://docs.djangoproject.com/en/1.11/topics/i18n/
|
||||||
|
|
|
||||||
|
|
@ -132,6 +132,9 @@ input[type=text], input[type=password], input[type=email], select {
|
||||||
border: 1px solid #f0f0f0;
|
border: 1px solid #f0f0f0;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
|
font-size: 16px;
|
||||||
|
font-family: "Montserrat", Arial, sans-serif;
|
||||||
|
font-weight: 400;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reset__form button {
|
.reset__form button {
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,6 @@
|
||||||
<div class="reset">
|
<div class="reset">
|
||||||
<h2 class="reset__heading">{% trans 'Passwort zurücksetzen abgeschlossen' %}</h2>
|
<h2 class="reset__heading">{% trans 'Passwort zurücksetzen abgeschlossen' %}</h2>
|
||||||
<p class="reset__text">{% trans 'Ihr Passwort wurde zurückgesetzt. Sie können sich nun auf der Loginseite anmelden.' %}</p>
|
<p class="reset__text">{% trans 'Ihr Passwort wurde zurückgesetzt. Sie können sich nun auf der Loginseite anmelden.' %}</p>
|
||||||
<p class="reset__text"><a href="{% url "login" %}">{% trans 'Einloggen' %}</a></p>
|
<p class="reset__text"><a href="/login">{% trans 'Einloggen' %}</a></p>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,6 @@
|
||||||
<div class="reset">
|
<div class="reset">
|
||||||
<h2 class="reset__heading">{% trans 'Sie haben es geschafft' %}</h2>
|
<h2 class="reset__heading">{% trans 'Sie haben es geschafft' %}</h2>
|
||||||
<p class="reset__text">% trans 'Ihr Passwort wurde erfolgreich gespeichert. Sie können sich nun anmelden.' %}</p>
|
<p class="reset__text">% trans 'Ihr Passwort wurde erfolgreich gespeichert. Sie können sich nun anmelden.' %}</p>
|
||||||
<p class="reset__text"><a href="{% url "login" %}">{% trans 'Jetzt anmelden' %}</a></p>
|
<p class="reset__text"><a href="/login">{% trans 'Jetzt anmelden' %}</a></p>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue