From 67441f813917d0a9c6624ec04ddc08d89ec2b3bc Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Wed, 24 Jan 2024 17:29:33 +0100 Subject: Work on chat page --- templates/chat.html | 38 +++++++++++++++++++++++++++++++++++++- templates/dashboard.html | 2 +- templates/head.html | 4 +++- templates/send.html | 14 ++++++++------ 4 files changed, 49 insertions(+), 9 deletions(-) (limited to 'templates') diff --git a/templates/chat.html b/templates/chat.html index 584bde5..8411b01 100644 --- a/templates/chat.html +++ b/templates/chat.html @@ -1,6 +1,42 @@ {% 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 }} +
+
+ {% when None %}{% endmatch %} + {% endfor %} +
+
+
+
+ +
+
+ +
+
+ +
+
+
+
+
{% include "foot.html" %} {# vi:set et sw=2 ts=2: #} diff --git a/templates/dashboard.html b/templates/dashboard.html index a58bec6..029993b 100644 --- a/templates/dashboard.html +++ b/templates/dashboard.html @@ -10,7 +10,7 @@

Ten most recent packets