diff --git a/RIGS/templates/RIGS/profile_detail.html b/RIGS/templates/RIGS/profile_detail.html index a9d9bbaf..174e3f3b 100644 --- a/RIGS/templates/RIGS/profile_detail.html +++ b/RIGS/templates/RIGS/profile_detail.html @@ -3,19 +3,28 @@ {% block title %}RIGS Profile {{object.pk}}{% endblock %} {% block content %} -
-
+
+ +
+ +

{{object.name}}

{% if object.pk == user.pk %} - +
First Name
diff --git a/templates/registration/password_change_done.html b/templates/registration/password_change_done.html new file mode 100644 index 00000000..de778b2e --- /dev/null +++ b/templates/registration/password_change_done.html @@ -0,0 +1,20 @@ +{% extends "base.html" %} +{% load i18n %} +{% load url from future %} + +{% block breadcrumbs %} + +{% endblock %} + +{% block title %}{% trans 'Password change successful' %}{% endblock %} + +{% block content %} +
+

{% trans 'Password change successful' %}

+ +

{% trans "Your password has been changed" %}

+
+{% endblock %} diff --git a/templates/registration/password_change_form.html b/templates/registration/password_change_form.html index ea8abb41..273193a0 100644 --- a/templates/registration/password_change_form.html +++ b/templates/registration/password_change_form.html @@ -1,56 +1,33 @@ -{% extends "admin/base_site.html" %} -{% load i18n static %} +{% extends "base.html" %} +{% load widget_tweaks %} {% load url from future %} -{% 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 %}{% trans 'Password change' %}{% endblock %} - -{% block content %}
- -
{% csrf_token %} -
-{% if form.errors %} -

- {% blocktrans count counter=form.errors.items|length %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %} -

-{% endif %} - -

{% trans 'Password change' %}

- -

{% 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." %}

- -
- -
- {{ form.old_password.errors }} - {{ form.old_password }} -
- -
- {{ form.new_password1.errors }} - {{ form.new_password1 }} -
- -
-{{ form.new_password2.errors }} - {{ form.new_password2 }} -
- -
- -
- -
- - -
-
- + +{% block title %}Change Password{% endblock %} + +{% block content %} + +
+

Change Password

+ {% if form.errors or supplement_form.errors %} +
+ Please correct the error(s) below. + {{form.errors}} + {{supplement_form.errors}} +
+ {% endif %} +

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.

+ +
+
{% csrf_token %} + {% for field in form %} +
+ +
+ {% render_field field class+="form-control" placeholder=field.label %} +
+
+ {% endfor %} +

+
+
{% endblock %}