57 lines
3.6 KiB
Cheetah
57 lines
3.6 KiB
Cheetah
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<meta name="x-apple-disable-message-reformatting" />
|
|
<title>{{AppName}} - Team Invitation</title>
|
|
<style type="text/css">
|
|
body,.ExternalClass,.ReadMsgBody{background-color:#fafafa}
|
|
@media only screen and (max-width:480px){
|
|
.resp-pad{padding-left:16px!important;padding-right:16px!important}
|
|
.resp-full{width:100%!important;display:block!important}
|
|
.resp-hide{display:none!important}
|
|
.resp-btn{display:block!important;width:auto!important}
|
|
.resp-heading{font-size:22px!important}
|
|
}
|
|
</style>
|
|
</head>
|
|
<body style="margin:0;padding:0;background:#fafafa;font-family:system-ui,-apple-system,sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;">
|
|
<center style="width:100%;table-layout:fixed;">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0" style="max-width:600px;background:#fff;border:2px solid #000;">
|
|
<!-- header -->
|
|
<tr><td class="resp-pad" style="padding:24px 32px 0;">
|
|
<span style="font-size:14px;font-weight:900;color:#000;letter-spacing:-0.5px;text-transform:uppercase;">{{AppName}}<span style="color:#e03131;margin-left:4px;">*</span></span>
|
|
</td></tr>
|
|
<!-- split: left 60% content, right 40% whitespace -->
|
|
<tr><td class="resp-pad" style="padding:0 32px 0;">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="resp-full" width="60%" style="padding:32px 0 0;">
|
|
<p class="resp-heading" style="margin:0 0 32px;font-size:28px;font-weight:900;color:#000;line-height:1.1;letter-spacing:-1px;">{{.locale.Tr "mail.hi_user_x" .Invite.Email}}</p>
|
|
<p style="margin:0 0 8px;font-size:13px;line-height:1.8;color:#333;font-weight:500;">{{.locale.Tr "mail.team_invite.text_1" (DotEscape .Inviter.DisplayName) (DotEscape .Team.Name) (DotEscape .Organization.DisplayName)}}</p>
|
|
<p style="margin:0 0 32px;font-size:12px;line-height:1.8;color:#888;border-left:2px solid #e03131;padding-left:12px;">{{.locale.Tr "mail.team_invite.text_2"}}</p>
|
|
</td>
|
|
<td class="resp-hide" width="40%" style="padding:32px 0 0 0;vertical-align:top;"></td>
|
|
</tr>
|
|
</table>
|
|
</td></tr>
|
|
<!-- button -->
|
|
<tr><td class="resp-pad" style="padding:0 32px 24px;">
|
|
|
|
<table border="0" cellpadding="0" cellspacing="0"><tr><td style="border:2px solid #000;padding:14px 32px;">
|
|
<a href="{{.InviteURL}}" class="resp-btn" style="display:inline-block;font-size:14px;font-weight:900;color:#000;text-decoration:none;letter-spacing:-0.3px;">ACTIVATE</a>
|
|
</td></tr></table>
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0" style="margin:24px 0 0;"><tr><td style="padding:12px 16px;background:#f5f5f5;border:1px solid #ccc;">
|
|
<p style="margin:0 0 6px;font-size:11px;color:#888;">{{.locale.Tr "mail.link_not_working_do_paste"}}</p>
|
|
<p style="margin:0;font-size:11px;font-family:monospace;color:#000;background:#fff;padding:8px 10px;border:1px solid #000;word-break:break-all;">{{.InviteURL}}</p>
|
|
</td></tr></table>
|
|
</td></tr>
|
|
<!-- footer -->
|
|
<tr><td style="padding:16px 32px;border-top:2px solid #000;">
|
|
<p style="margin:0;font-size:11px;color:#888;"><a href="{{AppUrl}}" style="color:#e03131;text-decoration:underline;font-weight:600;">{{AppName}}</a> — Gitea Mail Templates</p>
|
|
</td></tr>
|
|
</table>
|
|
</center>
|
|
</body>
|
|
</html> |