From 408802949965f232224b07aee051477d06a30448 Mon Sep 17 00:00:00 2001 From: Sam Date: Thu, 9 May 2013 22:32:04 +0000 Subject: Added original security templates (so we can change them) --- wqflask/wqflask/templates/security/change_password.html | 11 +++++++++++ wqflask/wqflask/templates/security/email/change_notice.html | 4 ++++ wqflask/wqflask/templates/security/email/change_notice.txt | 5 +++++ .../templates/security/email/confirmation_instructions.html | 3 +++ .../templates/security/email/confirmation_instructions.txt | 3 +++ .../wqflask/templates/security/email/login_instructions.html | 5 +++++ .../wqflask/templates/security/email/login_instructions.txt | 5 +++++ .../wqflask/templates/security/email/reset_instructions.html | 1 + .../wqflask/templates/security/email/reset_instructions.txt | 3 +++ wqflask/wqflask/templates/security/email/reset_notice.html | 1 + wqflask/wqflask/templates/security/email/reset_notice.txt | 1 + wqflask/wqflask/templates/security/email/welcome.html | 7 +++++++ wqflask/wqflask/templates/security/email/welcome.txt | 7 +++++++ wqflask/wqflask/templates/security/forgot_password.html | 9 +++++++++ wqflask/wqflask/templates/security/login_user.html | 12 ++++++++++++ wqflask/wqflask/templates/security/reset_password.html | 10 ++++++++++ wqflask/wqflask/templates/security/send_confirmation.html | 9 +++++++++ wqflask/wqflask/templates/security/send_login.html | 9 +++++++++ 18 files changed, 105 insertions(+) create mode 100644 wqflask/wqflask/templates/security/change_password.html create mode 100644 wqflask/wqflask/templates/security/email/change_notice.html create mode 100644 wqflask/wqflask/templates/security/email/change_notice.txt create mode 100644 wqflask/wqflask/templates/security/email/confirmation_instructions.html create mode 100644 wqflask/wqflask/templates/security/email/confirmation_instructions.txt create mode 100644 wqflask/wqflask/templates/security/email/login_instructions.html create mode 100644 wqflask/wqflask/templates/security/email/login_instructions.txt create mode 100644 wqflask/wqflask/templates/security/email/reset_instructions.html create mode 100644 wqflask/wqflask/templates/security/email/reset_instructions.txt create mode 100644 wqflask/wqflask/templates/security/email/reset_notice.html create mode 100644 wqflask/wqflask/templates/security/email/reset_notice.txt create mode 100644 wqflask/wqflask/templates/security/email/welcome.html create mode 100644 wqflask/wqflask/templates/security/email/welcome.txt create mode 100644 wqflask/wqflask/templates/security/forgot_password.html create mode 100644 wqflask/wqflask/templates/security/login_user.html create mode 100644 wqflask/wqflask/templates/security/reset_password.html create mode 100644 wqflask/wqflask/templates/security/send_confirmation.html create mode 100644 wqflask/wqflask/templates/security/send_login.html (limited to 'wqflask') diff --git a/wqflask/wqflask/templates/security/change_password.html b/wqflask/wqflask/templates/security/change_password.html new file mode 100644 index 00000000..8ee3eb73 --- /dev/null +++ b/wqflask/wqflask/templates/security/change_password.html @@ -0,0 +1,11 @@ +{% from "security/_macros.html" import render_field_with_errors, render_field %} +{% include "security/_messages.html" %} +
Your password has been changed.
+{% if security.recoverable %} +If you did not change your password, click here to reset it.
+{% endif %} diff --git a/wqflask/wqflask/templates/security/email/change_notice.txt b/wqflask/wqflask/templates/security/email/change_notice.txt new file mode 100644 index 00000000..e74bd80d --- /dev/null +++ b/wqflask/wqflask/templates/security/email/change_notice.txt @@ -0,0 +1,5 @@ +Your password has been changed +{% if security.recoverable %} +If you did not change your password, click the link below to reset it. +{{ url_for_security('forgot_password', _external=True) }} +{% endif %} diff --git a/wqflask/wqflask/templates/security/email/confirmation_instructions.html b/wqflask/wqflask/templates/security/email/confirmation_instructions.html new file mode 100644 index 00000000..5082a9a8 --- /dev/null +++ b/wqflask/wqflask/templates/security/email/confirmation_instructions.html @@ -0,0 +1,3 @@ +Please confirm your email through the link below:
+ + \ No newline at end of file diff --git a/wqflask/wqflask/templates/security/email/confirmation_instructions.txt b/wqflask/wqflask/templates/security/email/confirmation_instructions.txt new file mode 100644 index 00000000..fb435b55 --- /dev/null +++ b/wqflask/wqflask/templates/security/email/confirmation_instructions.txt @@ -0,0 +1,3 @@ +Please confirm your email through the link below: + +{{ confirmation_link }} \ No newline at end of file diff --git a/wqflask/wqflask/templates/security/email/login_instructions.html b/wqflask/wqflask/templates/security/email/login_instructions.html new file mode 100644 index 00000000..45a7cb57 --- /dev/null +++ b/wqflask/wqflask/templates/security/email/login_instructions.html @@ -0,0 +1,5 @@ +Welcome {{ user.email }}!
+ +You can log into your through the link below:
+ + \ No newline at end of file diff --git a/wqflask/wqflask/templates/security/email/login_instructions.txt b/wqflask/wqflask/templates/security/email/login_instructions.txt new file mode 100644 index 00000000..1364ed65 --- /dev/null +++ b/wqflask/wqflask/templates/security/email/login_instructions.txt @@ -0,0 +1,5 @@ +Welcome {{ user.email }}! + +You can log into your through the link below: + +{{ login_link }} \ No newline at end of file diff --git a/wqflask/wqflask/templates/security/email/reset_instructions.html b/wqflask/wqflask/templates/security/email/reset_instructions.html new file mode 100644 index 00000000..fd0b48d8 --- /dev/null +++ b/wqflask/wqflask/templates/security/email/reset_instructions.html @@ -0,0 +1 @@ +Click here to reset your password
\ No newline at end of file diff --git a/wqflask/wqflask/templates/security/email/reset_instructions.txt b/wqflask/wqflask/templates/security/email/reset_instructions.txt new file mode 100644 index 00000000..91ac288e --- /dev/null +++ b/wqflask/wqflask/templates/security/email/reset_instructions.txt @@ -0,0 +1,3 @@ +Click the link below to reset your password: + +{{ reset_link }} \ No newline at end of file diff --git a/wqflask/wqflask/templates/security/email/reset_notice.html b/wqflask/wqflask/templates/security/email/reset_notice.html new file mode 100644 index 00000000..536e2961 --- /dev/null +++ b/wqflask/wqflask/templates/security/email/reset_notice.html @@ -0,0 +1 @@ +Your password has been reset
\ No newline at end of file diff --git a/wqflask/wqflask/templates/security/email/reset_notice.txt b/wqflask/wqflask/templates/security/email/reset_notice.txt new file mode 100644 index 00000000..a3fa0b4b --- /dev/null +++ b/wqflask/wqflask/templates/security/email/reset_notice.txt @@ -0,0 +1 @@ +Your password has been reset \ No newline at end of file diff --git a/wqflask/wqflask/templates/security/email/welcome.html b/wqflask/wqflask/templates/security/email/welcome.html new file mode 100644 index 00000000..55eaed61 --- /dev/null +++ b/wqflask/wqflask/templates/security/email/welcome.html @@ -0,0 +1,7 @@ +Welcome {{ user.email }}!
+ +{% if security.confirmable %} +You can confirm your email through the link below:
+ + +{% endif %} \ No newline at end of file diff --git a/wqflask/wqflask/templates/security/email/welcome.txt b/wqflask/wqflask/templates/security/email/welcome.txt new file mode 100644 index 00000000..fb6ee5b5 --- /dev/null +++ b/wqflask/wqflask/templates/security/email/welcome.txt @@ -0,0 +1,7 @@ +Welcome {{ user.email }}! + +{% if security.confirmable %} +You can confirm your email through the link below: + +{{ confirmation_link }} +{% endif %} \ No newline at end of file diff --git a/wqflask/wqflask/templates/security/forgot_password.html b/wqflask/wqflask/templates/security/forgot_password.html new file mode 100644 index 00000000..90fcaf66 --- /dev/null +++ b/wqflask/wqflask/templates/security/forgot_password.html @@ -0,0 +1,9 @@ +{% from "security/_macros.html" import render_field_with_errors, render_field %} +{% include "security/_messages.html" %} +