summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--res/templates/notif.html14
-rw-r--r--res/templates/room.html6
2 files changed, 20 insertions, 0 deletions
diff --git a/res/templates/notif.html b/res/templates/notif.html
new file mode 100644
index 0000000000..648ff034b3
--- /dev/null
+++ b/res/templates/notif.html
@@ -0,0 +1,14 @@
+<!doctype html>
+<html lang="en">
+  <body>
+    <h1>{{ summaryText }}</h1>
+    <div class="content">
+        {% for room in rooms %}
+            {% include 'room.html' with context %}
+        {% endfor %}
+    </div>
+    <div class="footer">
+        <a href="{{ unsubscribe_link }}">Unsubscribe</a>
+    </div>
+  </body>
+</html>
diff --git a/res/templates/room.html b/res/templates/room.html
new file mode 100644
index 0000000000..ef36b4ee58
--- /dev/null
+++ b/res/templates/room.html
@@ -0,0 +1,6 @@
+<div class="room">
+  <h2>{{ room.title }}</h2>
+  <div>
+    Things have happened in this room
+  </div>
+</div>