Piotr Dobrowolski | d0920a5 | 2023-11-11 23:51:05 +0100 | [diff] [blame^] | 1 | {% extends "basic.html" %} |
2 | {% block content %} | ||||
3 | <table class="devices"> | ||||
4 | <tr> | ||||
5 | <th>MAC</th> | ||||
6 | <th>IP</th> | ||||
7 | <th>Hostname</th> | ||||
8 | <th>Last seen</th> | ||||
9 | </tr> | ||||
10 | {% for dev in data %} | ||||
11 | <tr><td><code>{{ dev.hwaddr }}</code></td><td>{{ dev.ip }}</td><td>{{ dev.name }}</td><td>{{ dev.atime | strfts }}</td></tr> | ||||
12 | {% endfor %} | ||||
13 | {% endblock %} |