From adf2449d373bcd07e2b0ce557beeb1f49d1894e4 Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Thu, 17 Nov 2022 19:36:25 -0700 Subject: Add the user settings page too --- templates/auth/perform_reset.html | 20 ++++++++++++++++++++ templates/auth/perform_reset_success.html | 14 ++++++++++++++ templates/auth/reset.html | 20 -------------------- templates/auth/reset_success.html | 14 -------------- templates/auth/trigger_reset.html | 18 ++++++++++++++++++ templates/auth/trigger_reset_success.html | 14 ++++++++++++++ templates/settings/_menu.html | 2 +- templates/settings/login_security.html | 17 +++++++++++++++++ 8 files changed, 84 insertions(+), 35 deletions(-) create mode 100644 templates/auth/perform_reset.html create mode 100644 templates/auth/perform_reset_success.html delete mode 100644 templates/auth/reset.html delete mode 100644 templates/auth/reset_success.html create mode 100644 templates/auth/trigger_reset.html create mode 100644 templates/auth/trigger_reset_success.html create mode 100644 templates/settings/login_security.html (limited to 'templates') diff --git a/templates/auth/perform_reset.html b/templates/auth/perform_reset.html new file mode 100644 index 0000000..42eced9 --- /dev/null +++ b/templates/auth/perform_reset.html @@ -0,0 +1,20 @@ +{% extends "base.html" %} + +{% block title %}Reset Password{% endblock %} + +{% block content %} +
+{% endblock %} diff --git a/templates/auth/perform_reset_success.html b/templates/auth/perform_reset_success.html new file mode 100644 index 0000000..001e5d7 --- /dev/null +++ b/templates/auth/perform_reset_success.html @@ -0,0 +1,14 @@ +{% extends "base.html" %} + +{% block title %}Password Reset{% endblock %} + +{% block content %} + +{% endblock %} diff --git a/templates/auth/reset.html b/templates/auth/reset.html deleted file mode 100644 index 42eced9..0000000 --- a/templates/auth/reset.html +++ /dev/null @@ -1,20 +0,0 @@ -{% extends "base.html" %} - -{% block title %}Reset Password{% endblock %} - -{% block content %} - -{% endblock %} diff --git a/templates/auth/reset_success.html b/templates/auth/reset_success.html deleted file mode 100644 index 001e5d7..0000000 --- a/templates/auth/reset_success.html +++ /dev/null @@ -1,14 +0,0 @@ -{% extends "base.html" %} - -{% block title %}Password Reset{% endblock %} - -{% block content %} - -{% endblock %} diff --git a/templates/auth/trigger_reset.html b/templates/auth/trigger_reset.html new file mode 100644 index 0000000..b81c380 --- /dev/null +++ b/templates/auth/trigger_reset.html @@ -0,0 +1,18 @@ +{% extends "base.html" %} + +{% block title %}Reset Password{% endblock %} + +{% block content %} + +{% endblock %} diff --git a/templates/auth/trigger_reset_success.html b/templates/auth/trigger_reset_success.html new file mode 100644 index 0000000..c0c1a0d --- /dev/null +++ b/templates/auth/trigger_reset_success.html @@ -0,0 +1,14 @@ +{% extends "base.html" %} + +{% block title %}Password Reset Sent{% endblock %} + +{% block content %} + +{% endblock %} diff --git a/templates/settings/_menu.html b/templates/settings/_menu.html index d85c878..cc87941 100644 --- a/templates/settings/_menu.html +++ b/templates/settings/_menu.html @@ -8,7 +8,7 @@ {% if request.user.admin %}