summary refs log tree commit diff
path: root/synapse/res/templates/add_threepid.html
diff options
context:
space:
mode:
authorGermain <germain@souquet.com>2022-10-21 18:44:00 +0100
committerGitHub <noreply@github.com>2022-10-21 17:44:00 +0000
commit1d45ad8b2ab1c41dd489ccd581d027077bc917e5 (patch)
tree38056b37a1bfba7e7b086cf82cf9ed2caab48ca0 /synapse/res/templates/add_threepid.html
parentFix logging error on SIGHUP (#14258) (diff)
downloadsynapse-1d45ad8b2ab1c41dd489ccd581d027077bc917e5.tar.xz
Improve aesthetics and reusability of HTML templates. (#13652)
Use a base template to create a cohesive feel across the HTML
templates provided by Synapse.

Adds basic styling to the base template for a more user-friendly
look and feel.
Diffstat (limited to 'synapse/res/templates/add_threepid.html')
-rw-r--r--synapse/res/templates/add_threepid.html22
1 files changed, 8 insertions, 14 deletions
diff --git a/synapse/res/templates/add_threepid.html b/synapse/res/templates/add_threepid.html
index 71f2215b7a..33c883936a 100644
--- a/synapse/res/templates/add_threepid.html
+++ b/synapse/res/templates/add_threepid.html
@@ -1,14 +1,8 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-    <meta charset="UTF-8">
-    <meta http-equiv="X-UA-Compatible" content="IE=edge">
-    <meta name="viewport" content="width=device-width, initial-scale=1.0">
-    <title>Request to add an email address to your Matrix account</title>
-</head>
-<body>
-    <p>A request to add an email address to your Matrix account has been received. If this was you, please click the link below to confirm adding this email:</p>
-    <a href="{{ link }}">{{ link }}</a>
-    <p>If this was not you, you can safely ignore this email. Thank you.</p>
-</body>
-</html>
+{% extends "_base.html" %}
+{% block title %}Request to add an email address to your Matrix account{% endblock %}
+
+{% block body %}
+<p>A request to add an email address to your Matrix account has been received. If this was you, please click the link below to confirm adding this email:</p>
+<a href="{{ link }}">{{ link }}</a>
+<p>If this was not you, you can safely ignore this email. Thank you.</p>
+{% endblock %}