Anfänglicher Commit: Producion Version Stand: Oktober 2014
This commit is contained in:
62
templates/registration/login.html
Normal file
62
templates/registration/login.html
Normal file
@@ -0,0 +1,62 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% load url from future %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block title %}{% trans 'login' %}{% endblock %}
|
||||
|
||||
{% block maincontent %}
|
||||
<form method="post" action="{% url 'django.contrib.auth.views.login' %}">
|
||||
<h2 class="grid_12">Auf der Seite Anmelden</h2>
|
||||
|
||||
<div class="grid_7">
|
||||
<h2>{% trans "Have you already registered?" %}</h2>
|
||||
{% blocktrans %}
|
||||
<p>As a registered member you can:</p>
|
||||
<ul>
|
||||
<li>leave comments on this page.</li>
|
||||
<li>subscribe to our Newsletter</li>
|
||||
<li>apply to a membership to our club</li>
|
||||
<li>club-members have access to our ranking-system</li>
|
||||
</ul>
|
||||
{% endblocktrans %}
|
||||
{% blocktrans %}
|
||||
<p>You can register here with your Google, or Facebook account.
|
||||
If you don't own such an account, or do not want to use it for authentication,
|
||||
you can fill out our registration form.</p>
|
||||
{% endblocktrans %}
|
||||
<p class="more_link">
|
||||
<a href="{% url 'membership-register' %}" class="button">
|
||||
<img src="{{STATIC_URL}}icons/user_add.png" alt="{%trans "register"%}"/>
|
||||
{%trans "register"%}</a></p>
|
||||
</div>
|
||||
|
||||
|
||||
{% csrf_token %}
|
||||
<fieldset class="grid_5">
|
||||
<legend>{% trans 'login' %}</legend>
|
||||
{% csrf_token %}
|
||||
{% include 'form.html' %}
|
||||
{% if form.errors %}
|
||||
<p>{% blocktrans %}Your username and password didn't match. Please try again.{% endblocktrans %}</p>
|
||||
{% endif %}
|
||||
<input type="hidden" name="next" value="{{next}}" />
|
||||
<p><a href="{% url 'password_reset' %}">{% trans 'Forgot your Password?'%}</a></p>
|
||||
<div class="buttonbar">
|
||||
<button type="submit">
|
||||
<img src="{{STATIC_URL}}icons/lock_break.png" alt="{% trans "Login" %}" /> {% trans "Login" %}
|
||||
</button></div>
|
||||
</fieldset>
|
||||
|
||||
|
||||
|
||||
<div class="grid_5" style="text-align: center;">
|
||||
<h2>{% trans "or login with an existing Account" %}</h2>
|
||||
<a rel="nofollow" href="{% url 'social:begin' 'facebook' %}"><img src="{{STATIC_URL}}/img/facebook.png" alt="{% trans 'Login with Facebook' %}" title="{% trans 'Login with Facebook' %}"/></a>
|
||||
<a rel="nofollow" href="{% url 'social:begin' 'twitter' %}"><img src="{{STATIC_URL}}/img/twitter.png" alt="{% trans 'Login with twitter' %}" title="{% trans 'Login with Twitter' %}"/></a>
|
||||
<a rel="nofollow" href="{% url 'social:begin' 'google-oauth2' %}"><img src="{{STATIC_URL}}/img/google.png" width="78" height="78" alt="{% trans 'Login with Google' %}" title="{% trans 'Login with Google' %}"/></a>
|
||||
|
||||
|
||||
</div>
|
||||
</form>
|
||||
{% endblock %}
|
||||
9
templates/registration/password_change_done.html
Normal file
9
templates/registration/password_change_done.html
Normal file
@@ -0,0 +1,9 @@
|
||||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block title %}{% trans 'Password change successful' %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h2>{% trans 'Password change successful' %}</h2>
|
||||
<p class="info">{% trans 'Your password was changed.' %}</p>
|
||||
{% endblock %}
|
||||
28
templates/registration/password_change_form.html
Normal file
28
templates/registration/password_change_form.html
Normal file
@@ -0,0 +1,28 @@
|
||||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block title %}{% trans 'Password change' %}{% endblock %}
|
||||
|
||||
{% block callout %}
|
||||
<div id="callout">
|
||||
<h1>{% trans 'Password change' %}</h1>
|
||||
<p>{% trans "Please enter your old password, for security's sake, and then enter your new password twice so we can verify you typed it in correctly." %}</p>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<fieldset>
|
||||
<legend>Passwort ändern:</legend>
|
||||
<form method="post" action="" class="cmxform">
|
||||
{%csrf_token%}
|
||||
{% if form.errors %}<p class="error"> Es sind Fehler beim ändern des Passwortes aufgetreten</p>{% endif %}
|
||||
{% include 'form.html' %}
|
||||
<div class="buttonbar">
|
||||
<button type="submit">
|
||||
<img src="{{STATIC_URL}}icons/lock_break.png" alt="{% trans "Login" %}" /> {% trans "Change Password" %}
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</fieldset>
|
||||
</div>
|
||||
{% endblock %}
|
||||
10
templates/registration/password_reset_complete.html
Normal file
10
templates/registration/password_reset_complete.html
Normal file
@@ -0,0 +1,10 @@
|
||||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block title %}{% trans 'Password reset complete' %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h2>{% trans 'Password reset complete' %}</h2>
|
||||
<p>{% trans "Your password has been set. You may go ahead and log in now." %}</p>
|
||||
<p class="more"><a href="{{ login_url }}">{% trans 'Log in' %}</a></p>
|
||||
{% endblock %}
|
||||
32
templates/registration/password_reset_confirm.html
Normal file
32
templates/registration/password_reset_confirm.html
Normal file
@@ -0,0 +1,32 @@
|
||||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block title %}{% trans 'Password reset' %}{% endblock %}
|
||||
|
||||
{% block maincontent %}
|
||||
{% if validlink %}
|
||||
<h2 class="grid_12">{% trans 'Enter new password' %}</h2>
|
||||
<p class="grid_6">{% trans "Please enter your new password twice so we can verify you typed it in correctly." %}</p>
|
||||
<form action="" method="post" class="grid_5">
|
||||
{% csrf_token %}
|
||||
<fieldset style="margin: -12px 0 0 0">
|
||||
<legend>{% trans 'Change my password' %}</legend>
|
||||
<ul>
|
||||
{%for element in form %}
|
||||
<p class="required">{{element.label_tag}} {{element}}
|
||||
{%if element.help_text %} <img src="{{STATIC_URL}}icons/information.png" title="{{element.help_text}}"> {% endif %}
|
||||
{%if element.errors %}{{element.errors }} {% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<p class="buttonbar"><button type="submit"><img src="{{STATIC_URL}}icons/key.png" /> {% trans 'Change my password' %}</button></p>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
|
||||
{% else %}
|
||||
<h2>{% trans 'Password reset unsuccessful' %}</h2>
|
||||
<p class="error">{% trans "The password reset link was invalid, possibly because it has already been used. Please request a new password reset." %}</p>
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
30
templates/registration/password_reset_done.html
Normal file
30
templates/registration/password_reset_done.html
Normal file
@@ -0,0 +1,30 @@
|
||||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block title %}{% trans 'Password reset successful' %}{% endblock %}
|
||||
|
||||
{% block maincontent %}
|
||||
|
||||
<div class="grid_12">
|
||||
<h2>{% trans 'Password reset successful' %}</h2>
|
||||
<p>Wir haben dir eine E-Mail mit Anweisungen zum Zurücksetzen deines Passwort an die angegebene E-Mail-Adresse geschickt.<br />
|
||||
Du solltest diese in Kürze erhalten.</p>
|
||||
</div>
|
||||
|
||||
<h3 class="grid_12">E-Mail nicht angekommen?</h3>
|
||||
<div class="grid_4">
|
||||
<h4>Etwas Warten...</h4>
|
||||
<p>Einige Anti-Spam Techniken <strong>verzögern</strong> den <strong>Empfang</strong> von E-Mails.
|
||||
Bei solchen Postfächern kann der Empfang einzelner Mails <strong>bis zu 30 Minuten</strong> dauern.</p>
|
||||
</div>
|
||||
|
||||
<div class="grid_4">
|
||||
<h4>Junk Mails prüfen</h4>
|
||||
<p>Bitte überprüfe den <em>"Junk"</em> bzw. <em>"SPAM"</em> Ordner deines Postfaches.
|
||||
Automatisch generierte E-Mails werden leider sehr oft <strong>falsch</strong> von <strong>SPAM-Filtern</strong> geschluckt</p>
|
||||
</div>
|
||||
<div class="grid_4">
|
||||
<h4>Vorbei schauen</h4>
|
||||
<p>Bitte Überprüfe die Richigkeit deiner angegebenen <strong>E-Mail Adresse</strong>. Wenn deine angegebne <strong>E-Mail</strong> Adresse <strong>nicht</strong> mehr <strong>aktuell</strong> ist, trete mit uns bitte in <strong>persönlichen Kontakt</strong></p>
|
||||
</div>
|
||||
{% endblock %}
|
||||
34
templates/registration/password_reset_form.html
Normal file
34
templates/registration/password_reset_form.html
Normal file
@@ -0,0 +1,34 @@
|
||||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block title %}{% trans "Password reset" %}{% endblock %}
|
||||
|
||||
{% block maincontent %}
|
||||
|
||||
<h2 class="grid_12">{% trans "Password reset" %}</h2>
|
||||
<div class="grid_5">
|
||||
|
||||
<p>Du hast dein Passwort vergessen?</p>
|
||||
<p>Macht nichts!<br/>
|
||||
Solange die E-Mail Adresse von dir noch gültig ist, kannst du dein Passwort jederzeit wieder ändern.</p>
|
||||
|
||||
</div>
|
||||
|
||||
<form action="" method="post" class="grid_5">
|
||||
{% csrf_token %}
|
||||
<fieldset style="margin:-12px 0 0 0;">
|
||||
<legend>E-Mail zusenden</legend>
|
||||
{% for element in form %}
|
||||
<p>
|
||||
<label class="required" for="id_{{element.html_name}}">{%if element.help_text %}<img src="{{STATIC_URL}}icons/information.png" title="{{element.help_text}}" /> {% endif %}{{element.label}}</label>
|
||||
{{element}}
|
||||
{%if element.errors %} {{element.errors }} {% endif %}
|
||||
</p>
|
||||
{% endfor %}
|
||||
<br />
|
||||
<p class="buttonbar"><button type="submit"><img src="{{STATIC_URL}}icons/email_go.png" alt="submit"/> Zusenden</button></p>
|
||||
</fieldset>
|
||||
</form>
|
||||
<p class="grid_12">Einfach deine E-Mail-Adresse eingeben und wir senden dir die Anweisungen zum Zurücksetzen deines Passworts.</p>
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user