mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
<!-- Add the related story/sub-task/bug number, like Resolves #123, or remove if NA --> **Related issue:** Resolves #40609 (maybe, untested) # Checklist for submitter If some of the following don't apply, delete the relevant line. - [ ] Changes file added for user-visible changes in `changes/`, `orbit/changes/` or `ee/fleetd-chrome/changes`. See [Changes files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/guides/committing-changes.md#changes-files) for more information. - [ ] Input data is properly validated, `SELECT *` is avoided, SQL injection is prevented (using placeholders for values in statements) - [ ] If paths of existing endpoints are modified without backwards compatibility, checked the frontend/CLI for any necessary changes ## Testing - [ ] Added/updated automated tests - [ ] Where appropriate, [automated tests simulate multiple hosts and test for host isolation](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/reference/patterns-backend.md#unit-testing) (updates to one hosts's records do not affect another) - [ ] QA'd all new/changed functionality manually For unreleased bug fixes in a release candidate, one of: - [ ] Confirmed that the fix is not expected to adversely impact load test results - [ ] Alerted the release DRI if additional load testing is needed ## Database migrations - [ ] Checked schema for all modified table for columns that will auto-update timestamps during migration. - [ ] Confirmed that updating the timestamps is acceptable, and will not cause unwanted side effects. - [ ] Ensured the correct collation is explicitly set for character columns (`COLLATE utf8mb4_unicode_ci`). ## New Fleet configuration settings - [ ] Setting(s) is/are explicitly excluded from GitOps If you didn't check the box above, follow this checklist for GitOps-enabled settings: - [ ] Verified that the setting is exported via `fleetctl generate-gitops` - [ ] Verified the setting is documented in a separate PR to [the GitOps documentation](https://github.com/fleetdm/fleet/blob/main/docs/Configuration/yaml-files.md#L485) - [ ] Verified that the setting is cleared on the server if it is not supplied in a YAML file (or that it is documented as being optional) - [ ] Verified that any relevant UI is disabled when GitOps mode is enabled ## fleetd/orbit/Fleet Desktop - [ ] Verified compatibility with the latest released version of Fleet (see [Must rule](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/workflows/fleetd-development-and-release-strategy.md)) - [ ] If the change applies to only one platform, confirmed that `runtime.GOOS` is used as needed to isolate changes - [ ] Verified that fleetd runs on macOS, Linux and Windows - [ ] Verified auto-update works from the released version of component to the new version (see [tools/tuf/test](../tools/tuf/test/README.md))
217 lines
6.8 KiB
HTML
217 lines
6.8 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=Inter:wght@400;700&display=swap"
|
|
rel="stylesheet"
|
|
/>
|
|
<style>
|
|
body {
|
|
font-family: "Inter", 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: #009A7D;
|
|
}
|
|
|
|
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-email-dark-friendly-162x92@2x.png"
|
|
style="width: 162px; height: 92px"
|
|
/>
|
|
</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>You have been invited to Fleet!</h1>
|
|
<p>Hello {{.Name}},</p>
|
|
<p>
|
|
<strong style="text-transform: capitalize"
|
|
>{{.InvitedBy}} </strong
|
|
>has invited you to join <strong>{{.OrgName}}</strong>.
|
|
</p>
|
|
<p>
|
|
Please click the button below to accept the invitation and
|
|
set up your account.
|
|
</p>
|
|
|
|
{{if .SSOEnabled}}
|
|
<a
|
|
href="{{.BaseURL}}/login/ssoinvites/{{.Token}}"
|
|
target="_blank"
|
|
style="
|
|
font-weight: 700;
|
|
color: #fff;
|
|
text-decoration: none;
|
|
border-radius: 4px;
|
|
-webkit-border-radius: 4px;
|
|
background-color: #009A7D;
|
|
border-top: 8px solid #009A7D;
|
|
border-bottom: 8px solid #009A7D;
|
|
border-right: 16px solid #009A7D;
|
|
border-left: 16px solid #009A7D;
|
|
display: inline-block;
|
|
"
|
|
>
|
|
Accept invitation
|
|
</a>
|
|
{{else}}
|
|
<a
|
|
href="{{.BaseURL}}/login/invites/{{.Token}}"
|
|
target="_blank"
|
|
style="
|
|
font-weight: 700;
|
|
color: #fff;
|
|
text-decoration: none;
|
|
border-radius: 4px;
|
|
-webkit-border-radius: 4px;
|
|
background-color: #009A7D;
|
|
border-top: 8px solid #009A7D;
|
|
border-bottom: 8px solid #009A7D;
|
|
border-right: 16px solid #009A7D;
|
|
border-left: 16px solid #009A7D;
|
|
display: inline-block;
|
|
"
|
|
>
|
|
Accept invitation
|
|
</a>
|
|
{{end}}
|
|
|
|
<p style="font-size: 14px; color: #515774; padding-top: 32px">
|
|
Please do not reply to this automated message.
|
|
</p>
|
|
|
|
<div
|
|
style="border-bottom: 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://discuss.systems/@Fleet" target="_blank">
|
|
<img
|
|
alt="Mastodon logo"
|
|
style="height: 20px; width: 20px; padding-right: 20px"
|
|
src="{{.AssetURL}}/mastodon-logo-50x40@2x.png"
|
|
/>
|
|
</a>
|
|
<a href="https://twitter.com/fleetctl" target="_blank">
|
|
<img
|
|
alt="X logo"
|
|
style="height: 20px; width: 20px; padding-right: 20px"
|
|
src="{{.AssetURL}}/x-logo-24x24@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>
|