diff options
author | David Baker <dave@matrix.org> | 2016-04-28 17:29:39 +0100 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2016-04-28 17:29:39 +0100 |
commit | 46b5547a4227ec29e0b71e2138a2ebade39724ca (patch) | |
tree | 0da53e6463d5ff9589c2185d8e5e6b0197c0685b /res/templates/notif_mail.html | |
parent | Fix notification link (diff) | |
download | synapse-46b5547a4227ec29e0b71e2138a2ebade39724ca.tar.xz |
Some basic css to make it halfway legible
Diffstat (limited to 'res/templates/notif_mail.html')
-rw-r--r-- | res/templates/notif_mail.html | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/res/templates/notif_mail.html b/res/templates/notif_mail.html index fbfb0a767c..cc3573e65a 100644 --- a/res/templates/notif_mail.html +++ b/res/templates/notif_mail.html @@ -1,15 +1,22 @@ <!doctype html> <html lang="en"> + <head> + <style type="text/css"> + {% include 'mail.css' without context %} + </style> + </head> <body> - <div className="salutation">Hi {{ user_display_name }},</div> - <div className="summarytext">{{ summary_text }}</div> - <div class="content"> - {% for room in rooms %} - {% include 'room.html' with context %} - {% endfor %} - </div> - <div class="footer"> - <a href="{{ unsubscribe_link }}">Unsubscribe</a> + <div id="page"> + <div className="salutation">Hi {{ user_display_name }},</div> + <div className="summarytext">{{ summary_text }}</div> + <div class="content"> + {% for room in rooms %} + {% include 'room.html' with context %} + {% endfor %} + </div> + <div class="footer"> + <a href="{{ unsubscribe_link }}">Unsubscribe</a> + </div> </div> </body> </html> |