Skip to content

📚 The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

3.9 KB
Raw Blame
<!doctype html>
<html lang="en">

<head>
	<meta charset="UTF-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<title>Set your Alexandrie password</title>
</head>

<body style="
	margin: 0;
	padding: 0;
	background-color: #f4f4f5;
	font-family: Arial, Helvetica, sans-serif;
	color: #18181b;
">
	<table width="100%" cellpadding="0" cellspacing="0" border="0" style="background-color: #f4f4f5; padding: 40px 20px">
		<tr>
			<td align="center">

				<!-- Main container -->
				<table width="100%" cellpadding="0" cellspacing="0" border="0" style="
						max-width: 600px;
						background-color: #ffffff;
						border-radius: 12px;
						overflow: hidden;
					">
					<!-- Header -->
					<tr>
						<td align="center" style="padding: 32px 40px; background-color: #18181b">
							<div style="
								font-size: 28px;
								font-weight: bold;
								color: #ffffff;
							">
								Alexandrie
							</div>
							<img src="{{ .FrontendURL }}/Logo/Alexandrie-logo-dark-crop.png" alt="Alexandrie Logo" style="
								margin-top: 16px;
								width: 48px;
								height: 48px;
							" />
						</td>
					</tr>

					<!-- Content -->
					<tr>
						<td style="padding: 40px">

							<h1 style="
								margin: 0 0 20px;
								font-size: 24px;
								color: #18181b;
							">
								Set your password
							</h1>

							<p style="
								margin: 0 0 16px;
								font-size: 16px;
								line-height: 1.6;
								color: #52525b;
							">
								An app administrator has created an account for you on
								Alexandrie.
							</p>

							<p style="
								margin: 0 0 28px;
								font-size: 16px;
								line-height: 1.6;
								color: #52525b;
							">
								Click the button below to set your password and access your
								account.
							</p>

							<!-- Button -->
							<table cellpadding="0" cellspacing="0" border="0">
								<tr>
									<td align="center" style="
											border-radius: 8px;
											background-color: #6366f1;
										">
										<a href="{{ .ResetURL }}" style="
												display: inline-block;
												padding: 14px 24px;
												font-size: 16px;
												font-weight: bold;
												color: #ffffff;
												text-decoration: none;
											">
											Set my password
										</a>
									</td>
								</tr>
							</table>

							<!-- Username -->
							<div style="
								margin-top: 32px;
								padding: 16px;
								background-color: #f4f4f5;
								border-radius: 8px;
							">
								<p style="
									margin: 0;
									font-size: 14px;
									color: #71717a;
								">
									Your username
								</p>

								<p style="
									margin: 6px 0 0;
									font-size: 16px;
									font-weight: bold;
									color: #18181b;
								">
									{{ .Username }}
								</p>
							</div>

							<!-- Fallback link -->
							<p style="
								margin: 32px 0 0;
								font-size: 13px;
								line-height: 1.5;
								color: #71717a;
							">
								If the button doesn't work, copy and paste this link into your
								browser:
							</p>

							<p style="
								margin: 8px 0 0;
								font-size: 13px;
								word-break: break-all;
							">
								<a href="{{ .ResetURL }}" style="color: #6366f1">
									{{ .ResetURL }}
								</a>
							</p>

						</td>
					</tr>

					<!-- Footer -->
					<tr>
						<td align="center" style="
								padding: 24px 40px;
								background-color: #fafafa;
								border-top: 1px solid #e4e4e7;
							">
							<p style="
								margin: 0;
								font-size: 13px;
								line-height: 1.5;
								color: #71717a;
							">
								If you did not expect this email, you can safely ignore it.
							</p>

							<p style="
								margin: 12px 0 0;
								font-size: 12px;
								color: #a1a1aa;
							">
								© Alexandrie
							</p>
						</td>
					</tr>

				</table>

			</td>
		</tr>
	</table>
</body>

</html>