summaryrefslogtreecommitdiff
path: root/tbc/static/admin/templates/registration
diff options
context:
space:
mode:
authorkinitrupti2016-11-21 12:16:09 +0530
committerkinitrupti2016-11-21 12:16:09 +0530
commitdbaf7af91132ff93718678f2a5b42fee3d1b6acd (patch)
treeaec4d3f94c7423280499ad6264d24f586881b08f /tbc/static/admin/templates/registration
parent19793cdf2025bb2a4560a0718ed5d6bce175e7b8 (diff)
downloadPython-TBC-Interface-dbaf7af91132ff93718678f2a5b42fee3d1b6acd.tar.gz
Python-TBC-Interface-dbaf7af91132ff93718678f2a5b42fee3d1b6acd.tar.bz2
Python-TBC-Interface-dbaf7af91132ff93718678f2a5b42fee3d1b6acd.zip
Admin css fixed
Diffstat (limited to 'tbc/static/admin/templates/registration')
-rw-r--r--tbc/static/admin/templates/registration/logged_out.html12
-rw-r--r--tbc/static/admin/templates/registration/password_change_done.html15
-rw-r--r--tbc/static/admin/templates/registration/password_change_form.html61
-rw-r--r--tbc/static/admin/templates/registration/password_reset_complete.html20
-rw-r--r--tbc/static/admin/templates/registration/password_reset_confirm.html33
-rw-r--r--tbc/static/admin/templates/registration/password_reset_done.html19
-rw-r--r--tbc/static/admin/templates/registration/password_reset_email.html14
-rw-r--r--tbc/static/admin/templates/registration/password_reset_form.html22
8 files changed, 196 insertions, 0 deletions
diff --git a/tbc/static/admin/templates/registration/logged_out.html b/tbc/static/admin/templates/registration/logged_out.html
new file mode 100644
index 0000000..6a18186
--- /dev/null
+++ b/tbc/static/admin/templates/registration/logged_out.html
@@ -0,0 +1,12 @@
+{% extends "admin/base_site.html" %}
+{% load i18n %}
+
+{% block breadcrumbs %}<div class="breadcrumbs"><a href="{% url 'admin:index' %}">{% trans 'Home' %}</a></div>{% endblock %}
+
+{% block content %}
+
+<p>{% trans "Thanks for spending some quality time with the Web site today." %}</p>
+
+<p><a href="{% url 'admin:index' %}">{% trans 'Log in again' %}</a></p>
+
+{% endblock %}
diff --git a/tbc/static/admin/templates/registration/password_change_done.html b/tbc/static/admin/templates/registration/password_change_done.html
new file mode 100644
index 0000000..3e557eb
--- /dev/null
+++ b/tbc/static/admin/templates/registration/password_change_done.html
@@ -0,0 +1,15 @@
+{% extends "admin/base_site.html" %}
+{% load i18n %}
+{% block userlinks %}{% url 'django-admindocs-docroot' as docsroot %}{% if docsroot %}<a href="{{ docsroot }}">{% trans 'Documentation' %}</a> / {% endif %}{% trans 'Change password' %} / <a href="{% url 'admin:logout' %}">{% trans 'Log out' %}</a>{% endblock %}
+{% block breadcrumbs %}
+<div class="breadcrumbs">
+<a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>
+&rsaquo; {% trans 'Password change' %}
+</div>
+{% endblock %}
+
+{% block title %}{{ title }}{% endblock %}
+{% block content_title %}<h1>{{ title }}</h1>{% endblock %}
+{% block content %}
+<p>{% trans 'Your password was changed.' %}</p>
+{% endblock %}
diff --git a/tbc/static/admin/templates/registration/password_change_form.html b/tbc/static/admin/templates/registration/password_change_form.html
new file mode 100644
index 0000000..ddb90e8
--- /dev/null
+++ b/tbc/static/admin/templates/registration/password_change_form.html
@@ -0,0 +1,61 @@
+{% extends "admin/base_site.html" %}
+{% load i18n admin_static %}
+{% block extrastyle %}{{ block.super }}<link rel="stylesheet" type="text/css" href="{% static "admin/css/forms.css" %}" />{% endblock %}
+{% block userlinks %}{% url 'django-admindocs-docroot' as docsroot %}{% if docsroot %}<a href="{{ docsroot }}">{% trans 'Documentation' %}</a> / {% endif %} {% trans 'Change password' %} / <a href="{% url 'admin:logout' %}">{% trans 'Log out' %}</a>{% endblock %}
+{% block breadcrumbs %}
+<div class="breadcrumbs">
+<a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>
+&rsaquo; {% trans 'Password change' %}
+</div>
+{% endblock %}
+
+{% block title %}{{ title }}{% endblock %}
+{% block content_title %}<h1>{{ title }}</h1>{% endblock %}
+
+{% block content %}<div id="content-main">
+
+<form method="post">{% csrf_token %}
+<div>
+{% if form.errors %}
+ <p class="errornote">
+ {% if form.errors.items|length == 1 %}{% trans "Please correct the error below." %}{% else %}{% trans "Please correct the errors below." %}{% endif %}
+ </p>
+{% endif %}
+
+
+<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>
+
+<fieldset class="module aligned wide">
+
+<div class="form-row">
+ {{ form.old_password.errors }}
+ {{ form.old_password.label_tag }} {{ form.old_password }}
+</div>
+
+<div class="form-row">
+ {{ form.new_password1.errors }}
+ {{ form.new_password1.label_tag }} {{ form.new_password1 }}
+ {% if form.new_password1.help_text %}
+ <p class="help">{{ form.new_password1.help_text|safe }}</p>
+ {% endif %}
+</div>
+
+<div class="form-row">
+{{ form.new_password2.errors }}
+ {{ form.new_password2.label_tag }} {{ form.new_password2 }}
+ {% if form.new_password2.help_text %}
+ <p class="help">{{ form.new_password2.help_text|safe }}</p>
+ {% endif %}
+</div>
+
+</fieldset>
+
+<div class="submit-row">
+ <input type="submit" value="{% trans 'Change my password' %}" class="default" />
+</div>
+
+<script type="text/javascript">document.getElementById("id_old_password").focus();</script>
+</div>
+</form></div>
+
+{% endblock %}
diff --git a/tbc/static/admin/templates/registration/password_reset_complete.html b/tbc/static/admin/templates/registration/password_reset_complete.html
new file mode 100644
index 0000000..19f87a5
--- /dev/null
+++ b/tbc/static/admin/templates/registration/password_reset_complete.html
@@ -0,0 +1,20 @@
+{% extends "admin/base_site.html" %}
+{% load i18n %}
+
+{% block breadcrumbs %}
+<div class="breadcrumbs">
+<a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>
+&rsaquo; {% trans 'Password reset' %}
+</div>
+{% endblock %}
+
+{% block title %}{{ title }}{% endblock %}
+{% block content_title %}<h1>{{ title }}</h1>{% endblock %}
+
+{% block content %}
+
+<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 %}
diff --git a/tbc/static/admin/templates/registration/password_reset_confirm.html b/tbc/static/admin/templates/registration/password_reset_confirm.html
new file mode 100644
index 0000000..a1e0150
--- /dev/null
+++ b/tbc/static/admin/templates/registration/password_reset_confirm.html
@@ -0,0 +1,33 @@
+{% extends "admin/base_site.html" %}
+{% load i18n %}
+
+{% block breadcrumbs %}
+<div class="breadcrumbs">
+<a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>
+&rsaquo; {% trans 'Password reset confirmation' %}
+</div>
+{% endblock %}
+
+{% block title %}{{ title }}{% endblock %}
+{% block content_title %}<h1>{{ title }}</h1>{% endblock %}
+{% block content %}
+
+{% if validlink %}
+
+<p>{% trans "Please enter your new password twice so we can verify you typed it in correctly." %}</p>
+
+<form 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 %}
+
+<p>{% trans "The password reset link was invalid, possibly because it has already been used. Please request a new password reset." %}</p>
+
+{% endif %}
+
+{% endblock %}
diff --git a/tbc/static/admin/templates/registration/password_reset_done.html b/tbc/static/admin/templates/registration/password_reset_done.html
new file mode 100644
index 0000000..c6fc358
--- /dev/null
+++ b/tbc/static/admin/templates/registration/password_reset_done.html
@@ -0,0 +1,19 @@
+{% extends "admin/base_site.html" %}
+{% load i18n %}
+
+{% block breadcrumbs %}
+<div class="breadcrumbs">
+<a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>
+&rsaquo; {% trans 'Password reset' %}
+</div>
+{% endblock %}
+
+{% block title %}{{ title }}{% endblock %}
+{% block content_title %}<h1>{{ title }}</h1>{% endblock %}
+{% block content %}
+
+<p>{% trans "We've emailed you instructions for setting your password, if an account exists with the email you entered. You should receive them shortly." %}</p>
+
+<p>{% trans "If you don't receive an email, please make sure you've entered the address you registered with, and check your spam folder." %}</p>
+
+{% endblock %}
diff --git a/tbc/static/admin/templates/registration/password_reset_email.html b/tbc/static/admin/templates/registration/password_reset_email.html
new file mode 100644
index 0000000..01b3bcc
--- /dev/null
+++ b/tbc/static/admin/templates/registration/password_reset_email.html
@@ -0,0 +1,14 @@
+{% load i18n %}{% autoescape off %}
+{% blocktrans %}You're receiving this email because you requested a password reset 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 'password_reset_confirm' uidb64=uid token=token %}
+{% endblock %}
+{% trans "Your username, in case you've forgotten:" %} {{ user.get_username }}
+
+{% trans "Thanks for using our site!" %}
+
+{% blocktrans %}The {{ site_name }} team{% endblocktrans %}
+
+{% endautoescape %}
diff --git a/tbc/static/admin/templates/registration/password_reset_form.html b/tbc/static/admin/templates/registration/password_reset_form.html
new file mode 100644
index 0000000..23b68a3
--- /dev/null
+++ b/tbc/static/admin/templates/registration/password_reset_form.html
@@ -0,0 +1,22 @@
+{% extends "admin/base_site.html" %}
+{% load i18n %}
+
+{% block breadcrumbs %}
+<div class="breadcrumbs">
+<a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>
+&rsaquo; {% trans 'Password reset' %}
+</div>
+{% endblock %}
+
+{% block title %}{{ title }}{% endblock %}
+{% block content_title %}<h1>{{ title }}</h1>{% endblock %}
+{% block content %}
+
+<p>{% trans "Forgotten your password? Enter your email address below, and we'll email instructions for setting a new one." %}</p>
+
+<form method="post">{% csrf_token %}
+{{ form.email.errors }}
+<p><label for="id_email">{% trans 'Email address:' %}</label> {{ form.email }} <input type="submit" value="{% trans 'Reset my password' %}" /></p>
+</form>
+
+{% endblock %}