blob: ec8003b6e9b2254c61fb33e96386d82c64a49b8a [file] [log] [blame]
{% extends 'index.html' %}
{% block body %}
<a href='/'>&larr; Index</a><p>
Filename: {{blob.filename}}<p>
Size: {{'%.2f' % (blob.size/1e6)}} Mbytes<p>
<form action="/save/{{blob.key()}}" method="POST">
<table>
<tr>
<th>Show?</th>
<th>Pkts</th>
<th>MAC Addr</th>
<th>Alias</th>
</tr>
{% for b, n in boxes %}
<tr>
<td><input type='checkbox' name='show-{{b}}'
{{'checked' if checked.get(b) else ''}} /></td>
<td>{{n}}</td>
<td>{{b}}</td>
<td><input name='name-{{b}}' value='{{aliases.get(b, "")}}' /></td>
</tr>
{% end %}
<tr>
<td><input type='checkbox' name='show-other' /></td>
<td>{{other}}</td>
<td>(other)</td>
<td></td>
</tr>
</table>
<input type='submit' value='Save and View' style='margin: 1em' />
</form>
{% end %}