purchase-report / templates /email_template.html
Gabriel00A's picture
Rename templates/templatesemail_template.html to templates/email_template.html
bb93388 verified
raw
history blame contribute delete
482 Bytes
<!-- 可选:你可以用更漂亮的 HTML 模板替换 process_report 中的内联 HTML -->
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<style>
body{font-family: Arial, Helvetica, sans-serif}
table{border-collapse:collapse}
th,td{border:1px solid #ddd;padding:6px}
th{background:#f3f3f3}
</style>
</head>
<body>
<h3>{{ title }}</h3>
{{ table_html | safe }}
<p>此邮件由系统自动发送。</p>
</body>
</html>