mirror of
https://github.com/fleetdm/fleet
synced 2026-05-16 21:48:48 +00:00
Related to #15758 Changes: - Updated the copyright year in email templates to be set to the current year when the email is sent. Testing steps: 1. Configure a local Fleet instance to send emails to Mailpit 2. Activate SMTP to send a test email. 3. Invite a new user to the Fleet instance. 4. Change the email address of a user. 5. Log out of the Fleet instance and send a password reset email. 6. Go to the Mailpit dashboard and look at the copyright years in the emails sent by the Fleet instance
156 lines
4.5 KiB
HTML
156 lines
4.5 KiB
HTML
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" />
|
|
<link
|
|
href="https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700&display=swap"
|
|
rel="stylesheet"
|
|
/>
|
|
<style>
|
|
body {
|
|
font-family: "Nunito Sans", sans-serif;
|
|
margin: 0;
|
|
}
|
|
|
|
h1 {
|
|
font-weight: 700;
|
|
font-size: 24px;
|
|
line-height: 32px;
|
|
margin: 0;
|
|
padding-bottom: 32px;
|
|
}
|
|
|
|
p {
|
|
font-size: 16px;
|
|
line-height: 22px;
|
|
margin: 0;
|
|
padding-bottom: 32px;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: #6A67FE;
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: none;
|
|
}
|
|
|
|
@media only screen and (max-device-width: 480px) {
|
|
table {
|
|
width: 100% !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
td {
|
|
width: 100% !important;
|
|
padding: 20px !important;
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
<body style="color: #192147">
|
|
<table
|
|
align="center"
|
|
border="0"
|
|
cellpadding="0"
|
|
cellspacing="0"
|
|
height="100%"
|
|
width="100%"
|
|
bgcolor="#F9FAFC"
|
|
style="
|
|
background: #f9fafc;
|
|
font-family: 'Nunito Sans', sans-serif;
|
|
border-collapse: collapse;
|
|
"
|
|
>
|
|
<tr>
|
|
<td valign="top" align="center">
|
|
<table
|
|
width="580"
|
|
align="center"
|
|
cellpadding="0"
|
|
cellspacing="0"
|
|
bgcolor="#ffffff"
|
|
style="margin: 20px 20px; border: 1px solid #E2E4EA; border-radius: 8px;"
|
|
>
|
|
<tr>
|
|
<td
|
|
colspan="2"
|
|
bgcolor="#ffffff"
|
|
style="
|
|
padding-top: 40px;
|
|
padding-left: 48px;
|
|
font-family: 'Nunito Sans', sans-serif;
|
|
border-radius: 8px 8px 0px 0px
|
|
"
|
|
>
|
|
<a href="https://fleetdm.com" target="_blank">
|
|
<img
|
|
alt="Fleet logo"
|
|
src="{{.AssetURL}}/fleet-logo-blue-118x41@2x.png"
|
|
style="height: 41px; width: 118px"
|
|
/>
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td
|
|
colspan="2"
|
|
style="
|
|
padding-top: 48px;
|
|
padding-bottom: 48px;
|
|
padding-left: 48px;
|
|
padding-right: 48px;
|
|
font-family: 'Nunito Sans', sans-serif;
|
|
"
|
|
>
|
|
<h1>Fleet SMTP setup confirmed</h1>
|
|
<p>This message confirms that SMTP is set up properly <a href="{{.BaseURL}}">on your Fleet instance</a>.</p>
|
|
<div
|
|
style="
|
|
border-top: 1px solid #e2e4ea;
|
|
padding-top: 32px;
|
|
"
|
|
></div>
|
|
<div style="padding-top: 32px; padding-bottom: 32px">
|
|
<a href="https://github.com/fleetdm/fleet" target="_blank">
|
|
<img
|
|
alt="Fleet logo"
|
|
style="height: 20px; width: 20px; padding-right: 20px"
|
|
src="{{.AssetURL}}/fleet-mark-color-40x40@2x.png"
|
|
/>
|
|
</a>
|
|
<a href="https://twitter.com/fleetctl" target="_blank">
|
|
<img
|
|
alt="Twitter logo"
|
|
style="height: 20px; width: 25px; padding-right: 20px"
|
|
src="{{.AssetURL}}/twitter-logo-50x40@2x.png"
|
|
/>
|
|
</a>
|
|
<a
|
|
href="https://fleetdm.com/support"
|
|
target="_blank"
|
|
>
|
|
<img
|
|
alt="Slack logo"
|
|
style="height: 20px; width: 20.5px; padding-right: 20px"
|
|
src="{{.AssetURL}}/slack-logo-41x40@2x.png"
|
|
/>
|
|
</a>
|
|
</div>
|
|
<p style="font-size: 12px; line-height: 16px; padding: 0;">
|
|
© {{.CurrentYear}} Fleet Device Management Inc. <br />
|
|
All trademarks, service marks, and company names are the
|
|
property of their respective owners.
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<br />
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html>
|