summaryrefslogtreecommitdiff
path: root/lib/grappelli/templates/registration
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2012-09-22 22:27:04 -0400
committerluxagraf <sng@luxagraf.net>2012-09-22 22:27:04 -0400
commitefb623af0bcb47d510501c282e1326b11343a29c (patch)
tree3a35fb19f5eba3b219c65277a5fb712cbe9604ac /lib/grappelli/templates/registration
parent0b481fd7931c2ae20ca21f89a87f2ba6a6c01e10 (diff)
site reorg
Diffstat (limited to 'lib/grappelli/templates/registration')
-rw-r--r--lib/grappelli/templates/registration/logged_out.html18
-rw-r--r--lib/grappelli/templates/registration/password_change_done.html24
-rw-r--r--lib/grappelli/templates/registration/password_change_form.html60
-rw-r--r--lib/grappelli/templates/registration/password_reset_complete.html12
-rw-r--r--lib/grappelli/templates/registration/password_reset_confirm.html23
-rw-r--r--lib/grappelli/templates/registration/password_reset_done.html11
-rw-r--r--lib/grappelli/templates/registration/password_reset_email.html15
-rw-r--r--lib/grappelli/templates/registration/password_reset_form.html15
8 files changed, 0 insertions, 178 deletions
diff --git a/lib/grappelli/templates/registration/logged_out.html b/lib/grappelli/templates/registration/logged_out.html
deleted file mode 100644
index 31e9db4..0000000
--- a/lib/grappelli/templates/registration/logged_out.html
+++ /dev/null
@@ -1,18 +0,0 @@
-{% extends "admin/base_site.html" %}
-{% load i18n %}
-{% block content-class %}content-flexible{% endblock %}
-
-{% block breadcrumbs %}{% comment %}<div id="breadcrumbs"><a href="../">{% trans 'Home' %}</a></div>{% endcomment %}{% endblock %}
-{% block content_title %}&nbsp;{% endblock %}
-
-{% block content %}
- <div class="container-flexible logout">
- <div class="column span-10 centered">
- <h1>{{ title }}. <a href="../"><strong>{% trans 'Log in again' %}</strong></a></h1>
- {% comment %}<div class="module">
- <h2>{{ title }}, </h2>
- <div class="row"><a href="../"><strong>{% trans 'Log in again' %}</strong></a></div>
- </div>{% endcomment %}
- </div>
- </div>
-{% endblock %}
diff --git a/lib/grappelli/templates/registration/password_change_done.html b/lib/grappelli/templates/registration/password_change_done.html
deleted file mode 100644
index bfd01ab..0000000
--- a/lib/grappelli/templates/registration/password_change_done.html
+++ /dev/null
@@ -1,24 +0,0 @@
-{% extends "admin/base_site.html" %}
-{% load i18n %}
-{% block userlinks %}
- {% url django-admindocs-docroot as docsroot %}
- {% if docsroot %}
- <li>
- <a href="{{ docsroot }}">{% trans 'Documentation' %}</a>
- </li>
- {% endif %}
- <li>
- <a href="{{ root_path }}password_change/">{% trans 'Change password' %}</a>
- </li>
- <li>
- <a href="{{ root_path }}logout/">{% trans 'Log out' %}</a>
- </li>
-{% endblock %}
-
-{% block breadcrumbs %}<div id="breadcrumbs"><a href="../../">{% trans 'Home' %}</a> &rsaquo; {% trans 'Password change' %}</div>{% endblock %}
-
-{% block title %}{% trans 'Password change successful' %}{% endblock %}
-{% block content %}
- <h1>{% trans 'Password change successful' %}</h1>
- <p>{% trans 'Your password was changed.' %}</p>
-{% endblock %}
diff --git a/lib/grappelli/templates/registration/password_change_form.html b/lib/grappelli/templates/registration/password_change_form.html
deleted file mode 100644
index e4d175f..0000000
--- a/lib/grappelli/templates/registration/password_change_form.html
+++ /dev/null
@@ -1,60 +0,0 @@
-{% extends "admin/base_site.html" %}
-{% load i18n %} {# grp_csrf #}
-{% block userlinks %}
-{% url django-admindocs-docroot as docsroot %}{% if docsroot %}
-<li>
- <a href="{{ docsroot }}">{% trans 'Documentation' %}</a>
-</li>
-{% endif %}
-<li>
- <a href="{{ root_path }}password_change/">{% trans 'Change password' %}</a>
-</li>
-<li>
- <a href="{{ root_path }}logout/">{% trans 'Log out' %}</a>
-</li>
-{% endblock %}
-{% block breadcrumbs %}<div id="breadcrumbs"><a href="../">{% trans 'Home' %}</a> &rsaquo; {% trans 'Password change' %}</div>{% endblock %}
-{% block title %}{% trans 'Password change' %}{% endblock %}
-{% block content-class %}content-grid{% endblock %}
-
-{% block content %}
-
-<h1>{% trans 'Password change' %}</h1>
-
-<div class="container-grid">
- <div class="column span-12">
- <p>{% trans "Please enter your old password, for securitys sake, and then enter your new password twice so we can verify you typed it in correctly." %}</p>
- <form action="" method="post">{% csrf_token %}
- <fieldset class="module">
- <div class="row">
- <div class="column span-4"><label for="id_old_password" class="required">{% trans 'Old password:' %}</label></div>
- <div class="column span-flexible">
- {{ form.old_password }}
- {{ form.old_password.errors }}
- </div>
- </div>
- <div class="row">
- <div class="column span-4"><label for="id_new_password1" class="required">{% trans 'New password:' %}</label></div>
- <div class="column span-flexible">
- {{ form.new_password1 }}
- {{ form.new_password1.errors }}
- </div>
- </div>
- <div class="row">
- <div class="column span-4"><label for="id_new_password2" class="required">{% trans 'Confirm password:' %}</label></div>
- <div class="column span-flexible">
- {{ form.new_password2 }}
- {{ form.new_password2.errors }}
- </div>
- </div>
- </fieldset>
- <div class="module submit-row">
- <ul class="submit-row">
- <li class="submit-button-container"><input type="submit" value="{% trans 'Change my password' %}" class="default" /></li>
- </ul>
- </div>
- </form>
- </div>
-</div>
-
-{% endblock %}
diff --git a/lib/grappelli/templates/registration/password_reset_complete.html b/lib/grappelli/templates/registration/password_reset_complete.html
deleted file mode 100644
index 5b14a54..0000000
--- a/lib/grappelli/templates/registration/password_reset_complete.html
+++ /dev/null
@@ -1,12 +0,0 @@
-{% extends "admin/base_site.html" %}
-{% load i18n %}
-
-{% block breadcrumbs %}<div id="breadcrumbs"><a href="../../">{% trans 'Home' %}</a> &rsaquo; {% trans 'Password reset' %}</div>{% endblock %}
-
-{% block title %}{% trans 'Password reset complete' %}{% endblock %}
-
-{% block content %}
- <h1>{% trans 'Password reset complete' %}</h1>
- <p>{% trans "Your password has been set. You may go ahead and log in now." %}</p>
- <p><a href="{{ login_url }}">{% trans 'Log in' %}</a></p>
-{% endblock %} \ No newline at end of file
diff --git a/lib/grappelli/templates/registration/password_reset_confirm.html b/lib/grappelli/templates/registration/password_reset_confirm.html
deleted file mode 100644
index 6aad70f..0000000
--- a/lib/grappelli/templates/registration/password_reset_confirm.html
+++ /dev/null
@@ -1,23 +0,0 @@
-{% extends "admin/base_site.html" %}
-{% load i18n %} {# grp_csrf #}
-
-{% block breadcrumbs %}<div id="breadcrumbs"><a href="../">{% trans 'Home' %}</a> &rsaquo; {% trans 'Password reset confirmation' %}</div>{% endblock %}
-
-{% block title %}{% trans 'Password reset' %}{% endblock %}
-
-{% block content %}
- {% if validlink %}
- <h1>{% trans 'Enter new password' %}</h1>
- <p>{% trans "Please enter your new password twice so we can verify you typed it in correctly." %}</p>
- <form action="" method="post">{% csrf_token %}
- {{ form.new_password1.errors }}
- <p class="aligned wide"><label for="id_new_password1">{% trans 'New password:' %}</label>{{ form.new_password1 }}</p>
- {{ form.new_password2.errors }}
- <p class="aligned wide"><label for="id_new_password2">{% trans 'Confirm password:' %}</label>{{ form.new_password2 }}</p>
- <p><input type="submit" value="{% trans 'Change my password' %}" /></p>
- </form>
- {% else %}
- <h1>{% trans 'Password reset unsuccessful' %}</h1>
- <p>{% trans "The password reset link was invalid, possibly because it has already been used. Please request a new password reset." %}
- {% endif %}
-{% endblock %}
diff --git a/lib/grappelli/templates/registration/password_reset_done.html b/lib/grappelli/templates/registration/password_reset_done.html
deleted file mode 100644
index a009281..0000000
--- a/lib/grappelli/templates/registration/password_reset_done.html
+++ /dev/null
@@ -1,11 +0,0 @@
-{% extends "admin/base_site.html" %}
-{% load i18n %}
-
-{% block breadcrumbs %}<div id="breadcrumbs"><a href="../">{% trans 'Home' %}</a> &rsaquo; {% trans 'Password reset' %}</div>{% endblock %}
-
-{% block title %}{% trans 'Password reset successful' %}{% endblock %}
-
-{% block content %}
- <h1>{% trans 'Password reset successful' %}</h1>
- <p>{% trans "We've e-mailed a new password to the e-mail address you submitted. You should be receiving it shortly." %}</p>
-{% endblock %}
diff --git a/lib/grappelli/templates/registration/password_reset_email.html b/lib/grappelli/templates/registration/password_reset_email.html
deleted file mode 100644
index 4e4bd6d..0000000
--- a/lib/grappelli/templates/registration/password_reset_email.html
+++ /dev/null
@@ -1,15 +0,0 @@
-{% load i18n %}{% autoescape off %}
-{% trans "You're receiving this e-mail because you requested a password reset" %}
-{% blocktrans %}for your user account at {{ site_name }}{% endblocktrans %}.
-
-{% trans "Please go to the following page and choose a new password:" %}
-{% block reset_link %}
-{{ protocol }}://{{ domain }}{% url django.contrib.auth.views.password_reset_confirm uidb36=uid, token=token %}
-{% endblock %}
-{% trans "Your username, in case you've forgotten:" %} {{ user.username }}
-
-{% trans "Thanks for using our site!" %}
-
-{% blocktrans %}The {{ site_name }} team{% endblocktrans %}
-
-{% endautoescape %}
diff --git a/lib/grappelli/templates/registration/password_reset_form.html b/lib/grappelli/templates/registration/password_reset_form.html
deleted file mode 100644
index 7933280..0000000
--- a/lib/grappelli/templates/registration/password_reset_form.html
+++ /dev/null
@@ -1,15 +0,0 @@
-{% extends "admin/base_site.html" %}
-{% load i18n %} {# grp_csrf #}
-
-{% block breadcrumbs %}<div id="breadcrumbs"><a href="../">{% trans 'Home' %}</a> &rsaquo; {% trans 'Password reset' %}</div>{% endblock %}
-
-{% block title %}{% trans "Password reset" %}{% endblock %}
-
-{% block content %}
- <h1>{% trans "Password reset" %}</h1>
- <p>{% trans "Forgotten your password? Enter your e-mail address below, and we'll reset your password and e-mail the new one to you." %}</p>
- <form action="" method="post">{% csrf_token %}
- {% if form.email.errors %}{{ form.email.errors }}{% endif %}
- <p><label for="id_email">{% trans 'E-mail address:' %}</label> {{ form.email }} <input type="submit" value="{% trans 'Reset my password' %}" /></p>
- </form>
-{% endblock %}