From 014370ea067d3abaef1eddde15bd3fa3fbafd2a3 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Fri, 4 Jan 2019 19:17:04 +0000 Subject: Add email template --- app/templates/emails/base.html | 64 ++++++++++++++++++++++++++++++++++++++++ app/templates/emails/verify.html | 22 ++++++++++---- 2 files changed, 80 insertions(+), 6 deletions(-) create mode 100644 app/templates/emails/base.html (limited to 'app/templates') diff --git a/app/templates/emails/base.html b/app/templates/emails/base.html new file mode 100644 index 0000000..ebdf85a --- /dev/null +++ b/app/templates/emails/base.html @@ -0,0 +1,64 @@ + + + + + + +
+
+

ContentDB

+
+
+ {% block content %} +

{{ subject }}

+ + {{ content | safe }} + {% endblock %} + +
+ ContentDB © rubenwardy +
+
+
+ + diff --git a/app/templates/emails/verify.html b/app/templates/emails/verify.html index a08b174..38d488b 100644 --- a/app/templates/emails/verify.html +++ b/app/templates/emails/verify.html @@ -1,4 +1,7 @@ -

Hello!

+{% extends "emails/base.html" %} + +{% block content %} +

Hello!

This email has been sent to you because someone (hopefully you) @@ -6,12 +9,19 @@

- If this was you, then please click this link to verify the address: - - {{ url_for('verify_email_page', token=token, _external=True) }} - + If it wasn't you, then just delete this email.

- If it wasn't you, then just delete this email. + If this was you, then please click this link to verify the address:

+ + + Confirm Email Address + + +

+ Or paste this into your browser: {{ url_for('verify_email_page', token=token, _external=True) }} +

+ +{% endblock %} -- cgit v1.2.3