From dbaf7af91132ff93718678f2a5b42fee3d1b6acd Mon Sep 17 00:00:00 2001 From: kinitrupti Date: Mon, 21 Nov 2016 12:16:09 +0530 Subject: Admin css fixed --- .../admin/templates/registration/logged_out.html | 12 +++++ .../registration/password_change_done.html | 15 ++++++ .../registration/password_change_form.html | 61 ++++++++++++++++++++++ .../registration/password_reset_complete.html | 20 +++++++ .../registration/password_reset_confirm.html | 33 ++++++++++++ .../registration/password_reset_done.html | 19 +++++++ .../registration/password_reset_email.html | 14 +++++ .../registration/password_reset_form.html | 22 ++++++++ 8 files changed, 196 insertions(+) create mode 100644 tbc/static/admin/templates/registration/logged_out.html create mode 100644 tbc/static/admin/templates/registration/password_change_done.html create mode 100644 tbc/static/admin/templates/registration/password_change_form.html create mode 100644 tbc/static/admin/templates/registration/password_reset_complete.html create mode 100644 tbc/static/admin/templates/registration/password_reset_confirm.html create mode 100644 tbc/static/admin/templates/registration/password_reset_done.html create mode 100644 tbc/static/admin/templates/registration/password_reset_email.html create mode 100644 tbc/static/admin/templates/registration/password_reset_form.html (limited to 'tbc/static/admin/templates/registration') 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 %}
{% endblock %} + +{% block content %} + +{% trans "Thanks for spending some quality time with the Web site today." %}
+ + + +{% 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 %}{% trans 'Documentation' %} / {% endif %}{% trans 'Change password' %} / {% trans 'Log out' %}{% endblock %} +{% block breadcrumbs %} + +{% endblock %} + +{% block title %}{{ title }}{% endblock %} +{% block content_title %}{% trans 'Your password was changed.' %}
+{% 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 }}{% endblock %} +{% block userlinks %}{% url 'django-admindocs-docroot' as docsroot %}{% if docsroot %}{% trans 'Documentation' %} / {% endif %} {% trans 'Change password' %} / {% trans 'Log out' %}{% endblock %} +{% block breadcrumbs %} + +{% endblock %} + +{% block title %}{{ title }}{% endblock %} +{% block content_title %}{% trans "Your password has been set. You may go ahead and log in now." %}
+ + + +{% 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 %} + +{% endblock %} + +{% block title %}{{ title }}{% endblock %} +{% block content_title %}{% trans "Please enter your new password twice so we can verify you typed it in correctly." %}
+ + + +{% else %} + +{% 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/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 %} + +{% endblock %} + +{% block title %}{{ title }}{% endblock %} +{% block content_title %}{% trans "We've emailed you instructions for setting your password, if an account exists with the email you entered. You should receive them shortly." %}
+ +{% trans "If you don't receive an email, please make sure you've entered the address you registered with, and check your spam folder." %}
+ +{% 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 %} + +{% endblock %} + +{% block title %}{{ title }}{% endblock %} +{% block content_title %}{% trans "Forgotten your password? Enter your email address below, and we'll email instructions for setting a new one." %}
+ + + +{% endblock %} -- cgit