aboutsummaryrefslogtreecommitdiffstats
path: root/templates/dashboard.html
blob: be176c43459d0820c0a2d08abf8324007341164b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{% include "head.html" %}
<div class="">
  <h1>Dashboard</h1>
  <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: #}