Added self updating firehose.html and chat.html

This commit is contained in:
Pablo Revilla
2025-05-22 15:50:47 -07:00
parent 960a18586d
commit 0c443dde25
3 changed files with 1 additions and 13 deletions
-6
View File
@@ -1,6 +0,0 @@
<div class="row chat-packet">
<span class="col-2 timestamp">{{packet.import_time.strftime('%-I:%M:%S %p - %m-%d-%Y')}} </span>
<span class="col-1 timestamp"><a href="/packet/{{packet.id}}">✉️</a> {{packet.from_node.channel}}</span>
<span class="col-2 username"><a href="/packet_list/{{packet.from_node_id}}">{{packet.from_node.long_name or (packet.from_node_id | node_id_to_hex) }}</a></span>
<span class="col-6 message">{{packet.payload}}</span>
</div>
-6
View File
@@ -1,6 +0,0 @@
<div class="row chat-packet">
<span class="col-2 timestamp">{{packet.import_time.strftime('%-I:%M:%S %p - %m-%d-%Y')}} </span>
<span class="col-1 timestamp"><a href="/packet/{{packet.id}}">✉️</a> {{packet.from_node.channel}}</span>
<span class="col-2 username"><a href="/packet_list/{{packet.from_node_id}}">{{packet.from_node.long_name or (packet.from_node_id | node_id_to_hex) }}</a></span>
<span class="col-6 message">{{packet.payload}}</span>
</div>
+1 -1
View File
@@ -409,7 +409,7 @@ async def firehose_updates(request):
packets = await store.get_packets(
portnum=portnum,
limit=20,
limit=10,
)
ui_packets = [Packet.from_model(p) for p in packets]