mitmproxy/libpathod/templates/log.html
2012-06-21 16:54:49 +12:00

29 lines
779 B
HTML

{% extends "frame.html" %}
{% block body %}
<form style="float: right" method="POST" action="/log/clear">
<button type="submit" class="btn">clear</button>
</form>
<h1> Logs </h1>
<hr>
<table class="table table-striped table-condensed">
<thead>
<tr>
<th>id</th>
<th>method</th>
<th>path</th>
</tr>
</thead>
<tbody>
{% for i in log %}
<tr>
<td>{{ i["id"] }}</td>
<td>{{ i["request"]["method"] }}</td>
<td><a href="/log/{{ i["id"] }}">{{ i["request"]["path"] }}</a></td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}