From 48ba921c234abb218b14d7f1ae4d5b017ab8d388 Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 17 May 2013 20:59:50 +0000 Subject: Added flask_security locally --- wqflask/flask_security/templates/security/.DS_Store | Bin 0 -> 6148 bytes wqflask/flask_security/templates/security/_macros.html | 16 ++++++++++++++++ wqflask/flask_security/templates/security/_menu.html | 15 +++++++++++++++ .../flask_security/templates/security/_messages.html | 9 +++++++++ .../templates/security/change_password.html | 11 +++++++++++ .../templates/security/email/change_notice.html | 4 ++++ .../templates/security/email/change_notice.txt | 5 +++++ .../security/email/confirmation_instructions.html | 3 +++ .../security/email/confirmation_instructions.txt | 3 +++ .../templates/security/email/login_instructions.html | 5 +++++ .../templates/security/email/login_instructions.txt | 5 +++++ .../templates/security/email/reset_instructions.html | 1 + .../templates/security/email/reset_instructions.txt | 3 +++ .../templates/security/email/reset_notice.html | 1 + .../templates/security/email/reset_notice.txt | 1 + .../templates/security/email/welcome.html | 7 +++++++ .../flask_security/templates/security/email/welcome.txt | 7 +++++++ .../templates/security/forgot_password.html | 9 +++++++++ .../flask_security/templates/security/login_user.html | 12 ++++++++++++ .../templates/security/register_user.html | 13 +++++++++++++ .../templates/security/reset_password.html | 10 ++++++++++ .../templates/security/send_confirmation.html | 9 +++++++++ .../flask_security/templates/security/send_login.html | 9 +++++++++ 23 files changed, 158 insertions(+) create mode 100644 wqflask/flask_security/templates/security/.DS_Store create mode 100644 wqflask/flask_security/templates/security/_macros.html create mode 100644 wqflask/flask_security/templates/security/_menu.html create mode 100644 wqflask/flask_security/templates/security/_messages.html create mode 100644 wqflask/flask_security/templates/security/change_password.html create mode 100644 wqflask/flask_security/templates/security/email/change_notice.html create mode 100644 wqflask/flask_security/templates/security/email/change_notice.txt create mode 100644 wqflask/flask_security/templates/security/email/confirmation_instructions.html create mode 100644 wqflask/flask_security/templates/security/email/confirmation_instructions.txt create mode 100644 wqflask/flask_security/templates/security/email/login_instructions.html create mode 100644 wqflask/flask_security/templates/security/email/login_instructions.txt create mode 100644 wqflask/flask_security/templates/security/email/reset_instructions.html create mode 100644 wqflask/flask_security/templates/security/email/reset_instructions.txt create mode 100644 wqflask/flask_security/templates/security/email/reset_notice.html create mode 100644 wqflask/flask_security/templates/security/email/reset_notice.txt create mode 100644 wqflask/flask_security/templates/security/email/welcome.html create mode 100644 wqflask/flask_security/templates/security/email/welcome.txt create mode 100644 wqflask/flask_security/templates/security/forgot_password.html create mode 100644 wqflask/flask_security/templates/security/login_user.html create mode 100644 wqflask/flask_security/templates/security/register_user.html create mode 100644 wqflask/flask_security/templates/security/reset_password.html create mode 100644 wqflask/flask_security/templates/security/send_confirmation.html create mode 100644 wqflask/flask_security/templates/security/send_login.html (limited to 'wqflask/flask_security/templates/security') diff --git a/wqflask/flask_security/templates/security/.DS_Store b/wqflask/flask_security/templates/security/.DS_Store new file mode 100644 index 00000000..5008ddfc Binary files /dev/null and b/wqflask/flask_security/templates/security/.DS_Store differ diff --git a/wqflask/flask_security/templates/security/_macros.html b/wqflask/flask_security/templates/security/_macros.html new file mode 100644 index 00000000..8575f3db --- /dev/null +++ b/wqflask/flask_security/templates/security/_macros.html @@ -0,0 +1,16 @@ +{% macro render_field_with_errors(field) %} +
+ {{ field.label }} {{ field(**kwargs)|safe }} + {% if field.errors %} +
{{ field(**kwargs)|safe }}
+{% endmacro %} \ No newline at end of file diff --git a/wqflask/flask_security/templates/security/_menu.html b/wqflask/flask_security/templates/security/_menu.html new file mode 100644 index 00000000..5291f809 --- /dev/null +++ b/wqflask/flask_security/templates/security/_menu.html @@ -0,0 +1,15 @@ +{% if security.registerable or security.recoverable or security.confirmabled %} +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/flask_security/templates/security/email/change_notice.txt b/wqflask/flask_security/templates/security/email/change_notice.txt new file mode 100644 index 00000000..e74bd80d --- /dev/null +++ b/wqflask/flask_security/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/flask_security/templates/security/email/confirmation_instructions.html b/wqflask/flask_security/templates/security/email/confirmation_instructions.html new file mode 100644 index 00000000..5082a9a8 --- /dev/null +++ b/wqflask/flask_security/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/flask_security/templates/security/email/confirmation_instructions.txt b/wqflask/flask_security/templates/security/email/confirmation_instructions.txt new file mode 100644 index 00000000..fb435b55 --- /dev/null +++ b/wqflask/flask_security/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/flask_security/templates/security/email/login_instructions.html b/wqflask/flask_security/templates/security/email/login_instructions.html new file mode 100644 index 00000000..45a7cb57 --- /dev/null +++ b/wqflask/flask_security/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/flask_security/templates/security/email/login_instructions.txt b/wqflask/flask_security/templates/security/email/login_instructions.txt new file mode 100644 index 00000000..1364ed65 --- /dev/null +++ b/wqflask/flask_security/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/flask_security/templates/security/email/reset_instructions.html b/wqflask/flask_security/templates/security/email/reset_instructions.html new file mode 100644 index 00000000..fd0b48d8 --- /dev/null +++ b/wqflask/flask_security/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/flask_security/templates/security/email/reset_instructions.txt b/wqflask/flask_security/templates/security/email/reset_instructions.txt new file mode 100644 index 00000000..91ac288e --- /dev/null +++ b/wqflask/flask_security/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/flask_security/templates/security/email/reset_notice.html b/wqflask/flask_security/templates/security/email/reset_notice.html new file mode 100644 index 00000000..536e2961 --- /dev/null +++ b/wqflask/flask_security/templates/security/email/reset_notice.html @@ -0,0 +1 @@ +Your password has been reset
\ No newline at end of file diff --git a/wqflask/flask_security/templates/security/email/reset_notice.txt b/wqflask/flask_security/templates/security/email/reset_notice.txt new file mode 100644 index 00000000..a3fa0b4b --- /dev/null +++ b/wqflask/flask_security/templates/security/email/reset_notice.txt @@ -0,0 +1 @@ +Your password has been reset \ No newline at end of file diff --git a/wqflask/flask_security/templates/security/email/welcome.html b/wqflask/flask_security/templates/security/email/welcome.html new file mode 100644 index 00000000..55eaed61 --- /dev/null +++ b/wqflask/flask_security/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/flask_security/templates/security/email/welcome.txt b/wqflask/flask_security/templates/security/email/welcome.txt new file mode 100644 index 00000000..fb6ee5b5 --- /dev/null +++ b/wqflask/flask_security/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/flask_security/templates/security/forgot_password.html b/wqflask/flask_security/templates/security/forgot_password.html new file mode 100644 index 00000000..90fcaf66 --- /dev/null +++ b/wqflask/flask_security/templates/security/forgot_password.html @@ -0,0 +1,9 @@ +{% from "security/_macros.html" import render_field_with_errors, render_field %} +{% include "security/_messages.html" %} +