improve email: add <!doctype html>, use Hi {name} greeting

This commit is contained in:
Son NK 2019-11-20 21:04:22 +01:00
parent 837e1ffcf6
commit a33a581685
8 changed files with 15 additions and 8 deletions

View File

@ -5,6 +5,7 @@ from sqlalchemy_utils import create_database, database_exists, drop_database
from app.config import DB_URI
from app.models import *
from server import create_app
from app import email_utils
def create_db():

View File

@ -1,4 +1,5 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<!doctype html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0;">
@ -96,7 +97,7 @@ a, a:hover {
padding-top: 25px;
color: #000000;
font-family: sans-serif;" class="paragraph">
Welcome to SimpleLogin {{name}}!
Hi {{name}}!
</td>
</tr>

View File

@ -1,4 +1,4 @@
Welcome to SimpleLogin {{name}}!
Hi {{name}}!
Our mission is to protect our online identity. This should be *simple*.

View File

@ -1,4 +1,5 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<!doctype html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0;">

View File

@ -1,4 +1,5 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<!doctype html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0;">

View File

@ -1,4 +1,5 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<!doctype html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0;">

View File

@ -1,4 +1,5 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<!doctype html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0;">

View File

@ -1,4 +1,5 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<!doctype html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0;">