blob: fa899baa83aeb602818d8621cbb94902eb43b068 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{% include "head.html" %}
<div class="">
<h1>Dashboard</h1>
<div>
<h2>Statistics</h2>
<p>This node is up since {{ node_startup_time }}</p>
<p>Database contains {{ num_received_frames }} received frames</p>
</div>
<div>
<h2>Ten most recent packets</h2>
<ul>
{% for packet in packets %}
<li>{{ packet.received_at|e }} <b>{{ packet.from_callsign|e }}-{{ packet.from_ssid|e }}</b>
{% match packet.comment %}{% when Some with (val) %}{{ val|e }}{% when None %}N/A{% endmatch %}
</li>
{% endfor %}
</ul>
</div>
</div>
{% include "foot.html" %}
{# vi:set et sw=2 ts=2: #}
|