The previous commit incorrectly removed the watermark — only the
style extraction into <style> blocks was requested. Restores the
watermark <img>, {{watermarkUrl}} placeholder resolution in both
EmailConnectorService and PasswordResetNotificationService, and
the corresponding test assertions.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
55 lines
2.9 KiB
HTML
55 lines
2.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<title>Your Cameleer sign-in code</title>
|
|
<style>
|
|
body { margin:0; padding:0; background:#f5f1eb; }
|
|
.wrapper { font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif; max-width:480px; margin:0 auto; background:#fff; border-radius:8px; overflow:hidden; border:1px solid #e8e0d4; }
|
|
.header { background:#C6820E; padding:20px 24px; text-align:center; }
|
|
.header span { font-size:22px; font-weight:700; color:#fff; letter-spacing:0.5px; }
|
|
.content { padding:32px 24px 24px; position:relative; overflow:hidden; }
|
|
.watermark { position:absolute; top:-30px; right:-50px; width:320px; height:320px; opacity:0.07; pointer-events:none; border:0; outline:none; }
|
|
.inner { position:relative; }
|
|
.title { color:#1a1a1a; font-size:16px; font-weight:600; margin:0 0 8px; }
|
|
.subtitle { color:#444; font-size:14px; line-height:1.6; margin:0 0 24px; }
|
|
.code-box { text-align:center; margin:0 0 24px; }
|
|
.code-box div { display:inline-block; background:#FDF6EC; border:2px solid #C6820E; border-radius:8px; padding:16px 32px; }
|
|
.code-box span { font-size:32px; font-weight:700; letter-spacing:8px; color:#C6820E; font-family:'Courier New',Courier,monospace; }
|
|
.hint { color:#888; font-size:13px; line-height:1.5; margin:0 0 16px; }
|
|
.detail { color:#888; font-size:13px; line-height:1.5; margin:0; }
|
|
.footer { border-top:1px solid #e8e0d4; padding:16px 24px; text-align:center; }
|
|
.footer p { margin:0; }
|
|
.footer .contact { color:#999; font-size:12px; }
|
|
.footer .tagline { color:#bbb; font-size:11px; margin-top:6px; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="wrapper">
|
|
<div class="header">
|
|
<span>Cameleer.io</span>
|
|
</div>
|
|
<div class="content">
|
|
<img src="{{watermarkUrl}}" class="watermark" alt="" />
|
|
<div class="inner">
|
|
<p class="title">Back at the oasis already?</p>
|
|
<p class="subtitle">Here's your sign-in code. The caravan master is checking credentials.</p>
|
|
<div class="code-box">
|
|
<div>
|
|
<span>{{code}}</span>
|
|
</div>
|
|
</div>
|
|
<p class="hint">This code expires in 10 minutes.</p>
|
|
<p class="detail">You are receiving this email because a sign-in attempt was made on your Cameleer account. Cameleer is an observability platform for Apache Camel integrations providing real-time route tracing, message inspection, and performance monitoring. If you did not initiate this sign-in, please ignore this email or contact your administrator.</p>
|
|
</div>
|
|
</div>
|
|
<div class="footer">
|
|
<p class="contact">Questions? Contact your administrator</p>
|
|
<p class="tagline">Cameleer — Apache Camel observability</p>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|