remove login, password_change and password_reset template from old location

This commit is contained in:
Fabian Weisshaar 2013-12-29 22:56:07 +01:00
parent 10c0247f77
commit 43622ab183
8 changed files with 0 additions and 127 deletions

View File

@ -1,48 +0,0 @@
{% extends "registration/registration_base.html" %}
{% load i18n %}{% load bootstrap %}
{% block title %}{% trans "Login" %}{% endblock %}
{% block content %}
<div class="row">
<div class="col-lg-5">
<h1>Login with a local Account</h1>
{% if form.errors %}
<p>{% blocktrans %}Your username and password didn't match. Please try again.{% endblocktrans %}</p>
{% endif %}
<form method="post" action="{% url 'auth_login' %}">
{% csrf_token %}
{{ form|bootstrap }}
<div class="form-group">
<input id="id_remember_me" name="remember_me" type="checkbox">
<label class="control-label " for="id_remember_me">Keep me logged in</label>
</div>
<button type="submit" class="btn btn-primary btn-lg">login</button>
<input type="hidden" name="next" value="{{ next }}" />
</form>
<hr>
<h2>Forgot your password?</h2>
<p>
<a class="btn btn-default" href="{% url 'auth_password_reset' %}">Request a password reset</a>
</p>
<h2>Don't have an account yet?</h2>
<p>
<a class="btn btn-default" role="button" href="{% url 'registration_register' %}">Register an account</a>
</p>
</div>
<div class="col-lg-1">
</div>
<div class="col-lg-5">
<h1>Login with a remote Account</h1>
<div class="btn-toolbar" role="toolbar">
{% for backend in backends.backends %}
<div class="btn-group">
<a class="btn btn-default btn-lg" role="button" href="{% url 'social:begin' backend %}">
<i class="fa fa-sign-in fa-fw"></i> {{ backend }}
</a>
</div>
{% endfor %}
</div>
</div>
<div class="col-lg-1">
</div>
</div>
{% endblock %}

View File

@ -1,15 +0,0 @@
{% extends "registration/registration_base.html" %}
{% load i18n %}{% load bootstrap %}
{% block title %}{% trans "Change password" %}{% endblock %}
{% block content %}
<h1>Change password</h1>
<div class="row">
<div class="col-lg-4">
<form method="post" action="">
{% csrf_token %}
{{ form|bootstrap }}
<button type="submit" class="btn btn-primary">{% trans "Change password" %}</button>
</form>
</div>
</div>
{% endblock %}

View File

@ -1,7 +0,0 @@
{% extends "registration/registration_base.html" %}
{% load i18n %}
{% block title %}{% trans "Password changed" %}{% endblock %}
{% block content %}
{% trans "Password successfully changed!" %}
{% endblock %}

View File

@ -1,6 +0,0 @@
{% extends "registration/registration_base.html" %}
{% load i18n %}
{% block title %}{% trans "Password reset complete" %}{% endblock %}
{% block content %}{% blocktrans %}
Your password has been reset! You may now <a href="{{ login_url }}">log in</a>.
{% endblocktrans %}{% endblock %}

View File

@ -1,12 +0,0 @@
{% extends "registration/registration_base.html" %}
{% load i18n %}
{% block title %}{% trans "Confirm password reset" %}{% endblock %}
{% block content %}
{% trans "Enter your new password below to reset your password:" %}
<form method="post" action="">{% csrf_token %}
<table>
{{ form.as_table }}
<tr><td></td><td><input type="submit" value="{% trans "Set password" %}"/></td></tr>
</table>
</form>
{% endblock %}

View File

@ -1,9 +0,0 @@
{% extends "registration/registration_base.html" %}
{% load i18n %}
{% block title %}{% trans "Password reset" %}{% endblock %}
{% block content %}
<p>
{% blocktrans %}We have sent you an email with a link to reset your password.
Please check your email and click the link to continue.{% endblocktrans %}
</p>
{% endblock %}

View File

@ -1,17 +0,0 @@
{% load i18n %}{% trans "Greetings" %} {% if user.get_full_name %}{{ user.get_full_name }}{% else %}{{ user }}{% endif %},
{% blocktrans %}You are receiving this email because you (or someone pretending to be you)
requested that your password be reset on the {{ domain }} site. If you do not
wish to reset your password, please ignore this message.
To reset your password, please click the following link, or copy and paste it
into your web browser:{% endblocktrans %}
{{ protocol }}://{{ domain }}{% url 'auth_password_reset_confirm' uid token %}
{% blocktrans with username=user.username %}
Your username, in case you've forgotten: {{ username }}
Best regards,
{{ site_name }} Management
{% endblocktrans %}

View File

@ -1,13 +0,0 @@
{% extends "registration/registration_base.html" %}
{% load i18n %}
{% block title %}{% trans "Reset password" %}{% endblock %}
{% block content %}{% blocktrans %}
Forgot your password? Enter your email in the form below and we'll send you
instructions for creating a new one.{% endblocktrans %}
<form method='post' action=''>{% csrf_token %}
<table>
{{ form }}
<tr><td></td><td><input type='submit' value="{% trans "Reset password" %}" /></td></tr>
</table>
</form>
{% endblock %}