1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-09-17 09:42:14 +03:00
Files
authentication-service/templates/emails/recovery.html
2024-06-28 15:59:21 +02:00

55 lines
1.8 KiB
HTML

{#
Copyright 2024 The Matrix.org Foundation C.I.C.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-#}
{%- set _ = translator(lang) -%}
<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="{{ lang }}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">
a#button:hover { background-color: #3C4045!important; }
a#button:active { background-color: #4C5158!important; }
</style>
</head>
<body style="
color: black;
background-color: white;
font-family: Inter, system-ui, ui-sans-serif, sans-serif;
">
{{ _("mas.emails.recovery.headline", server_name=branding.server_name) }}<br />
<br />
{{ _("mas.emails.recovery.click_button") }}<br />
<br />
<a id="button" href="{{ recovery_link }}" target="_blank" style="
display: inline-block;
transition: background-color 0.1s ease;
font-size: 18px;
font-size: 1.125rem;
font-weight: 600;
color: #FFF;
background-color: #1B1D22;
padding: 16px 32px;
padding: 1rem 2rem;
border-radius: 32px;
border-radius: 2rem;
text-decoration: none;
">{{ _("mas.emails.recovery.create_new_password") }}</a><br />
<br />
{{ _("mas.emails.recovery.you_can_ignore") }}
</body>
</html>