Изменения подтверждения почты
This commit is contained in:
parent
c452467345
commit
cc24f85a82
1 changed files with 11 additions and 7 deletions
|
@ -16,13 +16,15 @@ def create_registration_confirmation_template(
|
|||
|
||||
email.set_content(
|
||||
f"""
|
||||
<!DOCTYPE html>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<title>Pegr</title>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Comfortaa:wght@200&display=swap" rel="stylesheet">
|
||||
<title>Submiting</title>
|
||||
</head>
|
||||
<body>
|
||||
<body style="
|
||||
|
@ -36,15 +38,16 @@ def create_registration_confirmation_template(
|
|||
background-color:#101010;
|
||||
|
||||
font-family: 'Comfortaa';
|
||||
src: url('./fonts/Comfortaa-VariableFont_wght.ttf') format('truetype');
|
||||
font-weight: 1 1000; /* Объявляем диапазон веса шрифта */
|
||||
font-weight: 200;
|
||||
font-style: normal;
|
||||
font-stretch: normal;">
|
||||
font-stretch: normal;
|
||||
font-optical-sizing: auto;">
|
||||
|
||||
<div style="display: flex;
|
||||
flex-direction: column;
|
||||
justify-content:space-around;
|
||||
align-items: center;
|
||||
text-align:center;
|
||||
|
||||
height:500px;
|
||||
aspect-ratio: 1 / 1.44;
|
||||
|
@ -56,7 +59,8 @@ def create_registration_confirmation_template(
|
|||
border-radius: 15px;
|
||||
">
|
||||
|
||||
<h1 style=" color:white;">Код подтверждения для {username}</h1>
|
||||
<h1 style=" color:white;
|
||||
">Код подтверждения, {username}</h1>
|
||||
<div style="border: 1px solid transparent;
|
||||
background:
|
||||
linear-gradient(#101010, #101010) padding-box,
|
||||
|
|
Loading…
Add table
Reference in a new issue