diff options
Diffstat (limited to 'rpki/gui/app/templates')
6 files changed, 27 insertions, 0 deletions
diff --git a/rpki/gui/app/templates/registration/login.html b/rpki/gui/app/templates/registration/login.html index 0d6fb6fd..18b66b55 100644 --- a/rpki/gui/app/templates/registration/login.html +++ b/rpki/gui/app/templates/registration/login.html @@ -22,4 +22,6 @@ </div> </form> +<a href="{% url "password_reset" %}">Forgot your password?</a> + {% endblock %} diff --git a/rpki/gui/app/templates/registration/password_reset_complete.html b/rpki/gui/app/templates/registration/password_reset_complete.html new file mode 100644 index 00000000..d60c6b09 --- /dev/null +++ b/rpki/gui/app/templates/registration/password_reset_complete.html @@ -0,0 +1,7 @@ +{% extends "app/app_base.html" %} +{% load url from future %} + +{% block content %} +<p>Your password has been set. You may go ahead and log in now.</p> +<p><a href="{% url "rpki.gui.views.login" %}">Log in</a></p> +{% endblock %} diff --git a/rpki/gui/app/templates/registration/password_reset_confirm.html b/rpki/gui/app/templates/registration/password_reset_confirm.html new file mode 100644 index 00000000..a577f12d --- /dev/null +++ b/rpki/gui/app/templates/registration/password_reset_confirm.html @@ -0,0 +1,5 @@ +{% extends "app/app_form.html" %} + +{% block form_info %} +<p>Please enter your new password twice, so we can verify you typed it in correctly.</p> +{% endblock %} diff --git a/rpki/gui/app/templates/registration/password_reset_done.html b/rpki/gui/app/templates/registration/password_reset_done.html new file mode 100644 index 00000000..c0584f86 --- /dev/null +++ b/rpki/gui/app/templates/registration/password_reset_done.html @@ -0,0 +1,6 @@ +{% extends "app/app_base.html" %} + +{% block content %} +<p>We've e-mailed you instructions for setting your password to the e-mail address you submitted.</p> +<p>You should be receiving it shortly.</p> +{% endblock %} diff --git a/rpki/gui/app/templates/registration/password_reset_email.html b/rpki/gui/app/templates/registration/password_reset_email.html new file mode 100644 index 00000000..0c4a5672 --- /dev/null +++ b/rpki/gui/app/templates/registration/password_reset_email.html @@ -0,0 +1,2 @@ +Someone asked for password reset for email {{ email }}. Follow the link below: +{{ protocol }}://{{ domain }}{% url 'password_reset_confirm' uidb36=uid token=token %} diff --git a/rpki/gui/app/templates/registration/password_reset_form.html b/rpki/gui/app/templates/registration/password_reset_form.html new file mode 100644 index 00000000..12f1d624 --- /dev/null +++ b/rpki/gui/app/templates/registration/password_reset_form.html @@ -0,0 +1,5 @@ +{% extends "app/app_form.html" %} + +{% block form_info %} +<p>Please specify your email address to receive instructions for resetting it.</p> +{% endblock %} |