Files
Oxicloud/templates/magic_link/page_expired_or_used.html
T

30 lines
1.0 KiB
HTML

<!doctype html>
<html lang="{{ locale_code }}">
<head>
<meta charset="utf-8">
<title>OxiCloud</title>
<style>
body { font-family: system-ui, sans-serif; max-width: 560px; margin: 6em auto;
padding: 0 1em; color: #333; line-height: 1.5; }
h1 { font-size: 1.4em; }
.btn { display: inline-block; padding: .7em 1.4em; background: #2563eb; color: #fff;
border-radius: 6px; text-decoration: none; font-weight: 600; margin-top: .4em;
border: 0; cursor: pointer; font-size: 1em; }
.btn:hover { background: #1d4ed8; }
.muted { color: #666; font-size: .9em; margin-top: 2em; }
</style>
</head>
<body>
<h1>{{ title }}</h1>
{%- if let Some(offer) = resend %}
<p>{{ body }}</p>
<form method="post" action="{{ offer.action_url }}">
<button type="submit" class="btn">{{ offer.button_label }}</button>
</form>
{%- else %}
<p>{{ body }}</p>
{%- endif %}
<p class="muted"><a href="/">{{ return_link }}</a></p>
</body>
</html>