diff options
author | Germain <germain@souquet.com> | 2022-10-21 18:44:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-21 17:44:00 +0000 |
commit | 1d45ad8b2ab1c41dd489ccd581d027077bc917e5 (patch) | |
tree | 38056b37a1bfba7e7b086cf82cf9ed2caab48ca0 /synapse/res/templates/account_renewed.html | |
parent | Fix logging error on SIGHUP (#14258) (diff) | |
download | synapse-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/account_renewed.html')
-rw-r--r-- | synapse/res/templates/account_renewed.html | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/synapse/res/templates/account_renewed.html b/synapse/res/templates/account_renewed.html index 57b319f375..18a57833f1 100644 --- a/synapse/res/templates/account_renewed.html +++ b/synapse/res/templates/account_renewed.html @@ -1,12 +1,6 @@ -<!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>Your account has been successfully renewed and is valid until {{ expiration_ts|format_ts("%d-%m-%Y") }}.</title> -</head> -<body> - Your account has been successfully renewed and is valid until {{ expiration_ts|format_ts("%d-%m-%Y") }}. -</body> -</html> \ No newline at end of file +{% extends "_base.html" %} +{% block title %}Your account has been successfully renewed and is valid until {{ expiration_ts|format_ts("%d-%m-%Y") }}.{% endblock %} + +{% block body %} +<p>Your account has been successfully renewed and is valid until {{ expiration_ts|format_ts("%d-%m-%Y") }}.</p> +{% endblock %} |