Use logo1.png in emails, inline mail_style.css, attach summary as MD
Mirror and run GitLab CI / build (push) Has been cancelled
Ruff / ruff (push) Has been cancelled

This commit is contained in:
admin
2026-06-14 15:24:08 +00:00
parent 917a7b8f2f
commit fb1dc3324d
5 changed files with 66 additions and 190 deletions
+4 -60
View File
@@ -4,71 +4,15 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Transcript Ready</title>
<link rel="stylesheet" type="text/css" href="{css_path}">
<style>
body {{
font-family: Arial, sans-serif;
line-height: 1.5;
background-color: #ffffff;
color: #333;
margin: 0;
padding: 20px;
}}
.container {{
width: 100%;
max-width: 600px;
margin: 0 auto;
padding: 20px;
border: 1px solid #ddd;
border-radius: 5px;
}}
h1 {{
font-size: 1.5em;
margin-top: 0;
}}
p {{
margin: 10px 0;
font-size: 1em;
}}
.error-message, .success-message {{
padding: 10px 0;
margin-bottom: 15px;
font-size: 1em;
}}
.error-message {{
color: #721c24;
}}
.success-message {{
color: #7C6DA0;
}}
.contact {{
margin-top: 15px;
font-size: 1em;
color: #333;
}}
.contact a {{
color: #0056b3;
text-decoration: none;
}}
.contact a:hover {{
text-decoration: underline;
}}
.disclaimer {{
margin-top: 20px;
font-size: 1em;
color: #333;
}}
.signature {{
margin-top: 20px;
font-size: 1em;
color: #333;
}}
{email_css}
</style>
</head>
<body>
<div class="container">
<h1 style="color: #7C6DA0;">Transcript Ready</h1>
<p>Dear user:</p>
{email_logo}
<h1>Transcript Ready</h1>
<p>Dear user,</p>
<p>Your file has been successfully processed, and the transcript is now ready. The transcript of your audio or video file is attached to this email.</p>
<p>We hope you find the transcript useful. If you have any questions or need further assistance, please do not hesitate to contact our support team.</p>
<div class="contact">