added gitea mail templates
This commit is contained in:
@@ -0,0 +1,112 @@
|
||||
{{.Release.Repo.FullName}}: New release "{{.Release.Title}}" ({{.Release.TagName}})
|
||||
---
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>New Release</title>
|
||||
</head>
|
||||
<body style="margin:0;padding:0;background-color:#E8E8E8;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
|
||||
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="background-color:#E8E8E8;">
|
||||
<tr>
|
||||
<td align="center" style="padding:24px 0;">
|
||||
<!-- Container -->
|
||||
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="600" style="max-width:600px;width:100%;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,0.08);">
|
||||
<!-- Header -->
|
||||
<tr>
|
||||
<td align="center" style="background-color:#FFFFFF;padding:28px 24px;border-bottom:3px solid #A58B5D;">
|
||||
<img src="https://biters.it/wp-content/uploads/2023/03/brand-1-2.png" alt="Biters" width="160" height="auto" style="display:block;margin:0 auto;border:0;outline:none;">
|
||||
</td>
|
||||
</tr>
|
||||
<!-- Body -->
|
||||
<tr>
|
||||
<td style="background-color:#FFFFFF;padding:24px;">
|
||||
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:20px;">
|
||||
<tr>
|
||||
<td style="font-size:20px;font-weight:700;color:#1A2A48;padding-bottom:4px;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
|
||||
Nuova Release
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size:14px;color:#555555;line-height:1.5;padding-bottom:16px;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
|
||||
<strong style="color:#1A2A48;">{{.Release.Publisher.Name}}</strong> ha pubblicato una nuova release per <strong>{{.Release.Repo.FullName}}</strong>.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- Release info card -->
|
||||
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:20px;background-color:#F8F9FA;border-left:4px solid #A58B5D;border-radius:0 4px 4px 0;">
|
||||
<tr>
|
||||
<td style="padding:16px 20px;">
|
||||
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%">
|
||||
<tr>
|
||||
<td style="font-size:18px;font-weight:700;color:#1A2A48;padding-bottom:4px;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">{{.Release.Title}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size:13px;color:#888888;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
|
||||
Tag: <code style="background-color:#E8E8E8;padding:2px 6px;border-radius:3px;font-size:12px;color:#1A2A48;">{{.Release.TagName}}</code>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- Release notes -->
|
||||
{{if .Release.Note}}
|
||||
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:20px;">
|
||||
<tr>
|
||||
<td style="font-size:13px;font-weight:600;color:#888888;text-transform:uppercase;letter-spacing:1px;padding-bottom:8px;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">Release Notes</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size:14px;color:#333333;line-height:1.6;padding:12px 16px;background-color:#FAFAFA;border-radius:4px;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
|
||||
{{.Release.Note}}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{{end}}
|
||||
<!-- Download links -->
|
||||
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:20px;">
|
||||
<tr>
|
||||
<td style="font-size:13px;font-weight:600;color:#888888;text-transform:uppercase;letter-spacing:1px;padding-bottom:8px;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">Download</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size:14px;color:#333333;line-height:2.0;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">
|
||||
📦 <a href="{{.Release.TarURL}}" style="color:#A58B5D;text-decoration:none;">Source Code (tar.gz)</a><br>
|
||||
📦 <a href="{{.Release.ZipURL}}" style="color:#A58B5D;text-decoration:none;">Source Code (zip)</a>
|
||||
{{range .Release.Attachments}}<br>📎 <a href="{{.DownloadURL}}" style="color:#A58B5D;text-decoration:none;">{{.Name}} ({{.Size}})</a>{{end}}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- CTA Button -->
|
||||
<table role="presentation" cellpadding="0" cellspacing="0" border="0" width="100%">
|
||||
<tr>
|
||||
<td align="center" style="padding:8px 0;">
|
||||
<a href="{{.Release.HTMLURL}}" style="display:inline-block;background-color:#FFFFFF;color:#1A2A48;text-decoration:none;font-size:14px;font-weight:600;padding:12px 32px;border-radius:6px;border:2px solid #A58B5D;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;">Visualizza Release</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- Footer -->
|
||||
<tr>
|
||||
<td align="center" style="background-color:#F0F0F0;padding:24px;">
|
||||
<table role="presentation" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td align="center" style="padding-bottom:10px;">
|
||||
<img src="https://biters.it/wp-content/uploads/2023/06/Logo-Biters-Negativo-Bianco-e-Nero-1-854x1024.png" alt="Biters" width="40" height="auto" style="display:block;margin:0 auto;border:0;outline:none;opacity:0.4;">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" style="font-size:12px;color:#888888;font-family:system-ui,-apple-system,sans-serif;">
|
||||
Powered by <a href="https://biters.it" style="color:#A58B5D;text-decoration:none;font-weight:600;">Biters</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user