From df4b62f2a1aa616e4038b1511b2e38cd956e6423 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Wed, 24 Jan 2024 22:25:00 +0100 Subject: Get Chat window working --- templates/chat.html | 27 +++++++++++++-------------- templates/head.html | 2 +- 2 files changed, 14 insertions(+), 15 deletions(-) (limited to 'templates') diff --git a/templates/chat.html b/templates/chat.html index 8411b01..f68b1da 100644 --- a/templates/chat.html +++ b/templates/chat.html @@ -1,34 +1,33 @@ {% include "head.html" %}

Chat

-
+
-
+
{% for packet in packets %} {% match packet.comment %}{% when Some with (comment) %}
-
{{ packet.received_at_iso()|e }}
-
{{ packet.from_callsign|e }}-{{ packet.from_ssid|e }}
-
{{ comment|e }} -
+
{{ packet.received_at_iso()|e }}
+
{{ packet.from_callsign|e }}-{{ packet.from_ssid|e }}
+
{{ comment|e }}
{% when None %}{% endmatch %} {% endfor %}
-
-
+
+
- +
- +
diff --git a/templates/head.html b/templates/head.html index fd0afe4..aabc380 100644 --- a/templates/head.html +++ b/templates/head.html @@ -7,7 +7,7 @@ {% for js in page.styles() %} - + {% endfor %} -- cgit v1.2.3