Files
dify/api/templates/clean_document_job_mail_template-US.html
2025-07-22 16:49:50 +08:00

142 lines
3.8 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Documents Disabled Notification</title>
<style>
body {
font-family: 'Arial', sans-serif;
line-height: 16pt;
color: #374151;
background-color: #E5E7EB;
margin: 0;
padding: 0;
}
.container {
width: 504px;
min-height: 638px;
margin: 40px auto;
padding: 0 48px;
background-color: #fcfcfd;
border-radius: 16px;
border: 1px solid #ffffff;
box-shadow: 0px 3px 10px -2px rgba(9, 9, 11, 0.08), 0px 2px 4px -2px rgba(9, 9, 11, 0.06);
}
.header {
padding-top: 36px;
padding-bottom: 24px;
}
.header img {
max-width: 63px;
height: auto;
}
.title {
margin: 0;
padding-top: 8px;
padding-bottom: 16px;
color: #101828;
font-size: 24px;
font-family: Inter;
font-style: normal;
font-weight: 600;
line-height: 120%; /* 28.8px */
}
.button {
display: block;
padding: 8px 12px;
color: white;
text-decoration: none;
border-radius: 10px;
text-align: center;
transition: background-color 0.3s ease;
border: 0.5px solid rgba(16, 24, 40, 0.04);
background-color: #155AEF;
box-shadow: 0px -6px 12px -4px rgba(9, 9, 11, 0.08) inset, 0px 0px 1px 0px rgba(255, 255, 255, 0.16) inset, 0px 0.5px 0px 0px rgba(255, 255, 255, 0.08) inset, 0px 2px 2px -1px rgba(0, 0, 0, 0.12), 0px 1px 1px -1px rgba(0, 0, 0, 0.12), 0px 0px 0px 0.5px rgba(9, 9, 11, 0.05);
font-family: Inter;
font-size: 14px;
font-style: normal;
font-weight: 600;
line-height: 20px; /* 142.857% */
}
.button:hover {
background-color: #004AEB;
border: 0.5px solid rgba(16, 24, 40, 0.08);
box-shadow: 0px 1px 2px 0px rgba(9, 9, 11, 0.05);
}
.content {
color: #354052;
font-family: Inter;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 20px; /* 142.857% */
letter-spacing: -0.07px;
}
.content1 {
margin: 0;
padding-top: 24px;
padding-bottom: 12px;
font-weight: 500;
}
.content2 {
margin: 0;
padding-bottom: 12px;
}
.list {
margin: 0;
margin-bottom: 20px;
padding: 16px 24px;
border-radius: 16px;
background-color: #F2F4F7;
list-style-type: none;
color: #354052;
font-family: Inter;
font-size: 14px;
font-style: normal;
font-weight: 500;
line-height: 20px; /* 142.857% */
letter-spacing: -0.07px;
}
.list li {
margin-bottom: 4px;
}
.list li:last-of-type {
margin-bottom: 0px;
}
</style>
</head>
<body>
<div class="container">
<!-- Header -->
<div class="header">
<img src="https://assets.dify.ai/images/logo.png" alt="Dify Logo">
</div>
<!-- Content -->
<h1 class="title">Some Documents in Your Knowledge Base Have Been Disabled</h1>
<div class="content">
<p class="content1">Dear {{userName}},</p>
<p class="content2">
We're sorry for the inconvenience. To ensure optimal performance, documents
that havent been updated or accessed in the past 30 days have been disabled in
your knowledge bases:
</p>
<ul class="list">
{% for item in knowledge_details %}
<li>{{ item }}</li>
{% endfor %}
</ul>
<p class="content2">You can re-enable them anytime.</p>
<p style="text-align: center; margin: 0; margin-bottom: 44px;">
<a href={{url}} class="button">Re-enable in Dify</a>
</p>
<p class="content2">Best regards,</p>
<p class="content2">Dify Team</p>
</div>
</div>
</body>
</html>